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": "684cf542-4ae8-4965-a01b-aaa6f29b9e3b", "ParentId": "57e8ab9c-eebc-48e1-868a-e9f757e6b559", "Fields": { "sample string 1": {}, "sample string 3": {} }, "LinkedEntities": { "Contacts": [ "6f9088fa-515f-4d9c-979d-2e35af05857e", "83404515-ef57-4303-8828-5ad0ad35fa4c" ], "Companies": [ "bbc5538d-5a50-4218-a08a-cde9d1e72905", "a65fd8fd-99fa-402b-b140-4f1e51cc47e5" ], "Groups": [ "71881809-4aeb-4f40-bcc3-6a7fb753ab0c", "fdf8f6ef-fe7d-400d-b8d9-b6cfd22095a0" ], "Opportunities": [ "d3b43174-1448-42db-be9e-a139c91888f3", "aef8b160-0c4f-4977-b31a-ade7e6195fd3" ] } }
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.