GET api/MobileApp/HomeApp/GetMasterSearch?PageNo={PageNo}&PageSize={PageSize}&SearchTerm={SearchTerm}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
PageNo

integer

Required

PageSize

integer

Required

SearchTerm

string

Required

Body Parameters

None.

Response Information

Resource Description

MasterSearchAPIVM
NameDescriptionTypeAdditional information
MasterSearchList

Collection of MasterSearchModel

None.

TotalRecords

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "MasterSearchList": [
    {
      "MenuID": 1,
      "MenuName": "sample string 1",
      "PartnerID": "sample string 2",
      "PartnerName": "sample string 3",
      "Image": "sample string 4",
      "Address": "sample string 5",
      "Type": "sample string 6",
      "MenuPrice": 1.0
    },
    {
      "MenuID": 1,
      "MenuName": "sample string 1",
      "PartnerID": "sample string 2",
      "PartnerName": "sample string 3",
      "Image": "sample string 4",
      "Address": "sample string 5",
      "Type": "sample string 6",
      "MenuPrice": 1.0
    }
  ],
  "TotalRecords": 1
}

application/xml, text/xml

Sample:
<MasterSearchAPIVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/General.Operations.CustomModels">
  <MasterSearchList>
    <MasterSearchModel>
      <Address>sample string 5</Address>
      <Image>sample string 4</Image>
      <MenuID>1</MenuID>
      <MenuName>sample string 1</MenuName>
      <MenuPrice>1</MenuPrice>
      <PartnerID>sample string 2</PartnerID>
      <PartnerName>sample string 3</PartnerName>
      <Type>sample string 6</Type>
    </MasterSearchModel>
    <MasterSearchModel>
      <Address>sample string 5</Address>
      <Image>sample string 4</Image>
      <MenuID>1</MenuID>
      <MenuName>sample string 1</MenuName>
      <MenuPrice>1</MenuPrice>
      <PartnerID>sample string 2</PartnerID>
      <PartnerName>sample string 3</PartnerName>
      <Type>sample string 6</Type>
    </MasterSearchModel>
  </MasterSearchList>
  <TotalRecords>1</TotalRecords>
</MasterSearchAPIVM>