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": "33e32d2f-c638-4bc1-bb56-49e20aaffd66",
  "ParentId": "949c3f6e-b627-4675-905f-1fbfa504eefd",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "8603bf69-1f99-4b24-adb4-14714c2f7714",
      "121606b8-5fe1-44a1-a1aa-9d3ed335717f"
    ],
    "Companies": [
      "86fc1fc2-c386-4ab3-9785-75dcf259b295",
      "9b8d2364-4351-45a0-bc18-09921ecd64e2"
    ],
    "Groups": [
      "b8e2326b-250c-4b87-b742-0ebc63522480",
      "95c87392-f619-4289-9b07-189f45f4e777"
    ],
    "Opportunities": [
      "59ca3789-8d1d-4393-ae69-0b3b0f788c5a",
      "55a25d3f-b5de-4294-ad32-d18b2e686aed"
    ]
  }
}

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:
"4e7e4c53-a8b7-412c-8402-1ba7ca8b8160"