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": "2c6c38b3-a0ad-46fe-8097-e890ab153041",
  "ParentId": "1167badf-84d6-4312-a6a4-d615ec418acf",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "babeb4e8-4f05-407b-a791-ef8226ce3caa",
      "8ab5acf8-c9f1-4371-a863-0fc465c4a134"
    ],
    "Companies": [
      "47303a73-d217-4742-afa9-684d70c7dde6",
      "87c2294e-530c-40dc-86f7-5df83e5c2ff4"
    ],
    "Groups": [
      "eb62d240-4cd0-4274-9fcc-68b6ae1bd826",
      "c137b1cc-7ee2-4c8c-abc3-0d84813608e1"
    ],
    "Opportunities": [
      "d4a0d3dc-377d-4aad-872f-03936c7aca36",
      "00091e9d-6552-42c9-847e-234f8d7c7aae"
    ]
  }
}

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:
"caf0d0ca-8c38-496a-b95f-7f15b440015e"