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": "1eeb0c30-1017-495e-81a5-1825df265566",
"ParentId": "a5adbeb0-9c0b-48e2-8ade-4cde5cfd74e9",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"5aa33fe6-449b-484a-87ff-a1ac035bd0b2",
"419174b2-8985-4ebc-a3cd-200281ff567a"
],
"Companies": [
"2304db98-5ef0-4b81-b868-1ffb546aaf13",
"04158ba8-20dd-49e1-87dc-6dd61f8fe809"
],
"Groups": [
"0ba94676-8689-461d-9650-7224609e7e27",
"be0abe66-4142-4771-b25e-4ab05d5351a3"
],
"Opportunities": [
"9d7a2dc1-4477-429e-8e96-94955e58bed4",
"26175fcd-5e18-4ba6-a059-a51124ed1cdd"
]
}
}
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.