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": "f3a727ea-57ec-4f56-8d97-d8fd150a80ce", "ParentId": "f38d9da0-bfec-4acc-a09a-90007b2c7a6d", "Fields": { "sample string 1": {}, "sample string 3": {} }, "LinkedEntities": { "Contacts": [ "59aefcdd-b319-4594-9692-0de1a2c7e0d8", "f18a6413-904b-4f85-8c4c-2d8b2221fa8b" ], "Companies": [ "3e6122b8-b719-4a37-833e-b2248eeecc7b", "0585bb5c-add9-4636-9e85-402bafeb1e1a" ], "Groups": [ "12ba8511-427a-4465-936a-052a41104876", "5032b514-2f6d-45cd-b7f2-aac84c0f0446" ], "Opportunities": [ "5a06812e-6f86-4858-90ed-9db854d43111", "33a3bc67-5d7e-4835-8d82-e83d4df7bd56" ] } }
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.