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": "73057d4a-1af3-4c20-a0f4-efc5ead160eb",
  "ParentId": "5612f099-fcca-4095-88a6-4fc6af4fa07f",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "86ef6d35-95a3-4e78-8042-d7c125ba8f77",
      "0849c0de-6dda-437d-8632-7609c665272c"
    ],
    "Companies": [
      "30200ea6-ad52-4d70-9b39-8d9a39c8dc44",
      "33ffb1e9-c78d-45e3-8c6a-8f7aa0a5707b"
    ],
    "Groups": [
      "20a4ee7a-8464-4d7f-b0d9-e55c00db56d5",
      "7f9cc8f2-ec20-471d-8399-d29eacb969e6"
    ],
    "Opportunities": [
      "74bf1d37-5115-47c4-ab92-6fdba1210400",
      "5c73f0bc-a961-41d9-8d5e-4bb86d088313"
    ]
  }
}

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:
"8b15ddbc-7f74-4d92-a295-122f096fb7d7"