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": "bcd59f04-4409-4323-997a-5d0a75b4981d", "ParentId": "defa7e80-268b-47f8-aabe-3d786f432ddb", "Fields": { "sample string 1": {}, "sample string 3": {} }, "LinkedEntities": { "Contacts": [ "fdc49606-196b-4361-802a-3a292afc3b44", "72e86eb1-5bdb-4bb6-bfdc-c7b2519126f7" ], "Companies": [ "e77632f8-f041-40ba-8816-d9345135f59d", "cb74a7d2-b4e9-4d90-aefa-cd36305aa337" ], "Groups": [ "38741ded-3682-4d62-b1ce-9484e9b5fa92", "98be7a13-7705-4457-90ea-2f3db719f906" ], "Opportunities": [ "e28bd9ef-da43-4719-b89b-ef0af9c97c96", "babab18c-8cd8-4dea-83f5-60bb0c7e1a20" ] } }
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.