Delete All Collections
URL: |
|
HTTP POST REQUEST
Note: the request structure below is for Method #1: Name/Value Pair (NVP) + JSON String. For Method #2: Custom Header + JSON Body, please refer to the json parameter only.
Field | Description |
date | The collection date. Format: YYYY-MM-DD e.g. 2014-02-28. Required field. |
HTTP POST RESPONSE (JSON)
Field | Description |
status | The status of the request. The value will be βokβ if request is processed successfully or βfailedβ if the key or json parameter is missing. |
failed | The number of collections that are not deleted due to error. |
deleted | The number of collections that deleted. |
SAMPLE REQUEST JSON
{
"date":"2014-02-13"
}SAMPLE RESPONSE JSON #1
{
"info":{
"status":"ok",
"failed":0,
"deleted":2
}
}SAMPLE RESPONSE JSON #2
{
"info":{
"status":"ok",
"failed":0,
"deleted":0
}
}