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": "4036d2e4-b4f9-4c5d-8bf6-60ef005cf4b9",
  "ParentId": "927a208c-c365-4472-bea4-71ec16419279",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "fd7d79fc-b34b-431c-bed9-d3eb7512f856",
      "94a0b05b-c169-4ebe-b787-b1bd240f3572"
    ],
    "Companies": [
      "12fb807a-7131-4235-b1a3-2824680202bb",
      "c12db80e-cf88-4e4b-8a20-14617053211e"
    ],
    "Groups": [
      "dfb0fafe-3c77-4014-a3c8-1a46da6bd222",
      "2f63e40f-cd9a-4f02-9b10-2ac96d282edc"
    ],
    "Opportunities": [
      "9c088ca8-d0d2-46dc-9dec-33b6261febd1",
      "f4adddff-abdd-4df1-bf24-177016edc06d"
    ]
  }
}

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:
"e343073d-47ab-4cc5-8b52-3a876ff87178"