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": "55f318ee-924d-4bc1-b925-dd5e3fd820ff",
  "ParentId": "db1ef087-9171-4769-8e53-377f0aab680a",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "74995137-8b04-4f66-85a9-31d68cf0a400",
      "b5339954-2d0a-4554-83f6-baf6484da562"
    ],
    "Companies": [
      "c19ecbee-cb37-4c05-9cdb-c855061a8ddc",
      "2c3df06c-4b39-47de-9306-53a046ac8a68"
    ],
    "Groups": [
      "a680e4a0-4631-4b8a-9c0f-ebb1836e07b2",
      "ae504c4d-6d20-404c-a977-1621c7930e8f"
    ],
    "Opportunities": [
      "8f92cbcc-8a95-49a0-8592-94801a573e4a",
      "ecd81738-64ce-4c29-b5fd-eb0a5baa5534"
    ]
  }
}

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:
"2d2f594b-98c7-4e34-b36b-5e79787a3f58"