GET api/ServiceQuery/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 ServiceQueryModel
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

Address

string

None.

Phone

string

None.

Email

string

None.

ServiceEnquiry

string

None.

DateOfPurchase

date

None.

ImeiNumber

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",
    "ServiceEnquiry": "sample string 6",
    "DateOfPurchase": "2019-10-16T21:58:57.2419141+05:00",
    "ImeiNumber": "sample string 7",
    "Query": "sample string 8",
    "IsRead": true,
    "ModifiedBy": "sample string 10",
    "CreatedOn": "2019-10-16T21:58:57.2419141+05:00"
  },
  {
    "Id": 1,
    "Name": "sample string 2",
    "Address": "sample string 3",
    "Phone": "sample string 4",
    "Email": "sample string 5",
    "ServiceEnquiry": "sample string 6",
    "DateOfPurchase": "2019-10-16T21:58:57.2419141+05:00",
    "ImeiNumber": "sample string 7",
    "Query": "sample string 8",
    "IsRead": true,
    "ModifiedBy": "sample string 10",
    "CreatedOn": "2019-10-16T21:58:57.2419141+05:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfServiceQueryModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GreenTech.Models.ServiceQuery">
  <ServiceQueryModel>
    <Address>sample string 3</Address>
    <CreatedOn>2019-10-16T21:58:57.2419141+05:00</CreatedOn>
    <DateOfPurchase>2019-10-16T21:58:57.2419141+05:00</DateOfPurchase>
    <Email>sample string 5</Email>
    <Id>1</Id>
    <ImeiNumber>sample string 7</ImeiNumber>
    <IsRead>true</IsRead>
    <ModifiedBy>sample string 10</ModifiedBy>
    <Name>sample string 2</Name>
    <Phone>sample string 4</Phone>
    <Query>sample string 8</Query>
    <ServiceEnquiry>sample string 6</ServiceEnquiry>
  </ServiceQueryModel>
  <ServiceQueryModel>
    <Address>sample string 3</Address>
    <CreatedOn>2019-10-16T21:58:57.2419141+05:00</CreatedOn>
    <DateOfPurchase>2019-10-16T21:58:57.2419141+05:00</DateOfPurchase>
    <Email>sample string 5</Email>
    <Id>1</Id>
    <ImeiNumber>sample string 7</ImeiNumber>
    <IsRead>true</IsRead>
    <ModifiedBy>sample string 10</ModifiedBy>
    <Name>sample string 2</Name>
    <Phone>sample string 4</Phone>
    <Query>sample string 8</Query>
    <ServiceEnquiry>sample string 6</ServiceEnquiry>
  </ServiceQueryModel>
</ArrayOfServiceQueryModel>