GET api/{context}/subscription/All

parameters:   ?showActiveOnly={showActiveOnly}

Retrieve all Defined Subscriptions (not deleted and deleted).

Request Information

ParameterDescriptionAdditional information
showActiveOnly
if null get everything. Set 1 shows NonDeleted/Active. Set 0 shows deleted subscriptions

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
[
  {
    "SubscriptionType": "sample string 2",
    "Name": "sample string 3",
    "Description": "sample string 4",
    "CreatedDate": "2024-12-21T08:41:22.5268446-07:00",
    "Deleted": true,
    "SubscriberCount": 7
  },
  {
    "SubscriptionType": "sample string 2",
    "Name": "sample string 3",
    "Description": "sample string 4",
    "CreatedDate": "2024-12-21T08:41:22.5268446-07:00",
    "Deleted": true,
    "SubscriberCount": 7
  },
  {
    "SubscriptionType": "sample string 2",
    "Name": "sample string 3",
    "Description": "sample string 4",
    "CreatedDate": "2024-12-21T08:41:22.5268446-07:00",
    "Deleted": true,
    "SubscriberCount": 7
  }
]

application/xml, text/xml

Sample:
<ArrayOfSubscriptionModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BDS.Web.WebApi.Models">
  <SubscriptionModel>
    <CreatedDate>2024-12-21T08:41:22.5268446-07:00</CreatedDate>
    <Deleted>true</Deleted>
    <Description>sample string 4</Description>
    <ID>70eca7ed-6973-4bb5-b02b-aa50d1ff1547</ID>
    <Name>sample string 3</Name>
    <SubscriberCount>7</SubscriberCount>
    <SubscriptionType>sample string 2</SubscriptionType>
  </SubscriptionModel>
  <SubscriptionModel>
    <CreatedDate>2024-12-21T08:41:22.5268446-07:00</CreatedDate>
    <Deleted>true</Deleted>
    <Description>sample string 4</Description>
    <ID>70eca7ed-6973-4bb5-b02b-aa50d1ff1547</ID>
    <Name>sample string 3</Name>
    <SubscriberCount>7</SubscriberCount>
    <SubscriptionType>sample string 2</SubscriptionType>
  </SubscriptionModel>
  <SubscriptionModel>
    <CreatedDate>2024-12-21T08:41:22.5268446-07:00</CreatedDate>
    <Deleted>true</Deleted>
    <Description>sample string 4</Description>
    <ID>70eca7ed-6973-4bb5-b02b-aa50d1ff1547</ID>
    <Name>sample string 3</Name>
    <SubscriberCount>7</SubscriberCount>
    <SubscriptionType>sample string 2</SubscriptionType>
  </SubscriptionModel>
</ArrayOfSubscriptionModel>