GET api/Packages/GetByName/{name}

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
name
No documentation available.

Define this parameter in the request URI.

Response Information

No documentation available.

Response 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:25:05.1229073+00:00",
  "UpdatedAt": "2025-05-09T19:25:05.1229073+00:00",
  "Permissions": "sample string 13",
  "IsDefault": true,
  "TrialPeriod": 15,
  "EdgeSubscriptions": {
    "$id": "2",
    "$values": [
      {
        "$id": "3",
        "Id": "cdd6400a-5a7c-454b-9c46-01807e453cc4",
        "IsCustomerActive": true,
        "TenantId": "sample string 2",
        "PaymentMethodId": "sample string 3",
        "SubscriptionId": "sample string 4",
        "SubscriptionStatus": "sample string 5",
        "SubscriptionStartTimeStamp": "2025-05-09T19:25:05.1229073+00:00",
        "SubscriptionEndTimeStamp": "2025-05-09T19:25:05.1229073+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.