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": "ddf716d6-b110-4081-80cd-fa74bd9ed51b",
  "ParentId": "3bde00b3-5481-4f2d-92ed-e2edf95fc5da",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "122f3795-6443-4db7-99aa-73bc85581d77",
      "ecefbece-6640-4917-9163-2415205934e5"
    ],
    "Companies": [
      "4f350bfb-9d36-4fce-b078-4ac8a7d6a6af",
      "abbceb8c-72f8-467c-b5b0-ed32388564fa"
    ],
    "Groups": [
      "8b0aa7ed-f7cf-4111-881c-57bf3f956341",
      "d2180c12-b6cb-4d16-aefc-44f0b539d5e7"
    ],
    "Opportunities": [
      "81e61aa9-5fa8-4264-90b3-e3e46e2551e8",
      "34a7153f-0c9c-4df1-be7d-1da4e4ecefa8"
    ]
  }
}

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:
"ea40e8d8-69df-4369-b96a-8fdb6aa6cb1e"