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": "5a0d944f-c9b5-4bd7-b4bb-61ac73c4fb36", "ParentId": "285d2d1c-4197-438e-9b7c-6f689543f600", "Fields": { "sample string 1": {}, "sample string 3": {} }, "LinkedEntities": { "Contacts": [ "06285495-8d8c-4934-b0bf-ed0cc2b23162", "59b19447-6719-4b3d-bae0-473701dbf8b5" ], "Companies": [ "3d8622bd-c566-4f9b-ab2d-83a6d6229752", "12528d49-864b-4bc4-849e-a7ddcaa22754" ], "Groups": [ "4d50ba76-2704-42a2-bbaf-ea10c443b99d", "a62e424b-4fe2-4c61-872a-46f74c9e3a48" ], "Opportunities": [ "580a5c9a-27a2-4730-adc0-b68f0703418e", "485b0d3a-addf-4e4d-a07b-905c74ca301f" ] } }
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.