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": "f5ea3510-b5e6-4fe8-9d14-070ebf3b2de2", "ParentId": "d53e58bc-3fbc-41fe-83d1-98be518d7e1d", "Fields": { "sample string 1": {}, "sample string 3": {} }, "LinkedEntities": { "Contacts": [ "9881a45c-4941-42a1-9968-1c68d9629346", "3e4410ba-2970-4e60-9f2f-e15fb839f9fb" ], "Companies": [ "22b81995-9522-438a-8f08-07317ccc76af", "9231ee60-6aa1-405f-9fe1-874cc7ba02b6" ], "Groups": [ "1d62e68d-9a8b-449e-b2e8-976d28d646f3", "ea4126b3-f157-4e8e-89a0-cfb5cc3953e0" ], "Opportunities": [ "d8dcdacc-6686-4bb9-9295-da5428e01cbb", "0fd46e9f-29a7-467c-801c-d81fba57f74d" ] } }
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.