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": "55d40aaa-24dd-42d9-975f-8c9e5e40f269",
  "ParentId": "ba08b3d4-c5c6-4d1c-9c80-51303ec58543",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "36ad03c1-2736-432e-a456-27da1304cc7f",
      "858cf2a0-183b-4d08-8293-152240561de2"
    ],
    "Companies": [
      "aa82075d-1e6a-424c-a80d-3fb38ed72a76",
      "4ad34dca-14c7-4156-9c21-68b22f7dad8a"
    ],
    "Groups": [
      "9eb8bfdb-de67-4f0f-a8c4-7a6f7d7b42ed",
      "74b3a5d1-e850-411b-8dc7-2854a496428d"
    ],
    "Opportunities": [
      "4b76690a-af51-4a57-a980-d7afa88b7fd2",
      "fac6f537-e60f-479c-8e5d-23d19579341e"
    ]
  }
}

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:
"d89b036f-a379-41d0-ae07-613775363876"