POST api/VietMap/Create

Request Information

URI Parameters

None.

Body Parameters

CreateVietMapRequest
NameDescriptionTypeAdditional information
Housenumber

string

None.

Name

string

None.

CategoryID

integer

None.

StreetName

string

None.

CityID

integer

None.

DistID

integer

None.

WardID

integer

None.

Village

string

None.

Longitude

decimal number

None.

Latitude

decimal number

None.

Id

integer

None.

CityName

string

None.

DistrictName

string

None.

WardName

string

None.

RouteCode

string

None.

RouteId

integer

None.

Phone

string

None.

Type

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Housenumber": "sample string 1",
  "Name": "sample string 2",
  "CategoryID": 3,
  "StreetName": "sample string 4",
  "CityID": 5,
  "DistID": 6,
  "WardID": 7,
  "Village": "sample string 8",
  "Longitude": 9.1,
  "Latitude": 10.1,
  "Id": 11,
  "CityName": "sample string 12",
  "DistrictName": "sample string 13",
  "WardName": "sample string 14",
  "RouteCode": "sample string 15",
  "RouteId": 16,
  "Phone": "sample string 17",
  "Type": 18
}

application/xml, text/xml

Sample:
<CreateVietMapRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EMS.DingDong.API.Models.Vietmap">
  <CategoryID>3</CategoryID>
  <CityID>5</CityID>
  <CityName>sample string 12</CityName>
  <DistID>6</DistID>
  <DistrictName>sample string 13</DistrictName>
  <Housenumber>sample string 1</Housenumber>
  <Id>11</Id>
  <Latitude>10.1</Latitude>
  <Longitude>9.1</Longitude>
  <Name>sample string 2</Name>
  <Phone>sample string 17</Phone>
  <RouteCode>sample string 15</RouteCode>
  <RouteId>16</RouteId>
  <StreetName>sample string 4</StreetName>
  <Type>18</Type>
  <Village>sample string 8</Village>
  <WardID>7</WardID>
  <WardName>sample string 14</WardName>
</CreateVietMapRequest>

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>