GET api/Subscriber/GetAllSubscribers?Page={Page}&ItemsPerPage={ItemsPerPage}&SortBy={SortBy}&Reverse={Reverse}&Search={Search}&Date={Date}&Day={Day}&FilterType={FilterType}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Page

integer

None.

ItemsPerPage

integer

None.

SortBy

string

None.

Reverse

boolean

None.

Search

string

None.

Date

date

None.

Day

string

None.

FilterType

string

None.

Body Parameters

None.

Response Information

Resource Description

Collection of SubscriberModel
NameDescriptionTypeAdditional information
Id

integer

None.

Email

string

None.

CreatedOn

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Email": "sample string 2",
    "CreatedOn": "2019-09-18T04:14:24.5274351+05:00"
  },
  {
    "Id": 1,
    "Email": "sample string 2",
    "CreatedOn": "2019-09-18T04:14:24.5274351+05:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfSubscriberModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GreenTech.Models.Subscriber">
  <SubscriberModel>
    <CreatedOn>2019-09-18T04:14:24.5274351+05:00</CreatedOn>
    <Email>sample string 2</Email>
    <Id>1</Id>
  </SubscriberModel>
  <SubscriberModel>
    <CreatedOn>2019-09-18T04:14:24.5274351+05:00</CreatedOn>
    <Email>sample string 2</Email>
    <Id>1</Id>
  </SubscriberModel>
</ArrayOfSubscriberModel>