POST api/Address/DeleteAddress

Request Information

URI Parameters

None.

Body Parameters

DeleteAddressRequest
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

UserId

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "aa529fef-8694-4316-8dcb-315fe6bd8b32",
  "UserId": "04ea6a9b-fb6a-4504-a1c3-214dd41e398b"
}

application/xml, text/xml

Sample:
<DeleteAddressRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Dto.Request">
  <Id>aa529fef-8694-4316-8dcb-315fe6bd8b32</Id>
  <UserId>04ea6a9b-fb6a-4504-a1c3-214dd41e398b</UserId>
</DeleteAddressRequest>

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": "64fced53-2e71-4c30-bb5d-dc68a80ceb97",
  "SetAlsoAsBillingAddressId": "4132d2cc-311a-47ea-80e5-bbc05772001f",
  "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>64fced53-2e71-4c30-bb5d-dc68a80ceb97</Id>
  <Message>sample string 3</Message>
  <SetAlsoAsBillingAddressId>4132d2cc-311a-47ea-80e5-bbc05772001f</SetAlsoAsBillingAddressId>
  <Success>true</Success>
</UpdateAddressResponse>