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": "8e6cc7c9-8f0d-46b4-b6fa-3430c06e7642",
  "ParentId": "a482c8fa-ad7d-4d23-8a22-da3d26b56457",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "61847846-8cfe-4990-8035-54f5fb868344",
      "cbe22714-7798-4be2-bdc5-a41d6b598d42"
    ],
    "Companies": [
      "e8d646b0-e0fd-46d5-a485-cbdf984dbb94",
      "7d54739b-f52e-43dd-bb6c-c07be4a5e850"
    ],
    "Groups": [
      "9261063a-987e-47a9-949c-a6260ba999da",
      "63f200b1-09c4-4729-9b97-6ffbbd64b4aa"
    ],
    "Opportunities": [
      "6c05b81a-9045-4e56-b40c-75214f1e3d98",
      "6e57810a-0902-4aee-955c-a6993b7f204a"
    ]
  }
}

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:
"aa0b5e31-1075-4df6-bc6a-a18962fb63c6"