POST jxc_api/Dashbord/SearchResource

Request Information

URI Parameters

None.

Body Parameters

SearchResourceCondition
NameDescriptionTypeAdditional information
Keyword

string

None.

OffsetStop

string

None.

PageSize

integer

None.

ResourceType

SearchResourceEnum

None.

Request Formats

application/json, text/json

Sample:
{
  "Keyword": "sample string 1",
  "OffsetStop": "sample string 2",
  "PageSize": 3,
  "ResourceType": 1
}

application/xml, text/xml

Sample:
<SearchResourceCondition xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Mobile">
  <_x003C_Keyword_x003E_k__BackingField>sample string 1</_x003C_Keyword_x003E_k__BackingField>
  <_x003C_OffsetStop_x003E_k__BackingField>sample string 2</_x003C_OffsetStop_x003E_k__BackingField>
  <_x003C_PageSize_x003E_k__BackingField>3</_x003C_PageSize_x003E_k__BackingField>
  <_x003C_ResourceType_x003E_k__BackingField>Products</_x003C_ResourceType_x003E_k__BackingField>
</SearchResourceCondition>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

SearchResourceViewModel
NameDescriptionTypeAdditional information
Items

Collection of SearchResourceSimple

None.

OffsetStop

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Items": [
    {
      "TypeName": "Products",
      "BillDate": null,
      "BillId": 0,
      "BillNo": null,
      "BillType": null,
      "Id": 1,
      "Name": "sample string 2",
      "No": "sample string 3",
      "QTY": 0.0,
      "AvailableQTY": 0.0,
      "Receipt": 0.0,
      "UnitName": null,
      "ApId": 4,
      "ApName": "sample string 5",
      "Status": true
    },
    {
      "TypeName": "Products",
      "BillDate": null,
      "BillId": 0,
      "BillNo": null,
      "BillType": null,
      "Id": 1,
      "Name": "sample string 2",
      "No": "sample string 3",
      "QTY": 0.0,
      "AvailableQTY": 0.0,
      "Receipt": 0.0,
      "UnitName": null,
      "ApId": 4,
      "ApName": "sample string 5",
      "Status": true
    },
    {
      "TypeName": "Vendors",
      "BillDate": null,
      "BillId": 0,
      "BillNo": null,
      "BillType": null,
      "Id": 1,
      "Name": "sample string 2",
      "No": null,
      "QTY": 0.0,
      "AvailableQTY": 0.0,
      "Receipt": 3.0,
      "UnitName": null,
      "ApId": 0,
      "ApName": null,
      "Status": true
    },
    {
      "TypeName": "Vendors",
      "BillDate": null,
      "BillId": 0,
      "BillNo": null,
      "BillType": null,
      "Id": 1,
      "Name": "sample string 2",
      "No": null,
      "QTY": 0.0,
      "AvailableQTY": 0.0,
      "Receipt": 3.0,
      "UnitName": null,
      "ApId": 0,
      "ApName": null,
      "Status": true
    },
    {
      "TypeName": "Customers",
      "BillDate": null,
      "BillId": 0,
      "BillNo": null,
      "BillType": null,
      "Id": 1,
      "Name": "sample string 2",
      "No": null,
      "QTY": 0.0,
      "AvailableQTY": 0.0,
      "Receipt": 3.0,
      "UnitName": null,
      "ApId": 0,
      "ApName": null,
      "Status": true
    },
    {
      "TypeName": "Customers",
      "BillDate": null,
      "BillId": 0,
      "BillNo": null,
      "BillType": null,
      "Id": 1,
      "Name": "sample string 2",
      "No": null,
      "QTY": 0.0,
      "AvailableQTY": 0.0,
      "Receipt": 3.0,
      "UnitName": null,
      "ApId": 0,
      "ApName": null,
      "Status": true
    },
    {
      "TypeName": "Stocks",
      "BillDate": null,
      "BillId": 0,
      "BillNo": null,
      "BillType": null,
      "Id": 1,
      "Name": "sample string 2",
      "No": "sample string 3",
      "QTY": 4.0,
      "AvailableQTY": 5.0,
      "Receipt": 0.0,
      "UnitName": null,
      "ApId": 0,
      "ApName": null,
      "Status": false
    },
    {
      "TypeName": "Stocks",
      "BillDate": null,
      "BillId": 0,
      "BillNo": null,
      "BillType": null,
      "Id": 1,
      "Name": "sample string 2",
      "No": "sample string 3",
      "QTY": 4.0,
      "AvailableQTY": 5.0,
      "Receipt": 0.0,
      "UnitName": null,
      "ApId": 0,
      "ApName": null,
      "Status": false
    },
    {
      "TypeName": "ProductBills",
      "BillDate": "sample string 8",
      "BillId": 6,
      "BillNo": "sample string 7",
      "BillType": "sample string 9",
      "Id": 1,
      "Name": "sample string 2",
      "No": "sample string 3",
      "QTY": 4.0,
      "AvailableQTY": 0.0,
      "Receipt": 0.0,
      "UnitName": "sample string 5",
      "ApId": 10,
      "ApName": "sample string 11",
      "Status": false
    },
    {
      "TypeName": "ProductBills",
      "BillDate": "sample string 8",
      "BillId": 6,
      "BillNo": "sample string 7",
      "BillType": "sample string 9",
      "Id": 1,
      "Name": "sample string 2",
      "No": "sample string 3",
      "QTY": 4.0,
      "AvailableQTY": 0.0,
      "Receipt": 0.0,
      "UnitName": "sample string 5",
      "ApId": 10,
      "ApName": "sample string 11",
      "Status": false
    },
    {
      "TypeName": "VendorBills",
      "BillDate": "sample string 6",
      "BillId": 4,
      "BillNo": "sample string 5",
      "BillType": "sample string 7",
      "Id": 1,
      "Name": "sample string 2",
      "No": "sample string 3",
      "QTY": 0.0,
      "AvailableQTY": 0.0,
      "Receipt": 0.0,
      "UnitName": "sample string 8",
      "ApId": 0,
      "ApName": null,
      "Status": false
    },
    {
      "TypeName": "VendorBills",
      "BillDate": "sample string 6",
      "BillId": 4,
      "BillNo": "sample string 5",
      "BillType": "sample string 7",
      "Id": 1,
      "Name": "sample string 2",
      "No": "sample string 3",
      "QTY": 0.0,
      "AvailableQTY": 0.0,
      "Receipt": 0.0,
      "UnitName": "sample string 8",
      "ApId": 0,
      "ApName": null,
      "Status": false
    },
    {
      "TypeName": "CustomerBills",
      "BillDate": "sample string 6",
      "BillId": 4,
      "BillNo": "sample string 5",
      "BillType": "sample string 7",
      "Id": 1,
      "Name": "sample string 2",
      "No": "sample string 3",
      "QTY": 0.0,
      "AvailableQTY": 0.0,
      "Receipt": 0.0,
      "UnitName": "sample string 8",
      "ApId": 0,
      "ApName": null,
      "Status": false
    },
    {
      "TypeName": "CustomerBills",
      "BillDate": "sample string 6",
      "BillId": 4,
      "BillNo": "sample string 5",
      "BillType": "sample string 7",
      "Id": 1,
      "Name": "sample string 2",
      "No": "sample string 3",
      "QTY": 0.0,
      "AvailableQTY": 0.0,
      "Receipt": 0.0,
      "UnitName": "sample string 8",
      "ApId": 0,
      "ApName": null,
      "Status": false
    }
  ],
  "OffsetStop": "sample string 1"
}

