POST api/Address/SetCitizenIdForAddress

Request Information

URI Parameters

None.

Body Parameters

SetCitizenIdForAddressRequest
NameDescriptionTypeAdditional information
AddressId

globally unique identifier

None.

CitizenId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "AddressId": "1fc76b05-9342-4ac0-a1d8-4fea4199d252",
  "CitizenId": "sample string 2"
}

application/xml, text/xml

Sample:
<SetCitizenIdForAddressRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Dto.Request">
  <AddressId>1fc76b05-9342-4ac0-a1d8-4fea4199d252</AddressId>
  <CitizenId>sample string 2</CitizenId>
</SetCitizenIdForAddressRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

SetCitizenIdForAddressResponse
NameDescriptionTypeAdditional information
Success

boolean

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Message": "sample string 2"
}

application/xml, text/xml

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