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": "f81959db-e673-490a-8270-dc123c600bf8",
  "ParentId": "7b5a95f7-aeda-4693-a518-b3d3632ea2de",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "4d0b8b4c-a06c-4fda-9d0b-0e86a40c555b",
      "e78c33f3-1781-49d0-b9a0-77290b8726fe"
    ],
    "Companies": [
      "e0f58d77-ee21-4810-b4b5-d9fcde56f610",
      "4b9de720-2ed5-4f24-a32f-5df340cff03d"
    ],
    "Groups": [
      "d49a36ee-7278-4b51-aeab-1b1b7a92197f",
      "dba71a9c-64bd-4614-aefe-1cac62dc7084"
    ],
    "Opportunities": [
      "8a155e55-439b-422c-8e4d-ea693c89fe9b",
      "6fb180e2-b3e5-496d-b645-2b3b8af39927"
    ]
  }
}

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:
"c23c65f7-0c20-4de5-bb4b-4553f9c30963"