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": "8ea07d22-3fe0-4b0b-9b96-a508cd886933",
  "ParentId": "d4533b5c-b637-4f51-afef-e5a4fbeb2cc4",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "feb41876-36aa-46f4-939f-6e3661bb8da1",
      "76d88844-3036-4dbe-9bb0-98071d1cc1da"
    ],
    "Companies": [
      "b7425963-e5e9-4084-9369-4c72ed8cd500",
      "95deee39-6125-4b16-9ec7-fc106478d431"
    ],
    "Groups": [
      "bd8aa5e1-6bdf-4000-816c-3bc4ad38aca3",
      "ca34f408-82a6-40a9-bae2-a30f9c88381d"
    ],
    "Opportunities": [
      "d3f483b5-109e-4198-86f4-a93b78a382ec",
      "9f46a3ac-78da-4c54-9113-cc6b1e20466a"
    ]
  }
}

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:
"a61b3885-9ab4-41e4-b47c-2a18bf57768a"