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": "21b45a22-0f4b-4d85-9ae3-62685779dd72",
  "ParentId": "a7d9f1e0-b9d2-4961-b7bb-6277e093cac0",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "69530744-fa4d-4b87-96c8-fbf4e87add0d",
      "abeb440e-a25e-406d-8ebb-0d1be2eedd5c"
    ],
    "Companies": [
      "d03e89ca-b224-463b-91af-1bee53a698d7",
      "ae13ce97-62df-4484-9e70-f74d239f86a8"
    ],
    "Groups": [
      "6e189846-26c9-4ab9-896d-bda2410443c7",
      "8034c88d-bd0d-4d4e-b45a-f523946cf113"
    ],
    "Opportunities": [
      "913003a2-b5d8-48b3-9e3b-a49c65acc12b",
      "88267c5a-9a8d-467b-86c4-f5cafd7c8ad6"
    ]
  }
}

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:
"8b0c8e56-3871-4ff6-9ba4-075f76741525"