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": "df4ba74c-c471-428d-96ca-6479e9833246",
  "UserId": "62730fc0-64ee-4023-8f07-41e30c89a0b2"
}

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>df4ba74c-c471-428d-96ca-6479e9833246</AddressId>
  <UserId>62730fc0-64ee-4023-8f07-41e30c89a0b2</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>