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": "ee3fff8c-1a7e-4daf-896d-a8d87760f902",
  "UserId": "9f726122-331b-499e-b7d8-97e8cb3408dc"
}

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>ee3fff8c-1a7e-4daf-896d-a8d87760f902</AddressId>
  <UserId>9f726122-331b-499e-b7d8-97e8cb3408dc</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>