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": "be36bb61-77e5-497e-a77b-8c6932c607c2",
  "ParentId": "8a86e79d-2173-4496-b87e-ba15babc9bfc",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "29c6751c-7bdf-4267-8e20-c772eb6eba19",
      "2cae90aa-5507-4e72-b067-8cb27017202f"
    ],
    "Companies": [
      "c4cc789d-ec92-49e3-88d3-5114a72ab5aa",
      "dca876b5-05ec-4dd2-adab-d0484d168624"
    ],
    "Groups": [
      "72fbd97e-0fd6-4123-9fc4-9719b5692c7c",
      "8b91775f-2ecc-4d33-a2e1-8768143a6f10"
    ],
    "Opportunities": [
      "4e178a16-53a4-41ea-94db-1eca6c3c8b0d",
      "2af0e58a-d75a-4cd2-8215-42d0dc50efdb"
    ]
  }
}

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:
"b5764160-0ce7-48db-ae10-8615999c3453"