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": "1213e3fd-e32d-4e40-b481-161d0595d77b",
  "ParentId": "a837932f-8fff-4e21-aab1-01005c1f70dd",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "60b71e88-fa6c-45f7-8745-8058142a8e0c",
      "817d0830-a566-4a16-89a7-fb1d2f395fb1"
    ],
    "Companies": [
      "5dd321e2-f3c5-4e59-9503-9e3ef92447eb",
      "55dc55f3-0f55-4a46-a1b9-fc8891c6002f"
    ],
    "Groups": [
      "ad5af8ab-9f3c-4083-9479-3d76a7d66226",
      "f9e0d645-43b0-49cf-bf68-012c3c685197"
    ],
    "Opportunities": [
      "ab8ce694-a8f6-417d-b4fc-79a76c9ca599",
      "6eaff54c-627d-4391-b58e-40be888cd052"
    ]
  }
}

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:
"81b66a69-b1ce-4474-8509-2c8761972ce5"