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": "70a3c970-e42e-468d-906e-d9bf19c685e3", "ParentId": "8bbdfee7-9ac9-42f1-99e0-65db5351a511", "Fields": { "sample string 1": {}, "sample string 3": {} }, "LinkedEntities": { "Contacts": [ "85828bb2-4e23-4ada-9d34-5b968e291d80", "6a1b7adf-7bd8-4506-89ba-0f9bc9875be9" ], "Companies": [ "2fd7731c-ba68-4530-bcc2-448344a2b4e5", "3a4c8fd6-ec4a-40e2-bc3a-27768dc351d2" ], "Groups": [ "6e164e26-6896-4995-8f7f-8591aac71d57", "4c18cd8b-84ac-4cbc-9884-19027ee54266" ], "Opportunities": [ "40d9f757-5040-435d-8235-598745dd773b", "5c218523-7a45-4eb8-b6d1-fb03b8eccf38" ] } }
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.