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": "2a4c500f-ab25-41fa-8550-ed55a4290f79",
  "ParentId": "3ae77802-0e30-4e8e-97ab-6d39d5cf209c",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "e68b32a4-e373-4fa9-beeb-c9384654b15f",
      "b3fce1e5-1dae-4d8c-b445-91d427cbf22c"
    ],
    "Companies": [
      "f6626850-6b45-4578-89f6-f8e6f4d35b99",
      "20e6043d-a73c-4e56-9519-dffb7e376ee7"
    ],
    "Groups": [
      "f6a96c8b-9c25-408d-8240-12466c0e12bf",
      "19091c01-b2b7-419a-bc48-0b647a9588e5"
    ],
    "Opportunities": [
      "75d1d7b6-48a2-4148-b4e2-3d3824766b0f",
      "09848ceb-3185-4179-9715-130ae3a19286"
    ]
  }
}

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:
"c27022d0-41a3-4ccd-885e-7c89f6e827ed"