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": "4797bed7-b5f1-448a-9b3d-52e836e34b3f",
  "ParentId": "9b670c96-f518-45b1-afdf-70f4e020c8c8",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "4222c609-a232-442a-bd4f-7ec704c16bd1",
      "9cb9a5fb-eb8a-4a41-afc7-281ee76269cf"
    ],
    "Companies": [
      "bd7b881a-b92d-4a27-a96b-e4ab2123d0e8",
      "e9d36acb-f7c0-4d80-bb91-f8ac01ff8edf"
    ],
    "Groups": [
      "9f22e20f-48bb-4562-a1e9-201f07533e47",
      "25495e00-9105-4500-b8e3-7f04a2bd8c10"
    ],
    "Opportunities": [
      "c142eca5-5eb2-4b32-8310-6326118a20bc",
      "bb904ab7-9169-4530-87f2-dc0b4ea185cf"
    ]
  }
}

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:
"eecce3a2-85b2-4158-a1ca-11fb125251fb"