PUT api/address/{id}/viewpoints/edit

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

Collection of AddEditViewPointCommandDataContract
NameDescriptionTypeAdditional information
Point

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/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
  }
]

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'AddEditViewPointCommandDataContract[]'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.