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": "09b6097e-0b05-43e4-8d8a-c372a27422bb",
  "ParentId": "a2a80f01-b19a-464b-a5ce-b701e7636339",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "8c81e5f4-8c22-47ce-8b03-55bc65cf15eb",
      "b4112169-48e3-481d-b2ef-6fe6e4a80cd7"
    ],
    "Companies": [
      "5d7e00de-9643-4165-afec-813f21cdb23b",
      "6f6f3565-b5cb-4c78-80c9-804724de5b95"
    ],
    "Groups": [
      "599ce9ba-d62c-48c0-b480-905bb2fd9451",
      "f017df90-5b4a-4b97-9e5d-d33c62e1ac12"
    ],
    "Opportunities": [
      "30df7ec1-52d3-4170-88f9-1c3b2b078805",
      "09d14512-fd8d-47b8-8004-c72981be3212"
    ]
  }
}

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:
"8dd6c544-534b-4ad8-b0dc-2e496d47a7e8"