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": "f19ca795-8636-4550-a4b2-c8c6e88ae2a8",
"ParentId": "8674c39e-7edf-4c7c-9874-bed8f2d87843",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"72065672-a678-486a-8026-798f66f87497",
"6c10c4bf-2bb2-47e7-b199-8832ad43efc0"
],
"Companies": [
"a416f986-ec41-4c4a-9daa-211e666b7e40",
"80a1b516-4adc-4766-82a5-30f56b9a3448"
],
"Groups": [
"c2a1b921-7d70-43b6-a4db-3ea926c9c286",
"36407977-aedf-4063-b7f0-476df67aaa96"
],
"Opportunities": [
"52231fd1-367a-4971-8fd4-e656d97c81a1",
"f84b5051-bddb-4a81-bc87-26bbaafd4681"
]
}
}
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.