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": "5a661ba3-2077-4530-bcff-667f3db8f8ff",
  "ParentId": "3673cd7a-a3c9-41ee-a8cb-5bac9b4e94ef",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "35df2cc5-7e5d-4829-842a-4070cd90b87e",
      "c0138580-392a-4fd7-ade4-1ba585a8180e"
    ],
    "Companies": [
      "e17e8a0c-52b7-4148-bc59-d081d330b692",
      "bae5db87-cda7-4e3c-8a06-27e9197d2569"
    ],
    "Groups": [
      "16d17a17-7f56-4882-b1e8-6dc29e9b35d3",
      "4756e3a8-3666-4213-94cf-d33867126df1"
    ],
    "Opportunities": [
      "1bf7d6ef-93b6-47ad-a8b1-dd7449f70118",
      "81e17982-d012-43f2-8665-564ad5891ea7"
    ]
  }
}

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:
"336b4c29-5a16-4957-a962-5d2243ddced2"