PUT api/Opportunities/{id}

Updates an existing Opportunity Record.

Request Information

URI Parameters

NameDescriptionTypeAdditional 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

MutableEntityExtended
NameDescriptionTypeAdditional 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": "76061b66-d106-4083-985d-fea0cefbe9d2",
  "ParentId": "5f2064b5-52d7-4598-b8d2-875d4a618ce0",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "0ad65a93-2acb-41f1-a5c2-d716d638f92d",
      "6ae5c433-ec0c-4f26-981b-8a2f18506eee"
    ],
    "Companies": [
      "ce963d8a-2039-42a9-8a27-dfae255f9b6c",
      "7ff1d270-6ed0-40b0-90c0-19258444d159"
    ],
    "Groups": [
      "101fa44f-89cc-46d4-a79c-b507bce03b60",
      "b4628414-a93c-4aeb-b762-8f35af33d7d4"
    ],
    "Opportunities": [
      "35c70814-797a-4671-932d-ab07b483de3b",
      "c5b734dd-5ddf-406e-beca-7e82e5a2f297"
    ]
  }
}

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.