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": "4d9be2f7-5bf8-4ecc-a27c-6794ed4625fc", "ParentId": "97a6df4e-ae9c-48e4-a99b-bd967f6bee6e", "Fields": { "sample string 1": {}, "sample string 3": {} }, "LinkedEntities": { "Contacts": [ "c95ff568-fc96-4a6a-ac3b-6956c37f582a", "4f48690a-093c-49cf-9c71-cd244ebbe98e" ], "Companies": [ "59cd7049-e6b0-485c-8c4c-c997c0dbb300", "b8e98f93-9072-499a-bcf3-350d9926d845" ], "Groups": [ "fcbd12c8-9548-4859-a9ae-2e5515cc4daf", "f9a8e2d6-5654-4ebc-b634-d15cbce1d3f7" ], "Opportunities": [ "0bd28e59-4844-4ee2-9fb3-ac7ed236dfd5", "d81a0d94-f156-4306-a8aa-e974599be32f" ] } }
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.