POST Package/ChangeStatus
Request Information
URI Parameters
None.
Body Parameters
PackageChangeStatus| Name | Description | Type | Additional information |
|---|---|---|---|
| PackageID | integer |
None. |
|
| CourierID | integer |
None. |
|
| Status | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"PackageID": 1,
"CourierID": 2,
"Status": 3
}
application/xml, text/xml
Sample:
<PackageModels.PackageChangeStatus xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DeliveriGoRestAPI.Models"> <CourierID>2</CourierID> <PackageID>1</PackageID> <Status>3</Status> </PackageModels.PackageChangeStatus>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
GeneralResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| success | boolean |
None. |
|
| message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"success": true,
"message": "sample string 2"
}
application/xml, text/xml
Sample:
<CourierModels.GeneralResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DeliveriGoRestAPI.Models"> <message>sample string 2</message> <success>true</success> </CourierModels.GeneralResponse>