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": "fa2a3615-010f-4230-a6c8-0645bae98504",
"ParentId": "99d6eb6b-04d3-4079-a912-9c19987fa74e",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"5fdd7265-4942-47c6-ab87-5647ec890b32",
"e2451ce5-4668-4b94-9ff1-04afb2df372b"
],
"Companies": [
"700eec1e-b2f4-4b64-b8e8-8a761267cac3",
"a48e7d42-a3ec-44fa-be45-64025e7e3ffa"
],
"Groups": [
"fb449eeb-2910-402e-bb53-42c12ad7d9ca",
"291a7076-2e0d-4acf-b7ae-cec22f4ea014"
],
"Opportunities": [
"1daef71f-6da7-4478-b307-b66d033994cf",
"b4bf8ba7-fe4d-4516-9104-f12a19666c4c"
]
}
}
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.