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": "7e01dcbf-82f1-490a-8a3b-70e217df5d08",
"ParentId": "ea5997a5-58d4-45b8-a5b9-7e3050050b8d",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"ae3c4470-6f47-4ecf-a4c8-d5d37ddef3bf",
"66d57a49-9216-4ae4-8060-812872aa5b87"
],
"Companies": [
"7c688a2f-7958-4994-be08-45666a16af08",
"4a182d95-54f5-4831-bf8a-c21c5bd499dc"
],
"Groups": [
"2bb90a6b-50c6-4991-be76-9ee77bd4d7e7",
"f81ed1fd-dbb0-49d3-aabf-2fe6a4ef251b"
],
"Opportunities": [
"79e6c6c5-629a-4587-859e-45a83da58123",
"c7e42de9-9af6-4570-a825-6513b3d05d5a"
]
}
}
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.