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": "cdec3e70-1a7b-4b0e-8716-a23df16da425",
"ParentId": "f152f79b-d7ee-4a0f-9905-4934b5762cd0",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"a02c70fe-e0d4-48f8-90f1-44b248d331f4",
"e030a87b-cbce-4aae-80b8-1efe4c1e6b7b"
],
"Companies": [
"617dbbd5-ba21-4db7-969f-b02a11aa4ede",
"fdbc93ea-b929-4d94-85cc-8c70ff5052ea"
],
"Groups": [
"e7de6723-32c6-41a2-98c1-0344bda6aff0",
"a0af9065-d17a-4093-a056-8cb5f8fc569b"
],
"Opportunities": [
"0f537a96-d16a-4451-9d90-60b2266d0419",
"2eb7d823-91d4-4bff-bff0-c7ae66c1fd47"
]
}
}
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.