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": "90fd5f77-814a-4e55-abba-0b1dd0cbdb09", "ParentId": "f1049d00-ffe7-4021-a8d9-08485ea4944b", "Fields": { "sample string 1": {}, "sample string 3": {} }, "LinkedEntities": { "Contacts": [ "309c1285-a7c9-43a7-be83-9cb0e1abb524", "9e8be35d-6d5d-4272-9824-74987c6f8dd8" ], "Companies": [ "66035399-9b05-4039-8a10-c1558079e9a5", "7613c0aa-fb0b-400e-93f4-02ce33faff04" ], "Groups": [ "cc6af657-e638-4bd3-96b0-0d9c475fbb92", "d5351725-f296-4ed7-9f43-5693bd6a08a2" ], "Opportunities": [ "a37c01a6-fe5e-4d0f-8806-3ed5a37e5afb", "fbe5d59e-3002-4a17-8f5a-154591f0264d" ] } }
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.