POST Package/ChangeLocation
Request Information
URI Parameters
None.
Body Parameters
PackageLocationEdit| Name | Description | Type | Additional information |
|---|---|---|---|
| PackageID | integer |
None. |
|
| CourierID | integer |
None. |
|
| Latitude | string |
None. |
|
| Longitude | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"PackageID": 1,
"CourierID": 2,
"Latitude": "sample string 3",
"Longitude": "sample string 4"
}
application/xml, text/xml
Sample:
<PackageLocationEdit xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RestAPI.Models"> <CourierID>2</CourierID> <Latitude>sample string 3</Latitude> <Longitude>sample string 4</Longitude> <PackageID>1</PackageID> </PackageLocationEdit>
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:
<GeneralResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RestAPI.Models"> <message>sample string 2</message> <success>true</success> </GeneralResponse>