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": "b2f97123-65a8-49b0-b4a2-78bfbbfc6b77",
"ParentId": "c29be4c0-98bf-43c1-a2ef-93658d7d17ce",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"fe6fef61-3484-4342-a5b5-6b9ff6ad8d50",
"102f006f-403a-4b4f-bbc6-8251de13989f"
],
"Companies": [
"c1de5b25-c9e3-4746-bb2b-4c46f02cd807",
"377dbad2-fb23-4069-83f3-e5db1965407e"
],
"Groups": [
"5982c36f-2f0d-49be-b7a1-80b2e5220c64",
"f2472164-3388-41bb-aebb-b473b82b38aa"
],
"Opportunities": [
"7a485e01-1205-4170-8a41-3b38fc9837b8",
"11c957f7-7fa0-4629-bbc4-d12bbdf6fe0e"
]
}
}
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.