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": "e8792a70-2fb6-417d-a2b5-95e1ed027409",
  "ParentId": "d36f1efd-2ca6-4cbb-9a98-6ccdea9cdf03",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "315b84ca-ff88-4c86-921d-7228de4e21ae",
      "f593150a-21c4-4747-948d-819bce9135ed"
    ],
    "Companies": [
      "02d9c159-4f62-4abb-8fb1-bb76f089423d",
      "20b78b92-cf8e-44d3-9e89-10c2ee3f0ec8"
    ],
    "Groups": [
      "74b0914c-e4a9-4a62-a2cf-caf1707b896f",
      "434a0d3f-d3fb-4f3a-8e6d-90eec8a2c5a7"
    ],
    "Opportunities": [
      "c72633ec-8d28-4b38-aaba-669af90b9744",
      "ca35029a-69fa-4628-8107-871842cd57b4"
    ]
  }
}

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:
"6812e68a-df13-4721-b331-1d5bd8d97b2f"