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": "fc019d70-8077-4b2a-ad3a-e87a7dea8034",
  "ParentId": "03020b3f-94f0-4062-889f-41f966c5c513",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "6d1e67e9-788a-4af7-97da-1e70881c2192",
      "cb00c6d9-33e4-4846-91d1-901ff027a4e4"
    ],
    "Companies": [
      "9fad8cc2-2b3b-48ed-a262-70b831080165",
      "37dbb4f2-e733-4a95-869c-23ffebce7ffc"
    ],
    "Groups": [
      "4785d83b-f506-4c2a-95b1-afe650b3b9ab",
      "88ea0589-76fa-4d26-9301-7c64dbceccf6"
    ],
    "Opportunities": [
      "a0607c13-2835-4c02-9bdc-2042e43722fc",
      "cc2bc2f0-e4de-47bd-b193-68b47ad82669"
    ]
  }
}

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:
"3f47a771-81ac-40c3-8059-811c998d0d95"