POST api/v2/news/deleteNews
Request Information
URI Parameters
None.
Body Parameters
NewsDeleteBindingModel| Name | Description | Type | Additional information |
|---|---|---|---|
| NewsId | globally unique identifier |
None. |
|
| TenantId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"NewsId": "36b14f52-054a-4f32-94b7-f9a42baf5529",
"TenantId": "fdd0b906-8768-4dc0-9b50-920679e1c335"
}
application/xml, text/xml
Sample:
<NewsDeleteBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FormulaCertaAPI.Models.v2.BindingModels"> <NewsId>36b14f52-054a-4f32-94b7-f9a42baf5529</NewsId> <TenantId>fdd0b906-8768-4dc0-9b50-920679e1c335</TenantId> </NewsDeleteBindingModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
NewsDeleteResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Succeeded | boolean |
None. |
|
| Errors | Collection of string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Succeeded": true,
"Errors": [
"sample string 1",
"sample string 2"
]
}
application/xml, text/xml
Sample:
<NewsDeleteResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FormulaCertaAPI.Models.v2.Result">
<Errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/FormulaCertaAPI.Models">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</Errors>
<Succeeded xmlns="http://schemas.datacontract.org/2004/07/FormulaCertaAPI.Models">true</Succeeded>
</NewsDeleteResult>