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": "e3c09ce3-182b-4d69-8124-472e04d4e795",
  "ParentId": "d720c226-e47e-4a91-ae70-0ce2573704b3",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "9e94036f-437d-4a07-8249-d1066610e5f3",
      "551a364a-d340-4137-a2e1-7a59e1817175"
    ],
    "Companies": [
      "96aad19a-59a0-43a3-859f-f3108277eca3",
      "b3e895b1-e13f-4821-a005-73efc06a9c3f"
    ],
    "Groups": [
      "c63b93ce-b6b7-44fb-bcf2-f509f6f4030d",
      "c421679d-d687-4e50-8e08-f69e8f33bcf8"
    ],
    "Opportunities": [
      "ef5d6e44-0e56-4dd8-bb7a-c01ea14e9a70",
      "fa9f0633-0bcf-4e6f-903e-e001f369e540"
    ]
  }
}

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:
"160e714e-a605-408e-9fec-e7a80551109b"