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": "67fc608a-48fb-4f9c-b909-0ddcc1fbfb85",
"ParentId": "5ab5bd8a-063f-4edd-97c7-5cc14ffe747c",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"62e19dea-82a5-4e5d-8b71-43fe546a240d",
"0c28ec72-dc29-4485-9582-b03dca6405c9"
],
"Companies": [
"43d1be8f-49f2-44d4-a8ed-96e6fcf7162e",
"b68231ba-4dc0-42a0-b2d0-a422674ac08e"
],
"Groups": [
"eaebf0a2-8683-4cc6-83ae-849ac737fdfc",
"ef600282-e6d4-47b9-9fce-ca9525751126"
],
"Opportunities": [
"5926db8f-560f-48f8-9082-ed5e0acdf2e5",
"7d81a502-e750-4d7b-b24a-cf46f74339f1"
]
}
}
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.