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": "44633af9-e5bd-4ad4-aa08-2c06c4d183eb",
  "ParentId": "f11a4c40-898b-473b-9c06-70fe9eb50057",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "a4b20c64-0e34-43f3-b84c-c4a97d7c6694",
      "ee5802a1-a779-4a12-9e5d-a8aa506615fd"
    ],
    "Companies": [
      "d5699652-358f-424b-a889-0dcde4b6b7bb",
      "43c0f248-5a05-4b57-b734-3022e7fdae4d"
    ],
    "Groups": [
      "efb7f691-410c-4283-b91a-2a8bd49b34e7",
      "2396f524-6c1f-4295-9321-b6425d46ecf9"
    ],
    "Opportunities": [
      "4424819f-a4b3-46ca-8008-960cfd6c44c3",
      "211a53d3-0f78-4833-9369-9170bdbf8ff4"
    ]
  }
}

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:
"cdeac747-b02f-4417-b7aa-2cb8cb19d08d"