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": "c16ca4a8-8229-496b-823b-5717c420d021", "ParentId": "6b375062-3514-4eee-8c36-c79ac42f56b8", "Fields": { "sample string 1": {}, "sample string 3": {} }, "LinkedEntities": { "Contacts": [ "56f88e66-b677-4811-8f32-49c13eccde2f", "a0352476-e312-4bf1-b101-197558165b48" ], "Companies": [ "642b9122-69f0-4365-83b2-301a13ec1ba1", "a5a8bafd-61ee-4909-bda6-266de99dcb25" ], "Groups": [ "c2c1dbe3-d0ab-44f9-8d96-bb6245a02a98", "8b1679c9-6edd-44c5-a350-55ed35f6526e" ], "Opportunities": [ "3f1d56a7-4d16-487d-830f-62d485eba7e3", "8b8959e4-6776-4735-afe8-6ab3dd0ee49d" ] } }
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.