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": "731218c0-8cf4-4578-8a29-3776af428318", "ParentId": "add4bff5-b14b-4e72-9a6e-4121957e8c25", "Fields": { "sample string 1": {}, "sample string 3": {} }, "LinkedEntities": { "Contacts": [ "4abef034-2110-4148-83d4-93803339fac0", "c0f06a90-bf54-4a6a-aaf7-b2220c8c712e" ], "Companies": [ "6054649d-0840-40fb-997d-dc8b1707fa97", "86e8dd72-8e96-43a7-9da6-233f2c1692ee" ], "Groups": [ "c7fc69d6-0466-4327-b5a2-130a168dd43e", "41a1c066-f9c3-42f6-b457-f65ed0298939" ], "Opportunities": [ "a6f54470-1c99-44b8-9cf7-8d6723293930", "4fbcac3a-2808-47a3-9eba-c2236c0d53d0" ] } }
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.