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": "4cb363b0-93d3-45e2-a44f-411d41f1b66c",
  "ParentId": "858969fb-261b-4b84-8b13-5e1fb9e991be",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "f516181d-11dc-4665-9957-6b05c75ffabe",
      "9652a5fc-bb95-433b-9b7f-663b7640f1b1"
    ],
    "Companies": [
      "503fa6ce-3dd5-4853-bf1f-1276ebb5a59e",
      "1c93d480-2351-43bb-a7fa-e7fef8709707"
    ],
    "Groups": [
      "56f72890-c0ed-4e15-85fb-ebc30165a2fd",
      "b1a5c8df-9c38-442b-a2ad-da87bb549a5b"
    ],
    "Opportunities": [
      "10158ca5-61d8-4dd2-90d3-d468dc1581f7",
      "ac2e79d6-58d2-4a90-84d3-bff097cce798"
    ]
  }
}

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:
"74351f0c-ee30-4dae-8c74-37e20e6a2c92"