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": "6f40d2ca-c1f4-4ddc-8fdf-3d085c3a4443",
"ParentId": "87e4ad3e-ec96-41a6-9f13-9c2f0b1b4a79",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"ea970498-281d-49d2-8dc2-45ab1dabd439",
"4e06cf07-9d52-4d92-9eb7-2b8f180341eb"
],
"Companies": [
"307696fd-09b2-449b-abcb-e644a644b7c8",
"3673bb13-8b03-4ab9-8e15-273586a0d388"
],
"Groups": [
"6e2df321-3093-46bf-bb3d-1230680fcee2",
"cf9e1825-416c-42fd-96ef-878c55b10140"
],
"Opportunities": [
"69861abf-99ba-4bc8-a17c-d668f93bfdf2",
"86b28100-3923-4b3c-8977-8e754a77efeb"
]
}
}
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.