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": "6ed5e320-e857-4e02-ae33-e373cb13bc1f",
  "ParentId": "824f28dd-a450-4d59-968e-a7f7d4c02030",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "6e5e6823-a8a1-4cd5-8e24-170755351c39",
      "815099c8-9f51-4b2f-abc4-c89069f6f772"
    ],
    "Companies": [
      "f7993269-9a67-4db0-abc1-c616f5313fb0",
      "387c6560-b928-481e-8604-5c570dd6bcfb"
    ],
    "Groups": [
      "fbe26a9e-6e72-4710-b090-5f7aa3f2dfd2",
      "dbbc4652-cb61-46e2-9e82-9ce10ca075ee"
    ],
    "Opportunities": [
      "c7bceb8f-04da-4a5d-a801-d07deb3fbd08",
      "2f43f32b-b816-490d-928d-5bf3d9b3bc8d"
    ]
  }
}

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:
"4fd8b9cc-659d-43bf-908d-7df255c366cf"