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": "a4aa90dc-36ad-4112-ba97-7d6d6bd9df13",
  "ParentId": "07abe19e-a3ce-44fb-b9ad-b88b4472eb22",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "494054c2-cd1a-420a-9dad-c4c07ffe2f37",
      "e03a6020-bacf-4bb0-8500-27f8a2db76bc"
    ],
    "Companies": [
      "48126724-017f-40b5-833f-1b938e4149de",
      "7bd87312-88ce-400b-8314-b7132db0024e"
    ],
    "Groups": [
      "64e952cd-1683-4379-817e-951aacf9bfc3",
      "f146b6b1-33f5-491c-8687-0a6deec2e2b3"
    ],
    "Opportunities": [
      "e0a7b394-17a9-492f-9e63-836915324b61",
      "197b4a24-969c-4a68-8fe0-7bba0dbc330f"
    ]
  }
}

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:
"60c54b35-c675-4d21-98b4-e134cf2c36b1"