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": "1e12de55-9dd0-4f77-886e-3abbcba98379",
"ParentId": "4f290d59-9cfe-4804-a13a-b6905c9a63bb",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"89d5645d-924d-4882-957d-a1e0c47cac63",
"1f4d6564-2030-4d8f-a3aa-a671c8477621"
],
"Companies": [
"85aa49f8-d1c8-431e-bb32-08ba7e583733",
"5b5e58dc-6f0f-4410-a85f-1cb08ba7e399"
],
"Groups": [
"43b83982-92f1-4a70-a045-3e50e56a6938",
"c7c05889-d3a3-4b48-b7c4-14268483f4a8"
],
"Opportunities": [
"42eb542f-00cc-4997-960c-05c60726975d",
"fe9fd7da-06aa-4887-be92-feaac476cfbe"
]
}
}
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.