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": "a834bef0-e670-4878-a02c-e93ad7741b4d",
  "ParentId": "772e9b47-537f-4729-8165-9a31fcb06f04",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "968721b8-b66d-4660-b012-570ada030032",
      "41227768-93cd-40fe-95c1-b09ba0d6da29"
    ],
    "Companies": [
      "548f7bbf-a9e6-4fb0-8333-fec2b06dfa2e",
      "19639f4f-5f51-467e-a22e-20f8e9d9518b"
    ],
    "Groups": [
      "0e692175-823b-4f77-a5d1-0fd7fa90916b",
      "cdf6a276-fdc3-44a4-b891-13b2c6e72e88"
    ],
    "Opportunities": [
      "b84f3703-cb46-41ae-aaff-b5f9d4b41bda",
      "41b262ab-db92-4eaa-a13c-bf81a8ff3394"
    ]
  }
}

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:
"b17e7ca6-734b-442c-b883-c3f4a9b224fb"