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": "6023f367-0f10-4bcc-a19e-c38d971a49ad",
  "ParentId": "619ff9ee-4b4f-45de-b49e-ffb2c70630d3",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "6c9f85d1-766e-427d-8935-f2e828ee156a",
      "e4b24557-1662-4501-8ee6-fc7d35004ecc"
    ],
    "Companies": [
      "176c44e3-68ee-4523-a308-6719d5f160aa",
      "52dc2964-3e8c-4f39-a2af-59e4c1ec9851"
    ],
    "Groups": [
      "82ab2034-1c19-4dfd-9e7a-9fd0674128e5",
      "13ed7a2e-8d22-4f17-88d0-c9cb21ed7c57"
    ],
    "Opportunities": [
      "345e2f81-26b4-448b-8482-36e9f81e9eae",
      "6e1d7d10-e8f1-4545-a35f-a3d773947d3d"
    ]
  }
}

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:
"0cecfe70-e1f8-4e06-a168-24005f917531"