POST api/VietMap/Route

Request Information

URI Parameters

None.

Body Parameters

Collection of CenterPoint
NameDescriptionTypeAdditional information
lat

decimal number

None.

lon

decimal number

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "lat": 1.1,
    "lon": 2.1
  },
  {
    "lat": 1.1,
    "lon": 2.1
  }
]

application/xml, text/xml

Sample:
<ArrayOfCenterPoint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EMS.DingDong.API.Models.Vietmap">
  <CenterPoint>
    <lat>1.1</lat>
    <lon>2.1</lon>
  </CenterPoint>
  <CenterPoint>
    <lat>1.1</lat>
    <lon>2.1</lon>
  </CenterPoint>
</ArrayOfCenterPoint>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseObject
NameDescriptionTypeAdditional 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>