PUT Api/v1/Landmarks/{id}
Updates an existing landmark.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
landmark id |
string |
Required |
Body Parameters
landmark details to save
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.