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": "454e8e0c-8b96-4495-b82c-bdc1a4c7a612",
  "ParentId": "893163f8-1e8b-4a28-ab88-fe24d2cd63b1",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "5920bc6e-5d6b-486a-9999-af0af5dd6981",
      "232ccbe6-5536-4245-9138-cefff3c826d4"
    ],
    "Companies": [
      "0985f007-dd54-4a25-ac08-9235c40b9af4",
      "5c4b1850-18e8-419d-8cc4-a650980756fd"
    ],
    "Groups": [
      "429481de-2b87-40d2-8bee-1c9c3b007fc3",
      "7eac9d3f-651d-44b3-8581-e8d6fd3d0a38"
    ],
    "Opportunities": [
      "98b57326-7c75-4d0f-9fe5-f3b17da6b916",
      "0480cbc4-1307-4f2e-b190-d7f6ec54d969"
    ]
  }
}

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:
"81c47045-2868-4d16-93cf-1e99eb8afc8a"