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": "d19a55f5-1c32-4faa-bce1-ba4c73bbc80e",
  "ParentId": "0dd9fee7-b38c-4e0b-83be-1207f03c9392",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "de454eea-1761-4482-bba0-44769b84cbce",
      "37c8a77c-1fe7-4e0d-9aaa-a1b82d0cc0dd"
    ],
    "Companies": [
      "c1a55d62-1d3a-4710-9f0a-a3ce1500797c",
      "d4fccaa0-c8c7-49d3-b455-45dbde936902"
    ],
    "Groups": [
      "5f7aa303-f975-47ee-91e2-bc0b97690580",
      "0bcdf6ab-5ac7-4d28-9221-a60993d412ab"
    ],
    "Opportunities": [
      "d929744c-7956-494f-8c62-fea7371e5f86",
      "52b09520-8b2c-47ef-bf9c-b041d3d5a38d"
    ]
  }
}

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:
"6c5727d8-9816-4508-9ab2-097f42655e44"