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": "615afd21-2ba0-45b8-a8ae-a8edf938ae5f",
  "ParentId": "e0a9d550-033d-467f-838a-fd94b0d4df16",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "63630a6e-9afc-412d-9834-860f96994953",
      "3c0befe0-944d-450a-8c73-09690c4a62d2"
    ],
    "Companies": [
      "b61c1d79-ef60-4aca-842f-b1442db39923",
      "30362826-d455-4a43-a762-5762092c2252"
    ],
    "Groups": [
      "6eb15d5a-0c0e-4afe-9762-dfe3fe91d3d5",
      "79b3b0cf-d615-4d99-b76f-910159471c22"
    ],
    "Opportunities": [
      "5fee4274-60ee-4e3c-ab6a-984516eae941",
      "31da18e6-0089-4da5-942c-3a3248528423"
    ]
  }
}

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:
"c1b3a97f-b7f1-45a9-8887-72fb19713f76"