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": "9da9ae8b-c061-4027-ac30-d748db0265ae",
"ParentId": "37a24287-ac56-4bee-97af-f6c5731e1c43",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"22582f15-dc61-422e-b2b1-ae9a4c6067f8",
"6ac5d3c0-2350-4101-8a7d-9ab77f29e61d"
],
"Companies": [
"87ffe298-8415-4e3b-abda-1af30b6d61a0",
"88eeb198-775a-4a84-96dc-c5cb09866d95"
],
"Groups": [
"10e1c910-3c6f-4bad-a29a-54bc6087c9b9",
"8585b42d-de08-4f92-bf7a-5f52ee9f6e4d"
],
"Opportunities": [
"c08d0f2a-8f50-46ff-b1d3-28f3ff2d1490",
"5e385f32-da14-4c97-810a-0ce525cfca44"
]
}
}
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.