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": "df23bece-df4f-42a4-9aa4-2d4d21eeeef1",
  "ParentId": "d77b230a-ad10-4cc7-ae84-c291807483cb",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "d6a99a70-9006-41d5-a033-308eb9463879",
      "d3457e12-23ff-4b30-8a75-e6531cae3039"
    ],
    "Companies": [
      "20d59f0b-73ce-49c0-a5e7-3b4880432d0e",
      "cb09c5ab-39ba-4109-9c8d-a4fe79b51bb8"
    ],
    "Groups": [
      "cc5b33d8-ddf7-47f9-bf3d-bd1d45beba22",
      "65429ac4-36d6-41e3-9280-44c46d2d1adb"
    ],
    "Opportunities": [
      "15f1c61a-b241-4eb6-a68b-9c2c3d586502",
      "fb802860-8879-4cf8-9a8c-6e5f6ba3b7f8"
    ]
  }
}

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:
"df3bca88-39e5-4ad7-bb48-9975a0a1824e"