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
MutableEntityExtendedName | 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": "52aff908-7383-42d8-bf10-6ae899d87409", "ParentId": "867789c5-725e-4697-95a4-e2b19a860723", "Fields": { "sample string 1": {}, "sample string 3": {} }, "LinkedEntities": { "Contacts": [ "2d443b60-03bf-418b-bc81-a0802e6c94db", "84322b38-d114-4ef5-b8be-6ba5f832f7d1" ], "Companies": [ "d329dd68-627e-4b96-a169-f59b53541b30", "c5392fb8-fb78-46fe-bf96-40024c7703e2" ], "Groups": [ "f31302f3-3bce-41ea-bb40-b5dd1b744cd2", "fa8feb69-bd8d-403e-91da-cbfc307f97fe" ], "Opportunities": [ "ccc61c33-cdc1-47ea-bd5b-3c49d6d633d6", "815e36a9-d570-4579-8d67-25b5ee1ece60" ] } }
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.