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": "4ec8bdde-1c76-4c76-bdaf-388c3ea83246",
  "ParentId": "5da9ed8c-6460-48f3-ace9-606c6db58d36",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "cfde3438-bf25-4270-8bde-05a0aaf9718f",
      "04897a6d-f5d4-4207-8fa9-356b54b33010"
    ],
    "Companies": [
      "47384632-3f48-4409-83f3-487920ee6ee9",
      "cb85b7fa-16df-46d6-b0b6-644f37221052"
    ],
    "Groups": [
      "2d343cea-9174-4649-ac62-ad16f90a7f68",
      "a9085c5b-7f35-4b4e-ad75-e50441d02802"
    ],
    "Opportunities": [
      "3c5cd7f1-e21a-45ae-b005-48388ba4cf90",
      "d8ebe125-43aa-42d8-b9b4-bc297a7ad3b8"
    ]
  }
}

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:
"9956ec78-cee4-4983-b2b0-ce1979ffb480"