application/xml, text/xml

Sample:
<SearchResourceViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.Mobile">
  <CustomerBills>
    <SRVMBill4Customer>
      <BillDate>sample string 6</BillDate>
      <BillId>4</BillId>
      <BillNo>sample string 5</BillNo>
      <BillType>sample string 7</BillType>
      <CustId>1</CustId>
      <CustomerName>sample string 2</CustomerName>
      <CustomerNo>sample string 3</CustomerNo>
      <UnitName>sample string 8</UnitName>
    </SRVMBill4Customer>
    <SRVMBill4Customer>
      <BillDate>sample string 6</BillDate>
      <BillId>4</BillId>
      <BillNo>sample string 5</BillNo>
      <BillType>sample string 7</BillType>
      <CustId>1</CustId>
      <CustomerName>sample string 2</CustomerName>
      <CustomerNo>sample string 3</CustomerNo>
      <UnitName>sample string 8</UnitName>
    </SRVMBill4Customer>
  </CustomerBills>
  <Customers>
    <SRVM4Customer>
      <Id>1</Id>
      <Name>sample string 2</Name>
      <Receipt>3</Receipt>
      <Status>true</Status>
    </SRVM4Customer>
    <SRVM4Customer>
      <Id>1</Id>
      <Name>sample string 2</Name>
      <Receipt>3</Receipt>
      <Status>true</Status>
    </SRVM4Customer>
  </Customers>
  <Items>
    <SearchResourceSimple>
      <ApId>4</ApId>
      <ApName>sample string 5</ApName>
      <AvailableQTY>0</AvailableQTY>
      <BillDate i:nil="true" />
      <BillId>0</BillId>
      <BillNo i:nil="true" />
      <BillType i:nil="true" />
      <Id>1</Id>
      <Name>sample string 2</Name>
      <No>sample string 3</No>
      <QTY>0</QTY>
      <Receipt>0</Receipt>
      <Status>true</Status>
      <TypeName>Products</TypeName>
      <UnitName i:nil="true" />
    </SearchResourceSimple>
    <SearchResourceSimple>
      <ApId>4</ApId>
      <ApName>sample string 5</ApName>
      <AvailableQTY>0</AvailableQTY>
      <BillDate i:nil="true" />
      <BillId>0</BillId>
      <BillNo i:nil="true" />
      <BillType i:nil="true" />
      <Id>1</Id>
      <Name>sample string 2</Name>
      <No>sample string 3</No>
      <QTY>0</QTY>
      <Receipt>0</Receipt>
      <Status>true</Status>
      <TypeName>Products</TypeName>
      <UnitName i:nil="true" />
    </SearchResourceSimple>
    <SearchResourceSimple>
      <ApId>0</ApId>
      <ApName i:nil="true" />
      <AvailableQTY>0</AvailableQTY>
      <BillDate i:nil="true" />
      <BillId>0</BillId>
      <BillNo i:nil="true" />
      <BillType i:nil="true" />
      <Id>1</Id>
      <Name>sample string 2</Name>
      <No i:nil="true" />
      <QTY>0</QTY>
      <Receipt>3</Receipt>
      <Status>true</Status>
      <TypeName>Vendors</TypeName>
      <UnitName i:nil="true" />
    </SearchResourceSimple>
    <SearchResourceSimple>
      <ApId>0</ApId>
      <ApName i:nil="true" />
      <AvailableQTY>0</AvailableQTY>
      <BillDate i:nil="true" />
      <BillId>0</BillId>
      <BillNo i:nil="true" />
      <BillType i:nil="true" />
      <Id>1</Id>
      <Name>sample string 2</Name>
      <No i:nil="true" />
      <QTY>0</QTY>
      <Receipt>3</Receipt>
      <Status>true</Status>
      <TypeName>Vendors</TypeName>
      <UnitName i:nil="true" />
    </SearchResourceSimple>
    <SearchResourceSimple>
      <ApId>0</ApId>
      <ApName i:nil="true" />
      <AvailableQTY>0</AvailableQTY>
      <BillDate i:nil="true" />
      <BillId>0</BillId>
      <BillNo i:nil="true" />
      <BillType i:nil="true" />
      <Id>1</Id>
      <Name>sample string 2</Name>
      <No i:nil="true" />
      <QTY>0</QTY>
      <Receipt>3</Receipt>
      <Status>true</Status>
      <TypeName>Customers</TypeName>
      <UnitName i:nil="true" />
    </SearchResourceSimple>
    <SearchResourceSimple>
      <ApId>0</ApId>
      <ApName i:nil="true" />
      <AvailableQTY>0</AvailableQTY>
      <BillDate i:nil="true" />
      <BillId>0</BillId>
      <BillNo i:nil="true" />
      <BillType i:nil="true" />
      <Id>1</Id>
      <Name>sample string 2</Name>
      <No i:nil="true" />
      <QTY>0</QTY>
      <Receipt>3</Receipt>
      <Status>true</Status>
      <TypeName>Customers</TypeName>
      <UnitName i:nil="true" />
    </SearchResourceSimple>
    <SearchResourceSimple>
      <ApId>0</ApId>
      <ApName i:nil="true" />
      <AvailableQTY>5</AvailableQTY>
      <BillDate i:nil="true" />
      <BillId>0</BillId>
      <BillNo i:nil="true" />
      <BillType i:nil="true" />
      <Id>1</Id>
      <Name>sample string 2</Name>
      <No>sample string 3</No>
      <QTY>4</QTY>
      <Receipt>0</Receipt>
      <Status>false</Status>
      <TypeName>Stocks</TypeName>
      <UnitName i:nil="true" />
    </SearchResourceSimple>
    <SearchResourceSimple>
      <ApId>0</ApId>
      <ApName i:nil="true" />
      <AvailableQTY>5</AvailableQTY>
      <BillDate i:nil="true" />
      <BillId>0</BillId>
      <BillNo i:nil="true" />
      <BillType i:nil="true" />
      <Id>1</Id>
      <Name>sample string 2</Name>
      <No>sample string 3</No>
      <QTY>4</QTY>
      <Receipt>0</Receipt>
      <Status>false</Status>
      <TypeName>Stocks</TypeName>
      <UnitName i:nil="true" />
    </SearchResourceSimple>
    <SearchResourceSimple>
      <ApId>10</ApId>
      <ApName>sample string 11</ApName>
      <AvailableQTY>0</AvailableQTY>
      <BillDate>sample string 8</BillDate>
      <BillId>6</BillId>
      <BillNo>sample string 7</BillNo>
      <BillType>sample string 9</BillType>
      <Id>1</Id>
      <Name>sample string 2</Name>
      <No>sample string 3</No>
      <QTY>4</QTY>
      <Receipt>0</Receipt>
      <Status>false</Status>
      <TypeName>ProductBills</TypeName>
      <UnitName>sample string 5</UnitName>
    </SearchResourceSimple>
    <SearchResourceSimple>
      <ApId>10</ApId>
      <ApName>sample string 11</ApName>
      <AvailableQTY>0</AvailableQTY>
      <BillDate>sample string 8</BillDate>
      <BillId>6</BillId>
      <BillNo>sample string 7</BillNo>
      <BillType>sample string 9</BillType>
      <Id>1</Id>
      <Name>sample string 2</Name>
      <No>sample string 3</No>
      <QTY>4</QTY>
      <Receipt>0</Receipt>
      <Status>false</Status>
      <TypeName>ProductBills</TypeName>
      <UnitName>sample string 5</UnitName>
    </SearchResourceSimple>
    <SearchResourceSimple>
      <ApId>0</ApId>
      <ApName i:nil="true" />
      <AvailableQTY>0</AvailableQTY>
      <BillDate>sample string 6</BillDate>
      <BillId>4</BillId>
      <BillNo>sample string 5</BillNo>
      <BillType>sample string 7</BillType>
      <Id>1</Id>
      <Name>sample string 2</Name>
      <No>sample string 3</No>
      <QTY>0</QTY>
      <Receipt>0</Receipt>
      <Status>false</Status>
      <TypeName>VendorBills</TypeName>
      <UnitName>sample string 8</UnitName>
    </SearchResourceSimple>
    <SearchResourceSimple>
      <ApId>0</ApId>
      <ApName i:nil="true" />
      <AvailableQTY>0</AvailableQTY>
      <BillDate>sample string 6</BillDate>
      <BillId>4</BillId>
      <BillNo>sample string 5</BillNo>
      <BillType>sample string 7</BillType>
      <Id>1</Id>
      <Name>sample string 2</Name>
      <No>sample string 3</No>
      <QTY>0</QTY>
      <Receipt>0</Receipt>
      <Status>false</Status>
      <TypeName>VendorBills</TypeName>
      <UnitName>sample string 8</UnitName>
    </SearchResourceSimple>
    <SearchResourceSimple>
      <ApId>0</ApId>
      <ApName i:nil="true" />
      <AvailableQTY>0</AvailableQTY>
      <BillDate>sample string 6</BillDate>
      <BillId>4</BillId>
      <BillNo>sample string 5</BillNo>
      <BillType>sample string 7</BillType>
      <Id>1</Id>
      <Name>sample string 2</Name>
      <No>sample string 3</No>
      <QTY>0</QTY>
      <Receipt>0</Receipt>
      <Status>false</Status>
      <TypeName>CustomerBills</TypeName>
      <UnitName>sample string 8</UnitName>
    </SearchResourceSimple>
    <SearchResourceSimple>
      <ApId>0</ApId>
      <ApName i:nil="true" />
      <AvailableQTY>0</AvailableQTY>
      <BillDate>sample string 6</BillDate>
      <BillId>4</BillId>
      <BillNo>sample string 5</BillNo>
      <BillType>sample string 7</BillType>
      <Id>1</Id>
      <Name>sample string 2</Name>
      <No>sample string 3</No>
      <QTY>0</QTY>
      <Receipt>0</Receipt>
      <Status>false</Status>
      <TypeName>CustomerBills</TypeName>
      <UnitName>sample string 8</UnitName>
    </SearchResourceSimple>
  </Items>
  <OffsetStop>sample string 1</OffsetStop>
  <ProductBills>
    <SRVMBill4Product>
      <ApId>10</ApId>
      <ApName>sample string 11</ApName>
      <BillDate>sample string 8</BillDate>
      <BillId>6</BillId>
      <BillNo>sample string 7</BillNo>
      <BillType>sample string 9</BillType>
      <ProdId>1</ProdId>
      <ProdName>sample string 2</ProdName>
      <ProdNo>sample string 3</ProdNo>
      <QTY>4</QTY>
      <UnitName>sample string 5</UnitName>
    </SRVMBill4Product>
    <SRVMBill4Product>
      <ApId>10</ApId>
      <ApName>sample string 11</ApName>
      <BillDate>sample string 8</BillDate>
      <BillId>6</BillId>
      <BillNo>sample string 7</BillNo>
      <BillType>sample string 9</BillType>
      <ProdId>1</ProdId>
      <ProdName>sample string 2</ProdName>
      <ProdNo>sample string 3</ProdNo>
      <QTY>4</QTY>
      <UnitName>sample string 5</UnitName>
    </SRVMBill4Product>
  </ProductBills>
  <Products>
    <SRVM4Product>
      <ApId>4</ApId>
      <ApName>sample string 5</ApName>
      <Id>1</Id>
      <Name>sample string 2</Name>
      <No>sample string 3</No>
      <Status>true</Status>
    </SRVM4Product>
    <SRVM4Product>
      <ApId>4</ApId>
      <ApName>sample string 5</ApName>
      <Id>1</Id>
      <Name>sample string 2</Name>
      <No>sample string 3</No>
      <Status>true</Status>
    </SRVM4Product>
  </Products>
  <Stocks>
    <SRVM4Stock>
      <AvailableQTY>5</AvailableQTY>
      <Id>1</Id>
      <Name>sample string 2</Name>
      <No>sample string 3</No>
      <QTY>4</QTY>
    </SRVM4Stock>
    <SRVM4Stock>
      <AvailableQTY>5</AvailableQTY>
      <Id>1</Id>
      <Name>sample string 2</Name>
      <No>sample string 3</No>
      <QTY>4</QTY>
    </SRVM4Stock>
  </Stocks>
  <VendorBills>
    <SRVMBill4Vendor>
      <BillDate>sample string 6</BillDate>
      <BillId>4</BillId>
      <BillNo>sample string 5</BillNo>
      <BillType>sample string 7</BillType>
      <UnitName>sample string 8</UnitName>
      <VendorId>1</VendorId>
      <VendorName>sample string 2</VendorName>
      <VendorNo>sample string 3</VendorNo>
    </SRVMBill4Vendor>
    <SRVMBill4Vendor>
      <BillDate>sample string 6</BillDate>
      <BillId>4</BillId>
      <BillNo>sample string 5</BillNo>
      <BillType>sample string 7</BillType>
      <UnitName>sample string 8</UnitName>
      <VendorId>1</VendorId>
      <VendorName>sample string 2</VendorName>
      <VendorNo>sample string 3</VendorNo>
    </SRVMBill4Vendor>
  </VendorBills>
  <Vendors>
    <SRVM4Vendor>
      <Id>1</Id>
      <Name>sample string 2</Name>
      <Receipt>3</Receipt>
      <Status>true</Status>
    </SRVM4Vendor>
    <SRVM4Vendor>
      <Id>1</Id>
      <Name>sample string 2</Name>
      <Receipt>3</Receipt>
      <Status>true</Status>
    </SRVM4Vendor>
  </Vendors>
</SearchResourceViewModel>