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": "2020-08-04T11:42:43.0957554-06:00",
    "Deleted": true,
    "SubscriberCount": 7
  },
  {
    "SubscriptionType": "sample string 2",
    "Name": "sample string 3",
    "Description": "sample string 4",
    "CreatedDate": "2020-08-04T11:42:43.0957554-06:00",
    "Deleted": true,
    "SubscriberCount": 7
  },
  {
    "SubscriptionType": "sample string 2",
    "Name": "sample string 3",
    "Description": "sample string 4",
    "CreatedDate": "2020-08-04T11:42:43.0957554-06: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>2020-08-04T11:42:43.0957554-06:00</CreatedDate>
    <Deleted>true</Deleted>
    <Description>sample string 4</Description>
    <ID>3c12cebf-c59c-43cf-91c1-d5a3f45b7d27</ID>
    <Name>sample string 3</Name>
    <SubscriberCount>7</SubscriberCount>
    <SubscriptionType>sample string 2</SubscriptionType>
  </SubscriptionModel>
  <SubscriptionModel>
    <CreatedDate>2020-08-04T11:42:43.0957554-06:00</CreatedDate>
    <Deleted>true</Deleted>
    <Description>sample string 4</Description>
    <ID>3c12cebf-c59c-43cf-91c1-d5a3f45b7d27</ID>
    <Name>sample string 3</Name>
    <SubscriberCount>7</SubscriberCount>
    <SubscriptionType>sample string 2</SubscriptionType>
  </SubscriptionModel>
  <SubscriptionModel>
    <CreatedDate>2020-08-04T11:42:43.0957554-06:00</CreatedDate>
    <Deleted>true</Deleted>
    <Description>sample string 4</Description>
    <ID>3c12cebf-c59c-43cf-91c1-d5a3f45b7d27</ID>
    <Name>sample string 3</Name>
    <SubscriberCount>7</SubscriberCount>
    <SubscriptionType>sample string 2</SubscriptionType>
  </SubscriptionModel>
</ArrayOfSubscriptionModel>