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": "d02fc004-7053-4243-b412-264eb0045048",
"ParentId": "11909f55-07ca-4176-a52c-3eac07e0a46c",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"d30060c8-84d3-482e-8fcd-dfc6b3b97388",
"5a284749-efac-46fb-9a5e-9d78a030156a"
],
"Companies": [
"20e19d62-cfd6-4048-8326-793e72ca403c",
"e0422193-21ae-44f8-8da7-8548a28eeea5"
],
"Groups": [
"b3e5d09f-d7c2-4b9f-a18a-f6147f25f750",
"ddf91f70-6faf-4d53-8e92-dbbc76d402ce"
],
"Opportunities": [
"8173a6c4-58d4-427a-a8fa-abbf682f7474",
"f2d596b6-dc36-40c2-b935-06388ca569b4"
]
}
}
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.