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": "cebb2acb-2d9a-467f-b999-c07967b2f03f", "ParentId": "1b54527f-8d9a-4d1f-9c69-918528ff7e7c", "Fields": { "sample string 1": {}, "sample string 3": {} }, "LinkedEntities": { "Contacts": [ "728e7468-367a-435f-87d2-9a9a6ff7d456", "b21138aa-f270-4dbb-b623-73682c5fdbc3" ], "Companies": [ "f2f07597-7fbe-4828-afc1-c4576dfe4cf8", "7862f30f-8ce0-4bec-8a77-9bf1e0397d74" ], "Groups": [ "d9bc8517-1d57-4802-98f6-e839dadefa96", "441745d4-3ea9-433a-a803-79fc5c8e092f" ], "Opportunities": [ "5048525e-de74-436f-9d86-079731ec571f", "9d96b3fa-4bfa-4787-8e5f-7d1298b21e4d" ] } }
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.