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": "96adb27f-6091-4741-8d0b-bf0f4ae855c2", "ParentId": "255d4940-96fa-4387-82fa-a50d714507e1", "Fields": { "sample string 1": {}, "sample string 3": {} }, "LinkedEntities": { "Contacts": [ "3d439cf9-6ca9-4be3-a4f1-8dcb52e7d67c", "c65a2778-ea80-4395-ac5e-464e98757813" ], "Companies": [ "53cf21ba-8cb8-4f0c-8e9e-c1ba725298ee", "0695a0c9-43d7-40e3-b4f8-667264e9b010" ], "Groups": [ "137f93bf-7b33-4460-8917-ea55a1973fbb", "77e62918-cb0c-4efc-b767-6bbc3bd24264" ], "Opportunities": [ "d2c2b284-d15e-4e7f-8841-90463c7021c6", "71989183-5d62-4721-9ba2-615bb8e3e2e9" ] } }
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.