POST Api/v1/Landmarks
Creates a new landmark.
Request Information
URI Parameters
None.
Body Parameters
landmark to create
LandmarkCommand| Name | Description | Type | Additional information |
|---|---|---|---|
| PublicId | string |
Required String length: inclusive between 0 and 10 |
|
| MarkerName | string |
Required |
|
| GpsReading | GpsReadingModel |
Required |
Request Formats
application/json, text/json
Sample:
{
"publicId": "sample string 1",
"markerName": "sample string 2",
"gpsReading": {
"quality": 1,
"longitude": 2.0,
"latitude": 3.0
}
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.