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": "b21184f8-00f4-4298-91aa-e1d7e185d730",
"ParentId": "1d6c6497-c3be-42c0-957c-95de7dfaa4ab",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"327b1eb1-f85b-48f3-a875-b36abf1e56c8",
"59136536-3342-4020-ab07-7ea6352138a0"
],
"Companies": [
"7e844340-92b4-4da9-b890-7b862428d2a3",
"d70d5e94-af7d-4e91-b2ec-dd0ca7f33580"
],
"Groups": [
"ef41cc73-554c-4294-9383-40d0895cfd22",
"3f514a71-2562-4905-af63-ef59ab9a3a4d"
],
"Opportunities": [
"a5c4d4dc-afda-4b2a-9646-f6332275836d",
"8cf93add-81d4-4415-8515-ed888b930f0a"
]
}
}
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.