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": "60330fae-e516-4d10-b131-867505b7e291",
"ParentId": "bc806803-9b3a-48f2-9bd2-3c0852f9dabc",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"d4fb3019-aab9-49be-8f70-ce613c757abb",
"100c7353-e4e0-4a59-810b-2b92652c3eef"
],
"Companies": [
"75c56faa-41d4-49e4-8380-891a387924aa",
"769064b3-51b2-41ff-a5bf-f50ab42338bc"
],
"Groups": [
"0ca77438-9f39-46c4-bdda-b25d0df68bb3",
"44dbc399-533a-4384-b462-8ae7119a9aeb"
],
"Opportunities": [
"553cedf3-58e8-42b1-b55d-a4550d6d4a9e",
"52b30ccd-8d80-4b82-857e-14bd7243a757"
]
}
}
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.