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": "1a7f5eb4-03d3-4544-b136-699116968973", "ParentId": "5262ab89-86ea-4e34-8e13-dbe7fe9b7626", "Fields": { "sample string 1": {}, "sample string 3": {} }, "LinkedEntities": { "Contacts": [ "7f5a55e5-99d1-4b48-863e-ed72f23841f8", "308c4e91-88f6-4f04-ad61-9232a115b7ff" ], "Companies": [ "ab1540f8-80b1-4a35-b747-3adda61a5da7", "cb8f8715-fbf9-4bba-83ef-09d5e4dfe40c" ], "Groups": [ "d69d4afc-2334-4fb2-a384-8074b4db7bfa", "4a04c653-c3e4-4423-9e5d-3ce991b15de6" ], "Opportunities": [ "4221a875-b215-4c4f-9c01-dbee45b1eae6", "fad60340-6191-413a-a942-054b95f1def3" ] } }
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.