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": "a384b701-9bc8-4d71-b6dc-618349670612",
"ParentId": "2c0e1011-895d-4ce9-ae54-105f68df1545",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"1b4a41e6-7e01-4299-a7f8-9760e86b6cc2",
"0e1daf7d-113a-4a20-b3b6-4df9c884a2a8"
],
"Companies": [
"449a6ae0-af51-46c3-89de-cb1b854afa1b",
"eab2a02d-dd77-49bd-b0d4-89b05151f90e"
],
"Groups": [
"1ebf33ed-5c87-46da-9441-c4762f0d121d",
"9afd6433-41c9-4873-8923-fa69cdd4ca6a"
],
"Opportunities": [
"844963c6-8c47-4b43-b6e4-43880b68f9a0",
"8cba9220-e148-4ff5-9984-4120f37a7306"
]
}
}
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.