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": "42f221f7-0792-4354-a237-73fd6ca2e1e2",
"ParentId": "01e396e5-f942-4c53-999c-5dbdf1cd6b4f",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"9e941807-638a-42d8-a8d3-cab71f047308",
"89af4813-4036-4bcd-bcea-8180d2364782"
],
"Companies": [
"dd8fe110-5558-49e4-a372-471bbff86eb8",
"f083cb89-3259-45f9-8e57-e1d70bfdbf02"
],
"Groups": [
"4edba0e8-9e94-49c4-aa5b-3f974940213e",
"e9d82182-b812-4491-80d1-8f49ad700e81"
],
"Opportunities": [
"da964c23-f2d0-4627-8d25-f78a98e7051a",
"652106d2-0907-40b4-8e91-dad86ed6e88e"
]
}
}
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.