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": "76df0aa8-7c09-4297-9799-1d2a1f0bad42", "ParentId": "5f81ecea-a8a6-49cf-ad8e-ea3e1eb09e53", "Fields": { "sample string 1": {}, "sample string 3": {} }, "LinkedEntities": { "Contacts": [ "ecb6d453-283f-462b-8777-d887f16ee4a0", "44388e2b-bd99-4968-b474-56998d020046" ], "Companies": [ "7bf6fa69-b0a3-4230-9e28-4f3c8814fbd4", "312ab395-68e7-41fa-a3ba-ea33d518dbcc" ], "Groups": [ "9f9ca7b1-fe02-457f-886c-737e46d52830", "6b11b60b-499b-473a-b735-db447c753e32" ], "Opportunities": [ "bbece969-eca1-406a-b45f-f31444703281", "3040934f-8cfb-412c-a840-8b47dfc107cc" ] } }
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.