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": "6726685e-f27e-45f3-8e7e-9a4dbef66029",
  "ParentId": "52bf1590-69a7-418e-a813-a5e1d4673380",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "6535b966-fccc-40c6-ad7c-3b5ee7966741",
      "ad5760f4-8793-44d2-8885-a63cc1df1fa4"
    ],
    "Companies": [
      "1a5efb31-8a50-4a69-afb3-933b5fccd591",
      "52c947ef-354d-4b7b-8a34-4a9a446ce055"
    ],
    "Groups": [
      "fe1b599c-f69a-459a-8787-e1ebc4b4afce",
      "9b6adc64-0944-4743-ace8-4c10a74c64f1"
    ],
    "Opportunities": [
      "20869286-c4f0-4e92-a6df-b478ebd4e109",
      "ee89d60b-8037-4e5f-89c5-c811390c7bfa"
    ]
  }
}

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:
"5b117b88-052d-4b84-95c5-1383b35e99ac"