PUT api/Opportunities/{id}
Updates an existing Opportunity Record.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Id of the record that is to be updated |
globally unique identifier |
Required |
Body Parameters
The 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": "07eeabe1-52a8-41a8-b436-18320032cc0d",
"ParentId": "ff3d148c-3139-42d4-b408-0a69cc47f1da",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"bf77b299-3d06-4da9-93ed-39eadb113f0c",
"abfb7a87-5dfc-43e0-9e36-f18e060190c0"
],
"Companies": [
"75639f98-5b43-43e0-b7f6-62b62951bace",
"c9064bdc-4049-44b1-bc6f-78dce56653e7"
],
"Groups": [
"f183c8b2-d309-4113-98dd-1fcd583e43e9",
"0a5ca370-4c90-437b-80ae-858852a742f5"
],
"Opportunities": [
"aaa6b34b-4a0c-4fc6-a1b8-6655de51314c",
"248e09ea-0b5e-45bd-8f2b-717d638f9f6b"
]
}
}
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.