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": "9167569d-6b37-4357-9076-0583d7a27e95",
  "ParentId": "72c7afaf-7dad-4db1-90e0-4907a52eacb8",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "faa98be5-bb4f-4b82-8c01-b69efe4ea64d",
      "dc65dfa4-b9b8-48a2-9446-2c7e9a414f4b"
    ],
    "Companies": [
      "c8d3ab9e-9b21-485a-8b27-b05c102be9bf",
      "de3787e0-e0b9-4414-8dfd-88bfe8bbff74"
    ],
    "Groups": [
      "b24e1d27-ff40-4b3d-ae19-b47213d480af",
      "bfebbbd5-62d9-4442-bf7b-29e34b8be588"
    ],
    "Opportunities": [
      "c049ef5d-c711-4067-ad22-5d31fbf2c1a4",
      "6dba494d-cf9e-4a1f-9332-70a013f8c32e"
    ]
  }
}

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:
"3c4adeb3-822b-445e-ae40-041c0ef07c3f"