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": "22b90b48-afd8-4003-8365-738b8680ce76", "ParentId": "3aa1fb94-5359-49ab-aafb-e2f9d0c131be", "Fields": { "sample string 1": {}, "sample string 3": {} }, "LinkedEntities": { "Contacts": [ "16f2796a-bb09-4daf-be43-05b99e5932f3", "c79657cc-cf58-4ca6-a30e-109e3c4b6620" ], "Companies": [ "32980829-d165-4f59-8b37-122aa208199b", "76ee1f01-95c4-4329-9613-e320085d081c" ], "Groups": [ "8b21c723-6715-4315-821b-56abb5628f28", "74b85f43-4651-4499-a760-a8c54b63e3b1" ], "Opportunities": [ "dab60109-290d-4800-9220-a6c09b15b2ae", "10ac1d8a-4802-4edb-9a46-f36b042e1978" ] } }
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.