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": "a8c53eff-63d2-4fa0-9103-e7ae6f61bd92",
  "ParentId": "edeff2a1-08c6-4d11-a391-bc1062824aec",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "2bb3ffd7-d03f-4ae3-bae0-ea736b769c35",
      "96a0cbf5-98ab-46c7-9880-c186a049ac7e"
    ],
    "Companies": [
      "de906cf0-bfbd-4be4-8963-b0175f42c9ad",
      "4731f760-5fdb-41a9-a2bf-506804c531f9"
    ],
    "Groups": [
      "855d818b-22a4-476f-a904-acf9d5d59da8",
      "93330d04-770a-4aa7-b427-b3fbfb61ccb1"
    ],
    "Opportunities": [
      "7e3a2be8-a724-4fbd-b15c-93096fc4be5f",
      "5fdd04f4-1b53-4727-bd58-f9babaa7521d"
    ]
  }
}

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:
"53030036-4c3d-42b9-849a-2ec31c95d11c"