POST api/VietMap/OrderCreateBD13
Request Information
URI Parameters
None.
Body Parameters
VietMapOrderCreateBD13RequestName | Description | Type | Additional information |
---|---|---|---|
TransportType | integer |
None. |
|
StartPoint | Point |
None. |
|
Data | Collection of VietMapOrderCreateBD13DataRequest |
None. |
Request Formats
application/json, text/json
Sample:
{ "TransportType": 1, "StartPoint": { "Id": "sample string 1", "Longitude": "sample string 2", "Latitude": "sample string 3" }, "Data": [ { "Id": 1, "LadingCode": "sample string 2", "ReceiverAddress": "sample string 3", "ReceiverLat": "sample string 4", "ReceiverLon": "sample string 5", "OrderNumber": 6, "ReceiverVpostCode": "sample string 7" }, { "Id": 1, "LadingCode": "sample string 2", "ReceiverAddress": "sample string 3", "ReceiverLat": "sample string 4", "ReceiverLon": "sample string 5", "OrderNumber": 6, "ReceiverVpostCode": "sample string 7" } ] }
application/xml, text/xml
Sample:
<VietMapOrderCreateBD13Request xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EMS.DingDong.API.Models.Vietmap"> <Data> <VietMapOrderCreateBD13DataRequest> <Id>1</Id> <LadingCode>sample string 2</LadingCode> <OrderNumber>6</OrderNumber> <ReceiverAddress>sample string 3</ReceiverAddress> <ReceiverLat>sample string 4</ReceiverLat> <ReceiverLon>sample string 5</ReceiverLon> <ReceiverVpostCode>sample string 7</ReceiverVpostCode> </VietMapOrderCreateBD13DataRequest> <VietMapOrderCreateBD13DataRequest> <Id>1</Id> <LadingCode>sample string 2</LadingCode> <OrderNumber>6</OrderNumber> <ReceiverAddress>sample string 3</ReceiverAddress> <ReceiverLat>sample string 4</ReceiverLat> <ReceiverLon>sample string 5</ReceiverLon> <ReceiverVpostCode>sample string 7</ReceiverVpostCode> </VietMapOrderCreateBD13DataRequest> </Data> <StartPoint> <Id>sample string 1</Id> <Latitude>sample string 3</Latitude> <Longitude>sample string 2</Longitude> </StartPoint> <TransportType>1</TransportType> </VietMapOrderCreateBD13Request>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseObjectName | Description | Type | Additional information |
---|---|---|---|
Code | string |
None. |
|
Message | string |
None. |
|
Time | string |
None. |
|
Value | Object |
None. |
|
Data | string |
None. |
|
Signature | string |
None. |
|
ListValue | Collection of Object |
None. |
Response Formats
application/json, text/json
Sample:
{ "Code": "sample string 1", "Message": "sample string 2", "Time": "sample string 3", "Value": {}, "Data": "sample string 5", "Signature": "sample string 6", "ListValue": [ {}, {} ] }
application/xml, text/xml
Sample:
<ResponseObject xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EMS.DingDong.API.Utility"> <Code>sample string 1</Code> <Data>sample string 5</Data> <ListValue xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:anyType /> <d2p1:anyType /> </ListValue> <Message>sample string 2</Message> <Signature>sample string 6</Signature> <Time>sample string 3</Time> <Value /> </ResponseObject>