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": "de5b8b57-a783-4df0-8b2b-2302b9fca333",
  "ParentId": "06bcbb3d-ae3f-40aa-b200-933ac1c70aa5",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "7033e2cf-76cd-4ba6-bd25-9503020ac217",
      "e304c3a6-0ca3-4da9-ac5e-2acb879d8d9d"
    ],
    "Companies": [
      "10f88f28-b34b-4116-985a-784480ad2012",
      "ee0bbb1a-47f0-4e68-b607-fdc88f9a537b"
    ],
    "Groups": [
      "1861279e-6243-4cf1-9f4e-a4bba88207ab",
      "1ef2b7cc-ec78-45e0-85ba-a95522b3d1cc"
    ],
    "Opportunities": [
      "77d4c76f-a7f8-4acb-a919-e418e8d2e32f",
      "663f8127-eb0f-4d5b-90f1-1726c985005f"
    ]
  }
}

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:
"e8755218-65ba-4ec5-b7bc-d3ada95b0d2d"