POST api/Address/SetCitizenIdForAddress
Request Information
URI Parameters
None.
Body Parameters
SetCitizenIdForAddressRequestName | Description | Type | Additional information |
---|---|---|---|
AddressId | globally unique identifier |
None. |
|
CitizenId | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "AddressId": "da7cb9d9-5e0f-4cd9-8f7f-c7cd6311617a", "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>da7cb9d9-5e0f-4cd9-8f7f-c7cd6311617a</AddressId> <CitizenId>sample string 2</CitizenId> </SetCitizenIdForAddressRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
SetCitizenIdForAddressResponseName | 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>