POST api/Address/SetCitizenIdForAddress
Request Information
URI Parameters
None.
Body Parameters
SetCitizenIdForAddressRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| AddressId | globally unique identifier |
None. |
|
| CitizenId | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"AddressId": "1cf2cd1b-8257-4980-8f1d-cb6bd83231c3",
"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>1cf2cd1b-8257-4980-8f1d-cb6bd83231c3</AddressId> <CitizenId>sample string 2</CitizenId> </SetCitizenIdForAddressRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
SetCitizenIdForAddressResponse| Name | Description | Type | Additional 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>