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": "da203a28-3a23-4fbe-9035-5f4893b076e9",
"ParentId": "c1887e30-61eb-47b2-97e7-b54357c3de57",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"3a41984e-61dd-41a9-a309-1d75e751c807",
"63109b58-432b-4e88-a09d-7e019c0ad775"
],
"Companies": [
"cffbebf2-bc84-4b6c-8286-2c1a55f20b16",
"c7ddd854-5d99-4be2-afa4-60e18b47b7f4"
],
"Groups": [
"016ba67c-0bd0-444b-bd9b-849130902ca3",
"81b853fd-3491-4905-8572-1471a5ebff47"
],
"Opportunities": [
"93a1cefb-7e6d-4012-99f5-f961bc15656b",
"0aec87cc-2889-4a52-9244-11104bf8c9b2"
]
}
}
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.