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": "9b6ea2ef-409b-49c4-9d0b-e6b0140e7371",
  "ParentId": "c2b5011c-da5f-4b6b-a0c6-40ae1af003d8",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "d552b4be-17ce-4a1f-979f-f7989a385e1a",
      "8a3fc803-eb32-458d-881d-657de00bc591"
    ],
    "Companies": [
      "22ff7855-a274-4af3-88b8-721a22c6aadc",
      "ad9c1eb6-e5b0-4bdb-977c-0c2f86153c68"
    ],
    "Groups": [
      "bf5e31f1-32a1-40cc-9d8b-e58472b5f290",
      "9025b11b-a927-475c-b5f0-3572053209a6"
    ],
    "Opportunities": [
      "3bf35f4f-cad3-456e-b722-d9d78a31ca31",
      "3630fbe9-aa37-4658-81be-311b84ba8914"
    ]
  }
}

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:
"19ffc1ab-79a3-4f2c-aeb4-ffb339c566cc"