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": "b199e89d-73f1-41bc-b3e7-74cae070110b",
  "ParentId": "c9c810ae-f97a-42cb-936e-d3b5c0ddd9f6",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "501ce788-2495-4114-99e6-60b4995ed40f",
      "1a96b76c-4af7-4f9f-8e41-14d9b51e9cab"
    ],
    "Companies": [
      "226c7c4c-0da3-4993-905f-ebc25e87407f",
      "1ded232c-604e-4485-87dd-c241adeccce6"
    ],
    "Groups": [
      "cc7243f4-5ba8-4e64-b7f4-27dcda9466d8",
      "25dd54fd-d0a3-4c34-be72-28b56fc1b3b9"
    ],
    "Opportunities": [
      "6280f88f-cb3c-4562-a150-696d5d2c9354",
      "9f56a45c-a47b-4abb-b4dd-9c93b1748308"
    ]
  }
}

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:
"a8c69834-7fbd-431d-b9f8-5de795b6b375"