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": "4ae6b1f8-e35a-46f4-bf2e-4bc62582a870",
  "ParentId": "6b805550-82cb-44e9-8afc-806afe220d91",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "ad813a0f-7ba8-4be7-bc6b-84ea75ed2b8d",
      "a4cc130d-64a0-4da7-a04c-e9a96eb4d18b"
    ],
    "Companies": [
      "a093c579-8d81-481f-9a75-8dbc5838a7c3",
      "18abe029-9e7f-4fb1-af64-3d8691fc7925"
    ],
    "Groups": [
      "235c9f3d-a8fb-4194-bbea-ea25539f16e4",
      "fe958c0b-7908-455d-9bef-be56fd502d0c"
    ],
    "Opportunities": [
      "e2294094-2001-400d-83fc-a4e699eaad49",
      "0b53dcfd-611d-4f2b-8927-02a7dc5dc043"
    ]
  }
}

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:
"b0da2085-e5ad-4035-883d-8af8628dc530"