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": "93aa874d-30fd-45ab-b9ea-e6976719bbe0",
"ParentId": "27cbc72b-2c6f-4037-8502-9a956c65a2f6",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"5e2dbece-8ece-410d-812c-7d25f75db9e4",
"488af445-f934-4dc1-9a92-10d1d786f678"
],
"Companies": [
"cc767782-f4bb-4d6c-9498-8be7bd6f7259",
"859103cb-d57a-4d94-8e5e-ed16235779d2"
],
"Groups": [
"35ea2909-5c26-49d1-84c4-93bfffde9139",
"0b1b31e4-b5de-4e66-acdc-f2b397771b2e"
],
"Opportunities": [
"917defe2-39bc-47b6-ad07-0e4936a19bf0",
"c8ddeb55-0ca0-4154-8fb6-e3fb7582f7cb"
]
}
}
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.