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": "dd46e30f-d973-4906-9cfd-0066f86c3edc", "ParentId": "f23bf9fa-c467-43fd-b4e8-8d7736ed6e00", "Fields": { "sample string 1": {}, "sample string 3": {} }, "LinkedEntities": { "Contacts": [ "553638fe-921b-4b12-91b0-c81bdf2e4e2a", "5ef59d3c-6aa5-4615-b0e7-ed480790d0b5" ], "Companies": [ "7be1a807-d003-48a3-bf46-9d99a7c8ad24", "0c8daa71-27c4-4900-98bd-c932d9ad611d" ], "Groups": [ "217273a5-3233-452d-b104-34a184c107d0", "e31df5d9-25b2-4280-8d14-052ea347910e" ], "Opportunities": [ "e065077e-f6d9-4f37-b09a-d7ac2911ae52", "4c88d40a-0e58-4d8c-ac37-54c1f6be6bc2" ] } }
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.