POST api/Opportunities

Create a new Opportunity Record.

Request Information

URI Parameters

None.

Body Parameters

The Opportunity 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": "9d4950d5-da43-40e4-9a26-97f1764fb267",
  "ParentId": "ed9b9340-4032-48f2-a04f-11e726523057",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "d5accee5-5a79-438d-a54e-5644ba33b78b",
      "2366333c-7a5e-4ee4-9adc-fd7ae86f17d1"
    ],
    "Companies": [
      "7c657376-8450-4fac-8b61-9c881ed85b45",
      "2c5f8b15-8bf5-411d-8adb-7af854fbb94b"
    ],
    "Groups": [
      "1fdade06-e705-473e-8611-1c08dfc31e00",
      "84d801ed-3803-4497-8d7a-da22c18b986f"
    ],
    "Opportunities": [
      "b2e45ab0-fe2b-452e-9ce9-6dac16ec0dd9",
      "cef96f24-0888-4dd2-934d-59570a8f5373"
    ]
  }
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

This endpoint returns the GUID of the Group record once it is created.

globally unique identifier

Response Formats

application/json, text/json

Sample:
"bb485334-1212-4e0d-9c4d-4aa946a6ccd9"