POST api/Address/SetAddressAsDefault

Request Information

URI Parameters

None.

Body Parameters

SetAddressAsDefaultRequest
NameDescriptionTypeAdditional information
AddressId

globally unique identifier

None.

UserId

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "AddressId": "09bc10cb-9a5e-4a31-a483-c708bad6dceb",
  "UserId": "5be71151-4743-4941-b47c-67762521084c"
}

application/xml, text/xml

Sample:
<SetAddressAsDefaultRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Dto.Request">
  <AddressId>09bc10cb-9a5e-4a31-a483-c708bad6dceb</AddressId>
  <UserId>5be71151-4743-4941-b47c-67762521084c</UserId>
</SetAddressAsDefaultRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

SetAddressAsDefaultResponse
NameDescriptionTypeAdditional information
Success

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true
}

application/xml, text/xml

Sample:
<SetAddressAsDefaultResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Dto.Response">
  <Success>true</Success>
</SetAddressAsDefaultResponse>