POST api/Packages

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
edgePackage
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "sample string 2",
  "MonthlyPriceGBP": 3.0,
  "AnnualPriceGBP": 4.0,
  "MonthlyPriceUSD": 5.0,
  "AnnualPriceUSD": 6.0,
  "MonthlyPriceEUR": 7.0,
  "AnnualPriceEUR": 8.0,
  "UsersAllowed": 9,
  "Status": "sample string 10",
  "TenantId": "sample string 11",
  "CreatedAt": "2025-05-09T19:37:06.2542141+00:00",
  "UpdatedAt": "2025-05-09T19:37:06.2542141+00:00",
  "Permissions": "sample string 13",
  "IsDefault": true,
  "TrialPeriod": 15,
  "EdgeSubscriptions": {
    "$id": "2",
    "$values": [
      {
        "$id": "3",
        "Id": "a5f52862-92e5-4b38-8aee-57c5f04bda14",
        "IsCustomerActive": true,
        "TenantId": "sample string 2",
        "PaymentMethodId": "sample string 3",
        "SubscriptionId": "sample string 4",
        "SubscriptionStatus": "sample string 5",
        "SubscriptionStartTimeStamp": "2025-05-09T19:37:06.2542141+00:00",
        "SubscriptionEndTimeStamp": "2025-05-09T19:37:06.2542141+00:00",
        "CustomerId": "sample string 6",
        "SettingId": "sample string 7",
        "PackageId": 1,
        "UserId": "sample string 8",
        "PackageName": "sample string 9",
        "PackagePrice": "sample string 10",
        "PackageType": "sample string 11",
        "PackageCurrency": "sample string 12",
        "UsedTrialDays": 1,
        "TrialDays": 1,
        "SecondDayEmail": true,
        "FifthDayEmail": true,
        "TenthDayEmail": true,
        "FourteenDayEmail": true,
        "EdgePackage": {
          "$ref": "1"
        }
      },
      {
        "$ref": "3"
      },
      {
        "$ref": "3"
      }
    ]
  }
}

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: One or more errors occurred.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: One or more errors occurred.

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'EdgePackage'.

Response Information

No documentation available.

Response body formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.