POST api/DeleteBatch
Request Information
URI Parameters
None.
Body Parameters
DeleteBatchRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Type | DeleteBatchType |
None. |
|
| Elements | Collection of integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Type": 0,
"Elements": [
1,
2
]
}
application/xml, text/xml
Sample:
<DeleteBatchRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AmminixtraCommon">
<Elements xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</Elements>
<Type>Entities</Type>
</DeleteBatchRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
DeleteBatchResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| Error | string |
None. |
|
| DeletedElements | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"Error": "sample string 2",
"DeletedElements": 3
}
application/xml, text/xml
Sample:
<DeleteBatchResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AmminixtraCommon"> <DeletedElements>3</DeletedElements> <Error>sample string 2</Error> <Success>true</Success> </DeleteBatchResponse>