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": "00b750ec-ddfe-4f70-a271-256d474e29a0",
"ParentId": "b4288959-4aee-4422-8346-2e76b927fc1a",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"9fc54516-73ec-40af-b952-5cb6fb857b22",
"99e10ea3-91e7-4300-97c3-26860e49ca02"
],
"Companies": [
"5bf260c9-5e20-471f-a2ea-b96e000fa5e1",
"8d99790f-8178-4879-9ec2-480d5dd69f40"
],
"Groups": [
"ca5665f2-ccce-46b8-8910-0e746181f8e8",
"fda43d4e-b36d-4b63-bbe4-af7b20d5771d"
],
"Opportunities": [
"672994fd-cdf3-418b-a270-aecff3e1daaa",
"1c2ba5bc-3908-4237-b66e-e3b171917c86"
]
}
}
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.