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": "68676ee0-3527-4cba-a57f-c956039e13f2", "ParentId": "eed5562a-f87c-4ab3-809b-66d969239772", "Fields": { "sample string 1": {}, "sample string 3": {} }, "LinkedEntities": { "Contacts": [ "490a037b-7f45-404c-a0ca-b7fa1ddfa934", "416d8a6b-1778-46c4-8da6-1e17e18bf909" ], "Companies": [ "dc597905-3422-4273-8c42-6a132b1d176e", "dcc96443-bee1-42bf-b6fd-883f3564ec4f" ], "Groups": [ "82f64487-4bf5-4296-a3db-2d25d9c270a7", "fbaf7970-7d27-4279-922d-b73e8e29c248" ], "Opportunities": [ "114c77db-ff89-48fe-9993-75430e53a93b", "4312dc45-c6be-455e-b59e-abd50b5182c1" ] } }
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.