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": "ad983b2b-cebf-4fb0-b635-5c19bca09174",
"ParentId": "ec5df515-c80b-4771-a2db-956ab2a11a0e",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"6faa1f53-813f-4695-98ed-3302b201da4a",
"d1e39719-875b-43f8-a627-ed82b2520af7"
],
"Companies": [
"77696cfd-6de4-4a5e-855a-25fe9f500889",
"c417119e-a714-4202-a85c-31b860af4bea"
],
"Groups": [
"06bc7312-5161-481c-984b-3172fed22e22",
"ee9828ef-9146-4840-b031-e30d5046a8c5"
],
"Opportunities": [
"d260e9c4-c03b-4327-b433-1566787c5a56",
"b02d305e-d986-42ee-be7c-ba22b1afb7fc"
]
}
}
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.