PUT api/Contacts/{id}
Updates an existing Contact Record.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Contact Id that is to be updated |
globally unique identifier |
Required |
Body Parameters
The Contact record data must be passed in through the body of the request in Json format. Set Content-Type header to application/json
MutableEntityExtended| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| ParentId |
This field will only include data when working with Group records. |
globally unique identifier |
None. |
| Fields | Dictionary of string [key] and Object [value] |
None. |
|
| LinkedEntities | LinkedEntities |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "599f85ab-1498-49ed-8197-32ea3e11cddd",
"ParentId": "bde166fe-ffa7-4349-be5a-c385ca7b71ac",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"8b5b10e6-191a-4c37-a36d-e812d4f2388d",
"72a73a5d-a058-41b4-831e-cc55978fc957"
],
"Companies": [
"353ca6a3-6965-4b46-8cb5-e94f3283304d",
"141f82e9-a643-4ceb-97ad-60b961bbb91a"
],
"Groups": [
"ec9ffbdf-2e43-411c-9263-0ab9ae7f82e6",
"5972b6cb-19f2-4b34-8efc-4a1b4303e94e"
],
"Opportunities": [
"8bab8a12-2f2f-4f0d-abde-75184d8ca89d",
"1a338e74-0eed-4647-aa8a-f9117a48b801"
]
}
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
This endpoint does not return any data when record is updated.
None.