PUT api/address/{id}/viewpoints/add
Adds one or more View Points for an Address
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 add
Collection of Dezrez.Core.DataContracts.External.Api.Location.Command.AddEditViewPoints.AddEditViewPointCommandDataContractName | Description | Type | Additional information |
---|---|---|---|
Point | Dezrez.Core.DataContracts.External.Api.Location.Query.PointDataContract |
None. |
|
Pitch | decimal number |
None. |
|
Heading | decimal number |
None. |
|
FieldOfVision | decimal number |
None. |
|
Zoom | decimal number |
None. |
|
Label | string |
None. |
|
Id | integer |
None. |
Request Formats
application/x-www-form-urlencoded
Sample:
Sample not available.
application/json, text/json
Sample:
[ { "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
Collection of Dezrez.Core.DataContracts.External.Api.Location.Query.ViewPointDataContractName | Description | Type | Additional information |
---|---|---|---|
Point | Dezrez.Core.DataContracts.External.Api.Location.Query.PointDataContract |
None. |
|
Pitch | decimal number |
None. |
|
Heading | decimal number |
None. |
|
FieldOfVision | decimal number |
None. |
|
Zoom | decimal number |
None. |
|
Label | string |
None. |
|
Id | integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "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 } ]