PUT api/Companies/{id}
Updates an existing Company Record.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Company Id that is to be updated |
globally unique identifier |
Required |
Body Parameters
The Company 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": "50203c14-3836-4cbb-abac-bb7e727ef761",
"ParentId": "6ff679a0-ac5a-47cf-9800-e0a1f8172d04",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"f6432433-3e5a-46de-8e32-2e91e9bd8214",
"eae062e9-32e2-407b-bf71-904f322840ad"
],
"Companies": [
"846cb220-9787-4bc3-a106-941ac890c31d",
"7df8bd9c-adf0-4e1b-94a2-5a0dc00d60a3"
],
"Groups": [
"844b301e-f007-44ec-a567-914235497a10",
"9e7353cb-c1fa-4a46-85c5-deb43e543143"
],
"Opportunities": [
"ecf6fdf3-1a5c-44d7-878b-3ec3cd87c22a",
"7853dc14-025c-420a-a6db-c3ff8f67beb8"
]
}
}
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.