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": "c5ae4233-cc94-4de8-9057-5be93144ac7d", "ParentId": "95d5a3a9-20c3-45d9-aa3d-1e1af4f387b9", "Fields": { "sample string 1": {}, "sample string 3": {} }, "LinkedEntities": { "Contacts": [ "0351afd0-0ce7-4c79-b176-b817e4a406da", "2bfdb767-8f97-4802-874a-75113572983e" ], "Companies": [ "05b2629d-a8d1-4889-8787-b04e54c5b339", "44f1aff6-9aa0-43c8-b800-d5f00496a985" ], "Groups": [ "7e545b48-841c-4a9d-9f77-4fbf5118e99e", "7bee68a3-019f-4f5f-846c-5e619deadbb8" ], "Opportunities": [ "0f4e24e8-b6bc-4575-876e-e6a5c784f126", "04817444-6e27-4110-8167-34c80f8856bc" ] } }
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.