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": "e67bc7c8-28df-4d22-9a66-6da06e77cac7",
  "ParentId": "75f48723-e0d5-4ca5-8952-f569e56cefd1",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "0075e247-574c-450f-a3d6-258eb3df9a48",
      "9100e945-f18e-4751-a813-d19df602f9a1"
    ],
    "Companies": [
      "e4bc192a-70fb-49ec-a1f2-c2ab83822546",
      "d7d7a698-7f8c-48c2-80c9-84b52d029e29"
    ],
    "Groups": [
      "efa571a7-0e16-4b68-8f84-e6b770e9146c",
      "10678a8c-8b3d-474f-91ef-e7e165f5b86b"
    ],
    "Opportunities": [
      "6d8d5059-5349-450e-98f7-2eeedf5d54a9",
      "5ccba8f8-4d5f-4280-a56c-246f13fc1fcc"
    ]
  }
}

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:
"5c54c598-d801-4821-a10b-82e3c41a1e4b"