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": "fe0fc047-df86-4735-a55a-841c290249ca",
  "ParentId": "61505af3-ba90-47d3-9584-c8c06ddedc2d",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "68a9ce70-a3ca-4bd0-b272-49e9dcd35c7c",
      "a344d397-05de-46f8-ba22-16ec5b9b42aa"
    ],
    "Companies": [
      "1e0545d5-f148-448f-be55-bff95faaeae3",
      "1b00ece0-0d6c-4ab5-9e5d-220cd5db2cb2"
    ],
    "Groups": [
      "0efec20a-4c64-4059-8cbd-1294d19ae03f",
      "f20cfad2-197d-4b3a-b9ba-2c39cafe060c"
    ],
    "Opportunities": [
      "8785d9e8-6763-4772-a9cf-e467fbeeb16f",
      "125fe9fc-6fb6-4c96-8335-549524ecfe5c"
    ]
  }
}

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:
"9953f679-a6a5-49fa-a4cb-fe486cc4e284"