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": "1a7dddd9-cbca-46ed-b209-05af6cfdec9e",
  "UserId": "332b62a9-5c66-4c77-9d40-56810cf234bb"
}

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>1a7dddd9-cbca-46ed-b209-05af6cfdec9e</Id>
  <UserId>332b62a9-5c66-4c77-9d40-56810cf234bb</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": "d4c2b16d-7a86-495f-9fe5-2d3d50b4182c",
  "SetAlsoAsBillingAddressId": "eed6879c-79aa-43b7-b84c-adbb4299410b",
  "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>d4c2b16d-7a86-495f-9fe5-2d3d50b4182c</Id>
  <Message>sample string 3</Message>
  <SetAlsoAsBillingAddressId>eed6879c-79aa-43b7-b84c-adbb4299410b</SetAlsoAsBillingAddressId>
  <Success>true</Success>
</UpdateAddressResponse>