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": "5fbe460c-1acc-4e32-956b-b266f013334a",
  "ParentId": "d728a9c8-60db-401c-9de7-ed15db860e77",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "8d15bd4e-94df-46b1-a152-1d9b182b0fe9",
      "4040462f-b4fb-4c5f-918f-92da147e951b"
    ],
    "Companies": [
      "a60697b9-3869-47f3-95dc-c133b2b54291",
      "f0076f5e-f976-40a7-866a-d985c374c4b0"
    ],
    "Groups": [
      "5ee012e2-4386-4a32-97f6-ead29e4c33e3",
      "fe16da50-64bc-4432-9644-9fd9ce012b7e"
    ],
    "Opportunities": [
      "b5b692af-ee28-429e-95bc-9a2257ebcb49",
      "e45bdf2e-fbb7-40e3-852d-2bda498e0c1b"
    ]
  }
}

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:
"e6e0cc16-a80d-4867-9d6e-126e035752ad"