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": "4c75760c-d27c-42fd-99f2-5d68229eeedb", "ParentId": "6db90dd5-b0cd-4d64-a182-6d7b3be48078", "Fields": { "sample string 1": {}, "sample string 3": {} }, "LinkedEntities": { "Contacts": [ "b6be5b1f-22ce-4f56-8d7d-cbc6158a36c0", "e45c6360-0d4c-4637-b789-006a2e50826d" ], "Companies": [ "a0ee7e58-29ab-4610-93e3-7b198ba33e60", "5728ae6b-7e0e-4d75-af43-2bc66ff20f97" ], "Groups": [ "6176641f-b3f8-4f02-adbd-746749c77edf", "3de5a355-8760-47b1-aae8-9af491164e14" ], "Opportunities": [ "530bbb81-9555-4f3a-aa4d-a6280c7cb8e6", "9ebc4b1b-6850-48dd-801b-4c06e9a09ff9" ] } }
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.