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": "a32c531f-75a4-482c-b411-27e322abf6a4", "ParentId": "7950c5d2-ac4f-4d91-b37a-86ed2da9cbf1", "Fields": { "sample string 1": {}, "sample string 3": {} }, "LinkedEntities": { "Contacts": [ "4f5c4829-9675-4e73-a22f-26cf2ab1a6d1", "c6861d30-fcf4-4a81-add1-c05923ac6a43" ], "Companies": [ "082a2f79-6938-4bfd-9595-642c878f812a", "57df3c4e-8089-4ed7-9bc9-87327eeb79a2" ], "Groups": [ "ccf2d803-6ba2-464e-adbd-04a69ba74713", "3f7120c4-5e2b-432f-a335-d07a0432eed2" ], "Opportunities": [ "7f752a13-d080-4475-8f5f-b91cdb3a3610", "9b443420-e27e-4b60-a250-79b1cc24d7da" ] } }
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.