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": "87d06424-acba-4aed-aeab-b079284213b6",
  "ParentId": "97092cc0-5165-4ba2-9a4b-2052544cbbb4",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "15ffcde2-ac4d-4844-9e7c-de943710ddff",
      "4518aa74-1684-43be-bef1-5fb9dbc21aa0"
    ],
    "Companies": [
      "d2f9adf8-74fd-47ee-a982-2fb72e819fd8",
      "1626a792-ec79-4df4-ab69-933999b76b94"
    ],
    "Groups": [
      "db8bcc07-f6a2-4a37-8d6e-0692bd7ff33a",
      "13316017-5539-4681-b2b9-a3c401a6bb1b"
    ],
    "Opportunities": [
      "d939092e-62ff-4398-a762-394f44f153d5",
      "75bd5d45-7b55-4e94-b710-8849cd9abd85"
    ]
  }
}

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:
"291a7d44-ba0e-4a30-b243-e35c7586f377"