POST Package/ExpectedArrivalDate
Request Information
URI Parameters
None.
Body Parameters
PackageExpectedArrivalDateCrud| Name | Description | Type | Additional information |
|---|---|---|---|
| CourierId | integer |
None. |
|
| PackageId | integer |
None. |
|
| Duration | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"CourierId": 1,
"PackageId": 2,
"Duration": 3
}
application/xml, text/xml
Sample:
<PackageExpectedArrivalDateCrud xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RestAPI.Models"> <CourierId>1</CourierId> <Duration>3</Duration> <PackageId>2</PackageId> </PackageExpectedArrivalDateCrud>
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>