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": "171189bb-7e5d-42f7-9b34-97745f394558",
  "ParentId": "d43faec5-6acb-4218-957a-538873679240",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "a16fc692-fee9-4ca3-aa72-384651a32c97",
      "2cd2cb66-1537-4384-92f6-01c42d6cdb38"
    ],
    "Companies": [
      "c83f05ba-0295-442f-8a1d-c66894d5ad03",
      "74c1bc50-5acc-4c96-a82d-3057aa7176c0"
    ],
    "Groups": [
      "eec51128-b110-412d-ae64-86c593f2a31f",
      "8375f99c-c0f1-41f6-911f-ed8d1a78ea30"
    ],
    "Opportunities": [
      "dc39bce8-3e43-4382-b5a7-cea27de2ca7f",
      "42d47141-6bbd-4203-af06-445c692434ec"
    ]
  }
}

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:
"a39b709f-dc66-4d51-9a3e-7eca4b2c5a60"