PUT api/persons/{id}/contacts/{personContactId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | string |
Required |
|
| personContactId | integer |
Required |
Body Parameters
PersonContactUpdateRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Alias | string |
None. |
|
| Contact | string |
None. |
|
| IsPublic | boolean |
None. |
|
| IsPrimary | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"Alias": "sample string 3",
"Contact": "sample string 4",
"IsPublic": true,
"IsPrimary": true
}
application/xml, text/xml
Sample:
<PersonContactUpdateRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <Alias>sample string 3</Alias> <Contact>sample string 4</Contact> <IsPrimary>true</IsPrimary> <IsPublic>true</IsPublic> </PersonContactUpdateRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.