PUT api/address/{id}/centerpoint

Update the Center Point for an Address

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The Id of the address to update

integer

Required

Body Parameters

The point details which will be updated on the address

Dezrez.Core.DataContracts.External.Api.Location.Command.UpdatePoint.UpdatePointCommandDataContract
NameDescriptionTypeAdditional information
Latitude

decimal number

None.

Longitude

decimal number

None.

Altitude

decimal number

None.

Request Formats

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 'UpdatePointCommandDataContract'.

application/json, text/json

Sample:
{
  "Latitude": 1.1,
  "Longitude": 2.1,
  "Altitude": 3.1
}

Response Information

Resource Description

A System.Net.Http.HttpResponseMessage value...

System.Net.Http.HttpResponseMessage
NameDescriptionTypeAdditional information
Version

System.Version

None.

Content

System.Net.Http.HttpContent

None.

StatusCode

System.Net.HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

System.Net.Http.HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.