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": "fb9d7ad7-1dc4-4a70-8c6e-65cc6107ed09",
  "ParentId": "ac661f14-db1f-4ce3-84db-2e88a346aafe",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "12dce037-ccd2-4336-ac1d-0f8bea7efc41",
      "a6d3f63a-f039-4d03-8deb-eb1adb819b35"
    ],
    "Companies": [
      "cbe74d57-7517-4553-aa95-e20976cb6a03",
      "ff56b748-f949-471f-8c30-2b780a3f12ad"
    ],
    "Groups": [
      "881124e2-e50a-4479-abfc-e8c90a037ed8",
      "761de97a-feda-4995-965e-74dd445f11f5"
    ],
    "Opportunities": [
      "c9ad8c07-9333-406b-9ed8-ee707479319a",
      "b9c1ba45-8e6f-4ba2-b558-29bff0cae001"
    ]
  }
}

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:
"8a9649d7-848d-4cd1-990e-3eb5628abd68"