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": "265b48de-c2f6-4280-9912-8653a1bc14e2",
  "ParentId": "0e1e6c25-91c6-44e2-8473-d3973750f62b",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "926ad5ba-e8ce-4070-b417-967142bb4812",
      "b25b81be-f8be-4207-b807-b98c0453c1fc"
    ],
    "Companies": [
      "c5bdddfb-11a2-4a19-88c6-29637beece8f",
      "16ab0d3b-294b-40d1-8f4f-74bfbf89f18d"
    ],
    "Groups": [
      "b5ec7751-0433-4868-b387-ac0412ea181e",
      "144c43dd-dc21-4e31-80f9-4a046583e22d"
    ],
    "Opportunities": [
      "b83c795a-b4a4-4f04-80b0-c0022cef29e3",
      "5bc7e311-3172-4452-b1e2-2640115d7a78"
    ]
  }
}

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:
"9e6b2509-2248-4cc8-83ce-1688f42c30ee"