GET api/ProductSubscriptions

Returns list of all ProductSubscriptions Data

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of ProductSubscriptionsData
NameDescriptionTypeAdditional information
SubscriptionID

integer

None.

SubscriptionName

string

None.

DurationDays

integer

None.

SubscriptionType

string

None.

Price

decimal number

None.

CreatedDate

date

None.

Status

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "SubscriptionID": 1,
    "SubscriptionName": "sample string 2",
    "DurationDays": 3,
    "SubscriptionType": "sample string 4",
    "Price": 5.0,
    "CreatedDate": "2026-01-18T14:38:36.9288623-08:00",
    "Status": 6
  },
  {
    "SubscriptionID": 1,
    "SubscriptionName": "sample string 2",
    "DurationDays": 3,
    "SubscriptionType": "sample string 4",
    "Price": 5.0,
    "CreatedDate": "2026-01-18T14:38:36.9288623-08:00",
    "Status": 6
  }
]

text/xml

Sample:
<ArrayOfProductSubscriptionsData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CodeBhagat.DAL">
  <ProductSubscriptionsData>
    <CreatedDate>2026-01-18T14:38:36.9288623-08:00</CreatedDate>
    <DurationDays>3</DurationDays>
    <Price>5</Price>
    <Status>6</Status>
    <SubscriptionID>1</SubscriptionID>
    <SubscriptionName>sample string 2</SubscriptionName>
    <SubscriptionType>sample string 4</SubscriptionType>
  </ProductSubscriptionsData>
  <ProductSubscriptionsData>
    <CreatedDate>2026-01-18T14:38:36.9288623-08:00</CreatedDate>
    <DurationDays>3</DurationDays>
    <Price>5</Price>
    <Status>6</Status>
    <SubscriptionID>1</SubscriptionID>
    <SubscriptionName>sample string 2</SubscriptionName>
    <SubscriptionType>sample string 4</SubscriptionType>
  </ProductSubscriptionsData>
</ArrayOfProductSubscriptionsData>