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": "011ea71b-1d6a-406c-967e-d413f42a7779",
  "ParentId": "b1e9a8c5-f383-4997-a20a-84e669dbc2ac",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "9620ce1d-c2ad-4364-8f94-963f72391b48",
      "b8b71df8-1d7d-4134-b20c-7c32ab95a20a"
    ],
    "Companies": [
      "14eb41b0-8432-418b-beb8-daa7a66f9522",
      "1d17b4e0-d7d3-457f-b609-3fbe9b561f3a"
    ],
    "Groups": [
      "c8fdb950-67d0-48c6-92bf-f12af58a4a8d",
      "0ce4bb6e-5b45-4f1e-8dfc-34945c467a54"
    ],
    "Opportunities": [
      "3449a93c-2e3c-487a-a412-828459dbec85",
      "52d3af06-6024-453f-8919-48c72b3fe6e2"
    ]
  }
}

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:
"cb1cfaa6-4ddb-4005-9c12-83735d010e65"