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": "a38e8183-1051-47f8-93c7-bf4fff5150e5",
  "ParentId": "720554e8-8139-46db-8f94-a23672cd2155",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "2b864df6-b816-4367-ae29-82536478de53",
      "b250c760-872f-41e2-957e-20f9c9efe567"
    ],
    "Companies": [
      "797e290f-be22-4b05-9143-d5a50b8f43f9",
      "eebc8f54-49f3-44b3-85a7-dceb9a742190"
    ],
    "Groups": [
      "355f1530-39b2-4dde-ae48-228a0830f1d6",
      "7746b385-07b2-4fd6-9cc8-fb2bec25112a"
    ],
    "Opportunities": [
      "8a55fec8-c2a4-4d91-9afb-661751213068",
      "14631fb5-dd2e-450c-b65e-dd9945e00d56"
    ]
  }
}

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:
"fcddeca1-1e92-4b28-9587-95890138116b"