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": "971971aa-336b-4f43-83f4-cfac9a077e38",
  "ParentId": "8c8d1296-50f5-4375-bf76-79cb790169a4",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "c1c7b893-2a3f-4720-a73b-a81b7c0d3a33",
      "d1ae4a7e-6a86-45c1-8bfd-68b172c90fbb"
    ],
    "Companies": [
      "d903e3ad-5f10-4e17-8db8-7614dd30265b",
      "430fa6e6-67aa-4533-a193-7f34017ef687"
    ],
    "Groups": [
      "2751d85e-ff6f-441b-884b-d8fd61535a24",
      "b2cdca0c-a60c-4339-8fc5-b2027a523857"
    ],
    "Opportunities": [
      "38670a41-3239-4048-b352-b6c86c86fbb6",
      "c883de52-ddb1-463b-a0c8-84da3ef47f80"
    ]
  }
}

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:
"77c986e3-75ca-4f1c-9b5d-9e898c703b64"