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": "5993a057-f45f-4556-94c5-705ad8303e3f",
"ParentId": "2bd2b36c-b85f-4215-8e54-2ff802232162",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"e4a9c5c9-0c47-442b-baa2-7c83ecdc7429",
"ec34e7a3-56a1-461c-8dfb-7cfbf9a2940f"
],
"Companies": [
"efd449ad-0f23-4d8a-877a-88cd30c214fe",
"82ee6b2c-718f-4531-b150-864bdb1f0632"
],
"Groups": [
"ea85f167-5d71-44a8-a3cb-d86e66769adc",
"ee6d4f16-717b-450f-82ba-1c102b9fda30"
],
"Opportunities": [
"d8e2a171-4cd8-4ff4-ae65-99bf1eb848ee",
"a7f54844-47db-4508-b3aa-9ffc8840d04d"
]
}
}
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.