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": "1f2060a0-d303-493c-b7f2-9ff878cca88b",
  "ParentId": "a009092c-b9d1-42dd-b33e-7c5a89210709",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "84723727-e843-4d3e-8cc3-4b7532e75928",
      "9a83a12c-90b5-4a5a-9eaa-58dcb7fe7b24"
    ],
    "Companies": [
      "17cb66b4-29b5-4621-b33b-da57f8dc2c23",
      "a4e5db47-41fa-4e20-90ff-aa6e72346eed"
    ],
    "Groups": [
      "bcb715fd-6035-4e95-95f4-c04cae4e0049",
      "1612bf90-9bb9-44a5-a39b-15ea2c64fcb8"
    ],
    "Opportunities": [
      "a4e3964f-6f12-4f04-94ad-760f251d12d5",
      "2ea6c89a-dbc6-45ae-bcab-49eebcd329f5"
    ]
  }
}

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:
"37cf3734-68b1-4f94-abda-a51985247d9d"