POST api/Address/UpdateAddressCoordinate

Request Information

URI Parameters

None.

Body Parameters

AddEditAddressCoordinateRequest
NameDescriptionTypeAdditional information
UserId

globally unique identifier

None.

Id

globally unique identifier

None.

Latitude

decimal number

None.

Longitude

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "UserId": "3f97b599-e17e-477b-ba66-f3b4886a2614",
  "Id": "b25cf04d-c45c-475d-bb5a-dfd78642b893",
  "Latitude": 3.1,
  "Longitude": 4.1
}

application/xml, text/xml

Sample:
<AddEditAddressCoordinateRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Dto.Request">
  <Id>b25cf04d-c45c-475d-bb5a-dfd78642b893</Id>
  <Latitude>3.1</Latitude>
  <Longitude>4.1</Longitude>
  <UserId>3f97b599-e17e-477b-ba66-f3b4886a2614</UserId>
</AddEditAddressCoordinateRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

UpdateAddressResponse
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

SetAlsoAsBillingAddressId

globally unique identifier

None.

Message

string

None.

Success

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": "98cf3923-88f5-4d8a-8eeb-3e6baf5bd66f",
  "SetAlsoAsBillingAddressId": "2e6e1e81-cb7f-4546-9ee3-178d16770586",
  "Message": "sample string 3",
  "Success": true
}

application/xml, text/xml

Sample:
<UpdateAddressResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Dto.Response">
  <Id>98cf3923-88f5-4d8a-8eeb-3e6baf5bd66f</Id>
  <Message>sample string 3</Message>
  <SetAlsoAsBillingAddressId>2e6e1e81-cb7f-4546-9ee3-178d16770586</SetAlsoAsBillingAddressId>
  <Success>true</Success>
</UpdateAddressResponse>