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": "d8923750-15b2-4979-ba70-5e7b9a1fc727",
  "ParentId": "f468d067-d238-481e-bff0-6e6a5c049a9a",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "9b4b0fd8-3cbf-4f37-8a42-5c24462c5ff3",
      "c8002053-c6dc-4a97-bde4-c319bf388828"
    ],
    "Companies": [
      "9a07e260-ef1b-43df-a7e4-83f7576011ae",
      "d3c12b4c-01d2-4f2e-8b2f-c5d5b4793845"
    ],
    "Groups": [
      "31103295-d40b-4a90-a78c-377a2aa257bd",
      "2dc5b00a-ef43-41c9-be64-b8af754a8600"
    ],
    "Opportunities": [
      "015bd8ab-f9f1-4405-a828-79e142e7bb2d",
      "c426b019-23cb-45dc-a232-d03e7cb589a8"
    ]
  }
}

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:
"1ebccfde-830d-4abd-814d-53fccffdb076"