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": "c7d24a2a-99bd-4978-96d0-a2c2ae211316", "ParentId": "5d2881a7-92d3-45b1-8da9-0c38dc55928e", "Fields": { "sample string 1": {}, "sample string 3": {} }, "LinkedEntities": { "Contacts": [ "5b0057a8-7170-4234-9d9f-d47208afe43a", "f955b031-ee12-4efd-a002-09ff16ea5ec1" ], "Companies": [ "7ce157d1-f681-4156-9a6e-680092344749", "7d74efef-074b-4b82-ac5b-3955273b0baf" ], "Groups": [ "1e1335ef-bea4-4ec3-aa7c-6591cfb70f89", "62667e51-72bf-472a-932d-19e2b8437455" ], "Opportunities": [ "9227e49a-33d4-4033-9726-c5276e192e9d", "2502523b-15ff-49ef-8539-aed4fbf9f629" ] } }
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.