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": "11a98e8c-48ef-4417-a46a-db8e2577d631",
  "ParentId": "509835ab-fc93-4eb8-8d77-1fd0a11d9cf0",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "a9fae089-5c32-410b-af96-13a62364353d",
      "9a413c08-ad33-4a9b-83e2-ccf922456c91"
    ],
    "Companies": [
      "d2aaeeea-d275-4db9-b608-fd91faa2f34a",
      "bf758c8b-b14b-4122-ac39-58383de3a463"
    ],
    "Groups": [
      "2945c2a8-e209-4f1e-bd74-7a073bf3210e",
      "0dcaf5c2-e823-419e-97cf-24e5b68cbe21"
    ],
    "Opportunities": [
      "d7a3da2e-9738-4cf1-b10d-9f44a7efdf09",
      "993f7bc8-978b-4c88-a830-e9c7236b0696"
    ]
  }
}

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:
"47fd18d0-c198-43e2-991e-7facc17dc4d1"