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": "7da22897-35f3-46ca-80fd-982bd6a9ba2f",
  "ParentId": "5489a769-b807-4ee5-96c9-361a04634ac0",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "1c6d882d-fb76-49ad-89f2-eae3c460a6ea",
      "c708f3b5-910e-4606-9d65-8a27c72ca313"
    ],
    "Companies": [
      "8e5be586-54c6-40ad-b33a-6f0013bb3a7f",
      "76ee19de-1026-4e9d-b4e7-055f1d05a93f"
    ],
    "Groups": [
      "6cd95e1d-5cbe-4039-a71e-c04d16f90837",
      "20d42b64-5c79-48e2-9d19-39545815aee6"
    ],
    "Opportunities": [
      "0b83ed0e-0754-4a61-8599-5a422c23c876",
      "fc6334a2-5cf7-41a3-8396-8f0c7efd4252"
    ]
  }
}

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:
"a2de1fdc-881a-4150-b506-9150ae196ba5"