GET api/BusinessQuery/GetQueries?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 BusinessQueryModel
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

Address

string

None.

Phone

string

None.

Email

string

None.

Query

string

None.

IsRead

boolean

None.

ModifiedBy

string

None.

CreatedOn

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Name": "sample string 2",
    "Address": "sample string 3",
    "Phone": "sample string 4",
    "Email": "sample string 5",
    "Query": "sample string 6",
    "IsRead": true,
    "ModifiedBy": "sample string 8",
    "CreatedOn": "2019-05-22T09:55:48.6301222+05:00"
  },
  {
    "Id": 1,
    "Name": "sample string 2",
    "Address": "sample string 3",
    "Phone": "sample string 4",
    "Email": "sample string 5",
    "Query": "sample string 6",
    "IsRead": true,
    "ModifiedBy": "sample string 8",
    "CreatedOn": "2019-05-22T09:55:48.6301222+05:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfBusinessQueryModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GreenTech.Models.BusinessQuery">
  <BusinessQueryModel>
    <Address>sample string 3</Address>
    <CreatedOn>2019-05-22T09:55:48.6301222+05:00</CreatedOn>
    <Email>sample string 5</Email>
    <Id>1</Id>
    <IsRead>true</IsRead>
    <ModifiedBy>sample string 8</ModifiedBy>
    <Name>sample string 2</Name>
    <Phone>sample string 4</Phone>
    <Query>sample string 6</Query>
  </BusinessQueryModel>
  <BusinessQueryModel>
    <Address>sample string 3</Address>
    <CreatedOn>2019-05-22T09:55:48.6301222+05:00</CreatedOn>
    <Email>sample string 5</Email>
    <Id>1</Id>
    <IsRead>true</IsRead>
    <ModifiedBy>sample string 8</ModifiedBy>
    <Name>sample string 2</Name>
    <Phone>sample string 4</Phone>
    <Query>sample string 6</Query>
  </BusinessQueryModel>
</ArrayOfBusinessQueryModel>