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": "c9302e40-e216-4771-84e2-65319587244f", "ParentId": "9935d015-1e35-4759-b42d-6f8f33088188", "Fields": { "sample string 1": {}, "sample string 3": {} }, "LinkedEntities": { "Contacts": [ "70d156e3-11b0-4988-b194-40df695033db", "b127c63e-c5e5-43c0-b0a6-008b18aa635a" ], "Companies": [ "400d4ba8-9158-465b-a8ff-767fa6cd3885", "70650ad4-a545-401c-94ed-65e3d6eed959" ], "Groups": [ "0cb80bc6-fb53-4ff5-bbc6-23eec11a573d", "6f5ae31e-a162-4ed2-96bf-6830d94b50b0" ], "Opportunities": [ "b4f392df-191d-4f90-bae5-5ea3a662afe1", "0c02d235-2c49-414f-bb4a-a1690eb21c4a" ] } }
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.