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": "2619a18c-e754-478e-ae68-c54df8d0fc38",
  "ParentId": "04626d6c-58bd-4931-a819-be19d2b0fd9c",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "41b06ee3-756f-4692-9c14-2a9a7b5b1858",
      "23393ea3-217f-41af-97f1-d17f2f488d91"
    ],
    "Companies": [
      "bc08f6f8-ec7b-4c11-898c-fbf966616506",
      "e6fdc124-1548-4be6-a2b6-52327724aa28"
    ],
    "Groups": [
      "2b7d2b99-c36d-4f45-b311-f6d58a0cfc02",
      "2e241d2b-8e28-4528-a1b4-efa45903d015"
    ],
    "Opportunities": [
      "3635bb96-5b03-4c3e-9903-e09bf47e6290",
      "f53ba28b-7ddd-4912-afc3-ae9dd70285f0"
    ]
  }
}

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:
"0e4a7e51-c11e-496e-bf7a-7ce5c0b921c4"