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": "064bc302-9632-4a4a-8cf6-3b866a53b6fe",
  "ParentId": "65b36563-7b44-41bd-8819-52913eec312a",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "6c082ccc-4095-45f1-98bc-b219588438fb",
      "3d577fa1-e704-44de-90b4-c16eb19bee5e"
    ],
    "Companies": [
      "8df9cecb-b29a-420e-bcfa-1f1a7ca387ef",
      "c0064fbc-47fa-4958-930c-3eecb6813b45"
    ],
    "Groups": [
      "54559c5a-9e59-4d0f-b054-24715b7f707c",
      "3c75f6a9-23b5-4d57-b3e4-9204dc34f6ca"
    ],
    "Opportunities": [
      "40e13293-40cc-4cdc-b6e0-335e9974036d",
      "63f171ef-3868-45c9-bc5f-8658e957b0ee"
    ]
  }
}

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:
"9a9c7aa6-972d-433f-86ed-fddb94a35244"