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": "cd4dbc67-e12d-49e8-84f8-ebe17767a9ac",
"ParentId": "478d23fc-622f-4c03-9578-c13a9e9b5f78",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"2f0d53f2-edf1-4352-89e3-32413bdab303",
"e8a387b3-e9f1-4459-8389-4e4c48bed51c"
],
"Companies": [
"c87454e7-6def-4103-be4f-9abbc5370d9f",
"08d15cd9-5aaf-4d9e-bc57-4e5707a204c3"
],
"Groups": [
"8b268983-8bee-4118-88bc-e1e8f6cb03e1",
"40f8be0c-cdc1-4575-baa3-2f29ca9c1d63"
],
"Opportunities": [
"733bb30f-14bd-420c-a2f3-5f3c6f688ab4",
"f4c24260-7706-4c0c-891a-c1a36ba4fe0f"
]
}
}
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.