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": "2584e4f9-91e1-44b6-b9a0-a665007f3e39",
  "ParentId": "b0a5e542-408b-468d-8929-14008a89cc25",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "70987a61-229b-4f3f-b5fe-6a9e6da6c305",
      "e56ac6cd-7608-46bd-bf48-9b2c51ce1ae0"
    ],
    "Companies": [
      "daf01e90-3a19-412c-814d-db6713c03085",
      "cb315322-9ebd-4751-a33c-c1a71771ba5d"
    ],
    "Groups": [
      "ab26a6d6-619d-48fe-8a9b-c1396632aebd",
      "c413f04b-bcad-43d4-999e-34a281dc799e"
    ],
    "Opportunities": [
      "b2a20628-45ae-4153-bee9-447c08e0348e",
      "faa00bb4-1d62-4f27-8413-20251060baef"
    ]
  }
}

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:
"e938c594-599e-4060-aef6-a962bc75c5e4"