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": "43f2a8d8-59a3-4fa4-bb5c-35129976f4ca",
  "ParentId": "b6fbf9f2-820e-4f6f-8701-1048f7ee3156",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "4fa9bcf5-bfa2-45b4-8c4a-46ed472895c6",
      "9d998f67-d8ef-4cfe-b2a0-4b94f7da47de"
    ],
    "Companies": [
      "bbd9e3a0-ba30-4296-8cea-63cca897bf2c",
      "6e6150c8-2a7e-47df-9b01-4b91cc040798"
    ],
    "Groups": [
      "4ad2532d-da00-4bab-86ad-10b3468e1296",
      "bedf73b1-a298-4f30-9bf5-0a1fb1ca76ce"
    ],
    "Opportunities": [
      "578ed6f8-9876-4f11-aa72-d9c47c295737",
      "3c38db34-1d98-485e-b58c-eebc78d89a6c"
    ]
  }
}

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:
"97d93443-be68-4223-ac17-08e50745e52d"