PUT api/clients/{clientId}/contacts/preferred
Updates the preferred contact details for a client.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
clientId |
The client ID. |
integer |
Required |
Body Parameters
The contact details to update.
PreferredContactName | Description | Type | Additional information |
---|---|---|---|
FirstName |
The contact's first name. |
string |
None. |
LastName |
The contact's last name. |
string |
None. |
PhoneNumber |
The phone number that this person prefers to be contacted by. |
string |
None. |
The email address that this person prefers to be contacted by. |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "firstName": "sample string 1", "lastName": "sample string 2", "phoneNumber": "sample string 3", "email": "sample string 4" }
application/xml, text/xml
Sample:
<PreferredContact xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TS.DR.Resources"> <Email>sample string 4</Email> <FirstName>sample string 1</FirstName> <LastName>sample string 2</LastName> <PhoneNumber>sample string 3</PhoneNumber> </PreferredContact>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.