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": "a3090f36-6288-43cb-b175-965a6e08b2cf",
  "ParentId": "f66d7df0-1578-4c69-adbf-e91b0afaae05",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "889f1746-8a23-46c4-8730-32db2fbd7f43",
      "40fc6a55-e2f7-40e3-b725-58165e6aec66"
    ],
    "Companies": [
      "0a5cf4ef-3728-472d-a9ff-dca9aa597f53",
      "855107f3-c4da-494f-887e-e1ee80db0402"
    ],
    "Groups": [
      "92e1fe09-af41-40fe-abb8-f3aaaa138462",
      "269fc433-d548-4b05-b3a1-90664c65b87f"
    ],
    "Opportunities": [
      "394640b5-9bac-4dbf-9035-2aa9c389e5b0",
      "3976b0e6-0da1-4789-93d2-714148fb3928"
    ]
  }
}

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:
"f58c6fa1-e2dd-48ac-8b1d-c77493e648b2"