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": "cda2392a-fb27-46fa-a719-39eac1f7a951",
  "ParentId": "aa483e42-bbcf-4e3c-8bb8-cf96adca9b55",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "a9b39352-2c63-4e0a-ae6d-e3b7013a3996",
      "d7f7b921-222d-4a10-840e-db57a05c461d"
    ],
    "Companies": [
      "fabaa89b-6c4f-48b0-8ce0-43fcc3605480",
      "d5d8ab2e-ae5a-4b87-b26d-7c7c1ce5c4b0"
    ],
    "Groups": [
      "68fe55d1-bdac-4149-b2b9-6c9ef651f87a",
      "6466e931-a642-4df8-924e-ff3830310ae7"
    ],
    "Opportunities": [
      "63a4c252-3ab8-4045-96cd-a51f81f58889",
      "1bcbb47c-d79d-4312-8f88-fcd2456360a9"
    ]
  }
}

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:
"e3d6a185-b5fd-4582-8ad0-98009cf95f99"