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-11-21T02:46:05.8902988-07:00",
    "Deleted": true,
    "SubscriberCount": 7
  },
  {
    "SubscriptionType": "sample string 2",
    "Name": "sample string 3",
    "Description": "sample string 4",
    "CreatedDate": "2024-11-21T02:46:05.8902988-07:00",
    "Deleted": true,
    "SubscriberCount": 7
  },
  {
    "SubscriptionType": "sample string 2",
    "Name": "sample string 3",
    "Description": "sample string 4",
    "CreatedDate": "2024-11-21T02:46:05.8902988-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-11-21T02:46:05.8902988-07:00</CreatedDate>
    <Deleted>true</Deleted>
    <Description>sample string 4</Description>
    <ID>876d7375-c9ea-4b53-881c-e226f8b60b8b</ID>
    <Name>sample string 3</Name>
    <SubscriberCount>7</SubscriberCount>
    <SubscriptionType>sample string 2</SubscriptionType>
  </SubscriptionModel>
  <SubscriptionModel>
    <CreatedDate>2024-11-21T02:46:05.8902988-07:00</CreatedDate>
    <Deleted>true</Deleted>
    <Description>sample string 4</Description>
    <ID>876d7375-c9ea-4b53-881c-e226f8b60b8b</ID>
    <Name>sample string 3</Name>
    <SubscriberCount>7</SubscriberCount>
    <SubscriptionType>sample string 2</SubscriptionType>
  </SubscriptionModel>
  <SubscriptionModel>
    <CreatedDate>2024-11-21T02:46:05.8902988-07:00</CreatedDate>
    <Deleted>true</Deleted>
    <Description>sample string 4</Description>
    <ID>876d7375-c9ea-4b53-881c-e226f8b60b8b</ID>
    <Name>sample string 3</Name>
    <SubscriberCount>7</SubscriberCount>
    <SubscriptionType>sample string 2</SubscriptionType>
  </SubscriptionModel>
</ArrayOfSubscriptionModel>