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": "241b05a8-d4ea-4e2b-bf51-76ef7292ac54",
"ParentId": "f021aaec-2cb4-403c-a214-91661c3b8d7e",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"5b118852-b0e6-497c-be41-ff70f040852c",
"e4206203-a9c2-4abf-8632-e9b04a417ce2"
],
"Companies": [
"7b854c71-68db-4400-9627-c4abbc3d3d54",
"1c05fd5f-c05e-4ec6-ae13-b9adf73f30cd"
],
"Groups": [
"ca593093-5c94-4f64-a3d1-3bf5c411267b",
"38cd0ad6-83a6-4a8e-8a4b-22efc11e8393"
],
"Opportunities": [
"c41f90f2-7a52-41b7-a9fe-cc08ec394d00",
"22a069d7-229a-4826-b673-b9f56f675440"
]
}
}
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.