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": "aee4fc57-9d9d-4e7f-a62a-eed3f5abaa30", "ParentId": "ae12e0a8-b7b7-4402-8c34-8873bf1da996", "Fields": { "sample string 1": {}, "sample string 3": {} }, "LinkedEntities": { "Contacts": [ "54061a55-5b8c-450f-90e6-10db9f7f1c25", "d6dda8cd-c6aa-4de7-b29a-4b3761babe97" ], "Companies": [ "1fb032b3-73d5-405f-9cea-b732fe3b903f", "bdf5f66a-2cbd-421a-a19c-2bee57fc5457" ], "Groups": [ "908fdfe2-8834-42eb-bd9c-92e530de9e1f", "709c3b8e-df7e-4ece-8c64-d5a1a41d48c9" ], "Opportunities": [ "2197e764-e3a3-4c5e-804c-b940cc6ab3b5", "d50faabb-38f5-4a6c-b6d1-a62c9e1c7c4f" ] } }
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.