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": "cda85d3f-418c-437a-b1db-beb32345ebfe", "ParentId": "5b3f18ec-4ddd-4782-996d-43a163a3e501", "Fields": { "sample string 1": {}, "sample string 3": {} }, "LinkedEntities": { "Contacts": [ "8ac2fd12-8987-42c0-9872-2fb80122fcfd", "47d57335-8321-43e2-bcea-78946c40d07c" ], "Companies": [ "aba10c15-33d9-475e-9f9d-0db3da1964a7", "fc06d038-e349-4a90-bd06-d293e9374e7e" ], "Groups": [ "c22e763d-adbf-4d9f-a83f-c2b4ad20133c", "da85ca46-2b71-4caa-8c35-dea56e7ae7ba" ], "Opportunities": [ "caae3ff9-becd-4cd7-aa91-04e720ccbb92", "efc90ac0-478b-41c7-a3c6-392189bdf651" ] } }
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.