POST Package/ChangeSortList
Request Information
URI Parameters
None.
Body Parameters
Collection of PackageSortName | Description | Type | Additional information |
---|---|---|---|
PackageID | integer |
None. |
|
Sort | integer |
None. |
|
CourierID | integer |
None. |
Request Formats
application/json, text/json
Sample:
[ { "PackageID": 1, "Sort": 2, "CourierID": 3 }, { "PackageID": 1, "Sort": 2, "CourierID": 3 } ]
application/xml, text/xml
Sample:
<ArrayOfPackageSort xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RestAPI.Models"> <PackageSort> <CourierID>3</CourierID> <PackageID>1</PackageID> <Sort>2</Sort> </PackageSort> <PackageSort> <CourierID>3</CourierID> <PackageID>1</PackageID> <Sort>2</Sort> </PackageSort> </ArrayOfPackageSort>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
GeneralResponseName | 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>