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": "1a491d4f-0bfb-403a-a2db-f924851bf5f6",
"ParentId": "2f0a0260-d749-44af-a7b1-96635d4eeff5",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"c1328390-7210-4a73-8b32-f6663ea456cc",
"3870b228-0843-43df-b34c-5866aa4f475b"
],
"Companies": [
"ea0087a8-966f-483d-a2de-1f25d291f128",
"0c13b056-2d05-445c-8e8f-b8a549ca117e"
],
"Groups": [
"d5fbbda2-f371-460a-9435-afb48026d5d7",
"791fa581-37eb-443e-88e2-50b64d1c16d9"
],
"Opportunities": [
"cab9d825-4cdd-4f2b-b176-14aa6187b083",
"8e66d390-c7fd-4c77-8069-50d5ce782d71"
]
}
}
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.