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
MutableEntityExtended| Name | 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": "e71ce096-7b36-43e3-a56e-8f39168e541e",
"ParentId": "82baa1b9-f98f-4d4f-98c1-91a96c8cd579",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"ff1eea4e-c04e-467e-b13f-6407f4022650",
"84a6434f-89d4-4774-b499-a9eef928bc4f"
],
"Companies": [
"e397145e-ca38-45a5-9c81-cffe6435764a",
"0a76691c-f40c-43ef-bc68-6a019bf31902"
],
"Groups": [
"c1673937-c11d-4ef2-9226-54b663b5fabb",
"33b499e7-bc9e-4f6c-9778-aea1c4b8ca7c"
],
"Opportunities": [
"7391e65f-63e5-49b5-9961-d96444562da5",
"162b7f71-c228-4854-9165-53dfbafbbb3c"
]
}
}
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.