PUT api/address/{id}/viewpoints/edit
Edits one or more ViewPoints of an address Processes this address API request. The parameter and response sections describe the data exchanged with the API.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The Id of the address to update |
integer |
Required |
Body Parameters
One or more ViewPoints to edit
Collection of AddEditViewPointCommandDataContract| Name | Description | Type | Additional information |
|---|---|---|---|
| Point |
The point value. |
PointDataContract |
None. |
| Pitch |
The pitch value. |
decimal number |
None. |
| Heading |
The heading value. |
decimal number |
None. |
| FieldOfVision |
The field of vision value. |
decimal number |
None. |
| Zoom |
The zoom value. |
decimal number |
None. |
| Label |
The label value. |
string |
None. |
| Id |
The unique identifier of this resource. |
integer |
None. |
Request Formats
application/x-www-form-urlencoded
Sample not available.
application/json, text/json
[
{
"Point": {
"Latitude": 1.1,
"Longitude": 2.1,
"Altitude": 3.1,
"Order": 4,
"Id": 5
},
"Pitch": 1.1,
"Heading": 2.1,
"FieldOfVision": 3.1,
"Zoom": 4.1,
"Label": "sample string 5",
"Id": 6
},
{
"Point": {
"Latitude": 1.1,
"Longitude": 2.1,
"Altitude": 3.1,
"Order": 4,
"Id": 5
},
"Pitch": 1.1,
"Heading": 2.1,
"FieldOfVision": 3.1,
"Zoom": 4.1,
"Label": "sample string 5",
"Id": 6
}
]
Response Information
Resource Description
A System.Net.Http.HttpResponseMessage value equal to 200 (OK) if command completed successfully, 500 if error occurred
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version |
The version value. |
Version |
None. |
| Content |
The content value. |
HttpContent |
None. |
| StatusCode |
The status code classification. |
HttpStatusCode |
None. |
| ReasonPhrase |
The reason phrase value. |
string |
None. |
| Headers |
The collection of headers. |
Collection of Object |
None. |
| RequestMessage |
The request message value. |
HttpRequestMessage |
None. |
| IsSuccessStatusCode |
Indicates whether this item is success status code. |
boolean |
None. |