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
MutableEntityExtendedName | 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": "1fd24dc0-c8df-4468-8acb-025feb81ac87", "ParentId": "24145ccc-943c-4a58-9b93-ac3bd5b2b9e4", "Fields": { "sample string 1": {}, "sample string 3": {} }, "LinkedEntities": { "Contacts": [ "dd2ef85c-bfdb-4f94-82c4-e01e1823832b", "96cdf905-7a83-4e49-94b6-8196f782a889" ], "Companies": [ "acb3cf7f-f276-40b5-a586-958c2de73adf", "38c9e4e4-14b8-48cf-905a-3f402d7a31e2" ], "Groups": [ "87f49176-415c-428e-aeea-98832dbc0841", "0e3bd4ed-5aae-4b0a-8663-bc4258367bae" ], "Opportunities": [ "246dccb6-6f95-4958-b0a9-feab6cc72949", "0faf47ed-fdfd-4abb-b29d-fc0745feff90" ] } }
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.