POST api/InformationCoordinate/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | string |
Required |
Body Parameters
InformationCoordinateCreateModel| Name | Description | Type | Additional information |
|---|---|---|---|
| BaseCoordinate | GeographyPointViewModel |
None. |
|
| PolygonsPoint | Collection of GeographyPointViewModel |
None. |
|
| SharpType | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"BaseCoordinate": {
"Longitude": 1.0,
"Latitude": 2.0,
"Index": 3
},
"PolygonsPoint": [
{
"Longitude": 1.0,
"Latitude": 2.0,
"Index": 3
},
{
"Longitude": 1.0,
"Latitude": 2.0,
"Index": 3
}
],
"SharpType": 1
}
application/xml, text/xml
Sample:
<InformationCoordinateCreateModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Vams.Domain.Models.Ric.InformationCoordinateModels.EditModels">
<BaseCoordinate xmlns:d2p1="http://schemas.datacontract.org/2004/07/Vams.Domain.Models.SharedViewModels">
<d2p1:Index>3</d2p1:Index>
<d2p1:Latitude>2</d2p1:Latitude>
<d2p1:Longitude>1</d2p1:Longitude>
</BaseCoordinate>
<PolygonsPoint xmlns:d2p1="http://schemas.datacontract.org/2004/07/Vams.Domain.Models.SharedViewModels">
<d2p1:GeographyPointViewModel>
<d2p1:Index>3</d2p1:Index>
<d2p1:Latitude>2</d2p1:Latitude>
<d2p1:Longitude>1</d2p1:Longitude>
</d2p1:GeographyPointViewModel>
<d2p1:GeographyPointViewModel>
<d2p1:Index>3</d2p1:Index>
<d2p1:Latitude>2</d2p1:Latitude>
<d2p1:Longitude>1</d2p1:Longitude>
</d2p1:GeographyPointViewModel>
</PolygonsPoint>
<SharpType>1</SharpType>
</InformationCoordinateCreateModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.