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": "3d2bdb1a-6130-4c41-a8e3-b1f87654dea4",
  "ParentId": "143306b6-3d3b-441b-929d-f6462bfc7a56",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "96a037d3-7a87-4862-9862-67a5607ef873",
      "49e9afe0-5c00-493b-8f0f-fbf9c07af8fc"
    ],
    "Companies": [
      "968674e0-091d-4caf-bd49-85c13a8539db",
      "a955a32b-e2e0-4ed5-968c-d9a18d682394"
    ],
    "Groups": [
      "a17b205a-9986-4b98-857b-194d95d6fca3",
      "e7079067-2e4f-44d3-8bbc-b2d18dc7a81d"
    ],
    "Opportunities": [
      "15aea033-071a-48d9-b22b-8be5783fb550",
      "00740293-7823-41e3-a3c9-69bbe0b6f246"
    ]
  }
}

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:
"3b66dab1-7f3c-4f58-9a3b-028f64ab981e"