POST api/VietMap/Update
Request Information
URI Parameters
None.
Body Parameters
VietmapUpdateRequestName | Description | Type | Additional information |
---|---|---|---|
id | string |
Required |
|
idUser | string |
Required |
|
data | DataCreate |
Required |
|
layer | string |
Required |
Request Formats
application/json, text/json
Sample:
{ "id": "sample string 1", "idUser": "sample string 2", "data": { "name": "sample string 1", "aliasNames": [ "sample string 1", "sample string 2" ], "housenumber": "sample string 2", "streetName": "sample string 3", "building": "sample string 4", "place": "sample string 5", "stPrefix": "sample string 6", "centerPoint": { "lat": 1.1, "lon": 2.1 }, "addendums": { "vnpost": "sample string 1" } }, "layer": "sample string 3" }
application/xml, text/xml
Sample:
<VietmapUpdateRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EMS.DingDong.API.Models.Vietmap"> <data> <addendums> <vnpost>sample string 1</vnpost> </addendums> <aliasNames xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </aliasNames> <building>sample string 4</building> <centerPoint> <lat>1.1</lat> <lon>2.1</lon> </centerPoint> <housenumber>sample string 2</housenumber> <name>sample string 1</name> <place>sample string 5</place> <stPrefix>sample string 6</stPrefix> <streetName>sample string 3</streetName> </data> <idUser>sample string 2</idUser> <layer>sample string 3</layer> <id>sample string 1</id> </VietmapUpdateRequest>
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>