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": "f24b8faa-9784-40b2-98a5-c90ec26e7737", "ParentId": "7ca65fcc-ece9-4c3e-8479-ff3a47026587", "Fields": { "sample string 1": {}, "sample string 3": {} }, "LinkedEntities": { "Contacts": [ "23c41762-80c1-4c45-a372-47621f40513e", "e2212118-7b45-462d-9829-3d331071c40a" ], "Companies": [ "555ce33b-d7cf-4839-8336-cf5f0ce294e1", "c42d77d3-dff3-4899-9946-c935a2e875e6" ], "Groups": [ "8ebdcd4f-9fcf-4c74-b14f-bf7175685312", "1d82e957-9df8-422f-90b0-f435b7b974e8" ], "Opportunities": [ "284b236d-b628-4a8d-bb9b-96550ee694a3", "5d450706-daf1-4c76-aff3-80fffc5e5a4d" ] } }
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.