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": "e0943e53-2088-41e2-9b57-31457f0556cf", "ParentId": "9916828f-cf4e-48dd-ad4d-1d74c9b68e13", "Fields": { "sample string 1": {}, "sample string 3": {} }, "LinkedEntities": { "Contacts": [ "309cc44c-d7fa-4753-8d0c-8ee1041e0502", "5074cc6a-e86c-4dab-a206-a93543386574" ], "Companies": [ "b8ce95bb-35da-4fe3-aa4e-8b8f2b48258f", "71ee2c29-91d0-4919-8a83-0acb3a7c4d17" ], "Groups": [ "eeeb1da5-b063-46fa-85db-1461e42d1900", "5679fcbc-33b2-4554-a7a0-6579cb4a69e0" ], "Opportunities": [ "f3b06f96-11bc-4368-9bf7-9b5e88804240", "5f459768-df16-4411-87fd-7abf73316e11" ] } }
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.