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": "d7313556-d091-44d9-b244-3491d5bb33e0",
  "ParentId": "801e2326-9490-448e-8e50-3af7aae88a91",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "921a7bba-3cfd-4d75-b632-5eb499df9dab",
      "2aedb5f9-92f3-4ee5-9a43-617b43ebe0b8"
    ],
    "Companies": [
      "886102c7-20a3-46df-bb16-2d1f6daa6752",
      "afbdeb8b-d1c9-45be-b4bf-ef1c5c5f1e53"
    ],
    "Groups": [
      "8609dc2e-6829-4c0e-a779-1a6fc6eae083",
      "42c646d0-b701-41e8-bc69-6bbb313d8935"
    ],
    "Opportunities": [
      "2d54fff2-db38-48be-841e-c7950f1ad170",
      "59fd234b-a348-4fd7-8e79-d6e387594858"
    ]
  }
}

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:
"bb581e9c-3d84-459b-98ce-4b2acb03a498"