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
MutableEntityExtendedName | 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": "a7389097-3b00-447a-b907-61688f5f73d3", "ParentId": "02881f81-21c2-478d-aea7-1c9b4440e797", "Fields": { "sample string 1": {}, "sample string 3": {} }, "LinkedEntities": { "Contacts": [ "2520cbfb-fd1e-4a4c-aa39-ca0ec63553c9", "18ee9f65-9580-4811-a326-93db53ec53c1" ], "Companies": [ "990fc9e8-2ad5-4e23-b125-a606ad2c936d", "ef609928-79cc-4871-8cbd-73b5dbc9733c" ], "Groups": [ "7141a8e5-0683-495f-bb98-78e63691aba9", "5d4b6fa1-165f-48c9-a109-807259bf0cdf" ], "Opportunities": [ "d70c5915-2363-471f-916f-486839d0a80e", "786b74b3-e713-48fe-bc6f-cd8432c4b687" ] } }
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.