POST api/v1/Material_Shelf_Stock/List

Request Information

URI Parameters

None.

Body Parameters

Material_Shelf_StockReportParamModel
NameDescriptionTypeAdditional information
StockId

string

None.

ShelfId

string

None.

MaterialId

string

None.

GrpMaterialId

string

None.

Page

integer

None.

PageSize

integer

None.

UI_TextSearch

string

None.

IsExportExcel

boolean

None.

IsExportPDF

boolean

None.

FilterQuery

Dictionary of string [key] and Object [value]

None.

ScreenGUID

string

None.

DocumentWidth

integer

None.

Url

string

None.

OptionConfigsMore

Dictionary of string [key] and Object [value]

None.

QuerySearch

Dictionary of string [key] and Object [value]

None.

IsTestCase

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "StockId": "sample string 1",
  "ShelfId": "sample string 2",
  "MaterialId": "sample string 3",
  "GrpMaterialId": "sample string 4",
  "Page": 5,
  "PageSize": 6,
  "UI_TextSearch": "sample string 7",
  "IsExportExcel": true,
  "IsExportPDF": true,
  "FilterQuery": null,
  "ScreenGUID": "sample string 10",
  "DocumentWidth": 11,
  "Url": "sample string 12",
  "OptionConfigsMore": null,
  "QuerySearch": null,
  "IsTestCase": true
}

application/xml, text/xml

Sample:
<Material_Shelf_StockReportParamModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AllianceSolidAPI.Shared.Models">
  <DocumentWidth xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.BaseData.Models">11</DocumentWidth>
  <FilterQuery xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.BaseData.Models" />
  <IsTestCase xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.BaseData.Models">true</IsTestCase>
  <OptionConfigsMore xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.BaseData.Models" />
  <QuerySearch xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.BaseData.Models" />
  <ScreenGUID xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.BaseData.Models">sample string 10</ScreenGUID>
  <Url xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.BaseData.Models">sample string 12</Url>
  <GrpMaterialId>sample string 4</GrpMaterialId>
  <IsExportExcel>true</IsExportExcel>
  <IsExportPDF>true</IsExportPDF>
  <MaterialId>sample string 3</MaterialId>
  <Page>5</Page>
  <PageSize>6</PageSize>
  <ShelfId>sample string 2</ShelfId>
  <StockId>sample string 1</StockId>
  <UI_TextSearch>sample string 7</UI_TextSearch>
</Material_Shelf_StockReportParamModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Material_Shelf_StockReportParamModel'.

Response Information

Resource Description

EzyResultObjectOfEzyDataSourceResultOfMaterial_Shelf_StockReportModel
NameDescriptionTypeAdditional information
Data

EzyDataSourceResultOfMaterial_Shelf_StockReportModel

None.

ExtraData

Dictionary of string [key] and Object [value]

None.

StartTime

decimal number

None.

EndTime

decimal number

None.

TotalMili

decimal number

None.

StatusCode

integer

None.

Msg

string

None.

MsgShowInUI

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {
    "Data": [
      {
        "Id": "sample string 1",
        "MaterialId": "sample string 2",
        "StockCode": "sample string 3",
        "StockName": "sample string 4",
        "ShelfCode": "sample string 5",
        "ShelfName": "sample string 6",
        "StockId": "sample string 7",
        "MaterialCode": "sample string 8",
        "MaterialName": "sample string 9",
        "UnitName": "sample string 10",
        "ShelfId": "sample string 11",
        "MaterialShelfId": "sample string 12",
        "btn_Duplicate": "sample string 13",
        "MaterialCode_Relation": "sample string 14"
      },
      {
        "Id": "sample string 1",
        "MaterialId": "sample string 2",
        "StockCode": "sample string 3",
        "StockName": "sample string 4",
        "ShelfCode": "sample string 5",
        "ShelfName": "sample string 6",
        "StockId": "sample string 7",
        "MaterialCode": "sample string 8",
        "MaterialName": "sample string 9",
        "UnitName": "sample string 10",
        "ShelfId": "sample string 11",
        "MaterialShelfId": "sample string 12",
        "btn_Duplicate": "sample string 13",
        "MaterialCode_Relation": "sample string 14"
      }
    ],
    "DataTotal": [
      {
        "Id": "sample string 1",
        "MaterialId": "sample string 2",
        "StockCode": "sample string 3",
        "StockName": "sample string 4",
        "ShelfCode": "sample string 5",
        "ShelfName": "sample string 6",
        "StockId": "sample string 7",
        "MaterialCode": "sample string 8",
        "MaterialName": "sample string 9",
        "UnitName": "sample string 10",
        "ShelfId": "sample string 11",
        "MaterialShelfId": "sample string 12",
        "btn_Duplicate": "sample string 13",
        "MaterialCode_Relation": "sample string 14"
      },
      {
        "Id": "sample string 1",
        "MaterialId": "sample string 2",
        "StockCode": "sample string 3",
        "StockName": "sample string 4",
        "ShelfCode": "sample string 5",
        "ShelfName": "sample string 6",
        "StockId": "sample string 7",
        "MaterialCode": "sample string 8",
        "MaterialName": "sample string 9",
        "UnitName": "sample string 10",
        "ShelfId": "sample string 11",
        "MaterialShelfId": "sample string 12",
        "btn_Duplicate": "sample string 13",
        "MaterialCode_Relation": "sample string 14"
      }
    ],
    "ExtraData": {},
    "Errors": {},
    "Total": 2
  },
  "ExtraData": null,
  "StartTime": 1.1,
  "EndTime": 2.1,
  "TotalMili": 3.1,
  "StatusCode": 4,
  "Msg": "sample string 5",
  "MsgShowInUI": "sample string 6"
}

application/xml, text/xml

Sample:
<EzyResultObjectOfEzyDataSourceResultOfMaterial_Shelf_StockReportModel3BwjWE5fUXXDg0Sb xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.Library.Message">
  <Msg>sample string 5</Msg>
  <MsgShowInUI>sample string 6</MsgShowInUI>
  <StatusCode>4</StatusCode>
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Ezy.Module.Library.UI">
    <d2p1:Errors />
    <d2p1:ExtraData xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
    <d2p1:Total>2</d2p1:Total>
    <d2p1:Data xmlns:d3p1="http://schemas.datacontract.org/2004/07/AllianceSolidAPI.Shared.Models">
      <d3p1:Material_Shelf_StockReportModel>
        <d3p1:Id>sample string 1</d3p1:Id>
        <d3p1:MaterialCode>sample string 8</d3p1:MaterialCode>
        <d3p1:MaterialCode_Relation>sample string 14</d3p1:MaterialCode_Relation>
        <d3p1:MaterialId>sample string 2</d3p1:MaterialId>
        <d3p1:MaterialName>sample string 9</d3p1:MaterialName>
        <d3p1:MaterialShelfId>sample string 12</d3p1:MaterialShelfId>
        <d3p1:ShelfCode>sample string 5</d3p1:ShelfCode>
        <d3p1:ShelfId>sample string 11</d3p1:ShelfId>
        <d3p1:ShelfName>sample string 6</d3p1:ShelfName>
        <d3p1:StockCode>sample string 3</d3p1:StockCode>
        <d3p1:StockId>sample string 7</d3p1:StockId>
        <d3p1:StockName>sample string 4</d3p1:StockName>
        <d3p1:UnitName>sample string 10</d3p1:UnitName>
        <d3p1:btn_Duplicate>sample string 13</d3p1:btn_Duplicate>
      </d3p1:Material_Shelf_StockReportModel>
      <d3p1:Material_Shelf_StockReportModel>
        <d3p1:Id>sample string 1</d3p1:Id>
        <d3p1:MaterialCode>sample string 8</d3p1:MaterialCode>
        <d3p1:MaterialCode_Relation>sample string 14</d3p1:MaterialCode_Relation>
        <d3p1:MaterialId>sample string 2</d3p1:MaterialId>
        <d3p1:MaterialName>sample string 9</d3p1:MaterialName>
        <d3p1:MaterialShelfId>sample string 12</d3p1:MaterialShelfId>
        <d3p1:ShelfCode>sample string 5</d3p1:ShelfCode>
        <d3p1:ShelfId>sample string 11</d3p1:ShelfId>
        <d3p1:ShelfName>sample string 6</d3p1:ShelfName>
        <d3p1:StockCode>sample string 3</d3p1:StockCode>
        <d3p1:StockId>sample string 7</d3p1:StockId>
        <d3p1:StockName>sample string 4</d3p1:StockName>
        <d3p1:UnitName>sample string 10</d3p1:UnitName>
        <d3p1:btn_Duplicate>sample string 13</d3p1:btn_Duplicate>
      </d3p1:Material_Shelf_StockReportModel>
    </d2p1:Data>
    <d2p1:DataTotal xmlns:d3p1="http://schemas.datacontract.org/2004/07/AllianceSolidAPI.Shared.Models">
      <d3p1:Material_Shelf_StockReportModel>
        <d3p1:Id>sample string 1</d3p1:Id>
        <d3p1:MaterialCode>sample string 8</d3p1:MaterialCode>
        <d3p1:MaterialCode_Relation>sample string 14</d3p1:MaterialCode_Relation>
        <d3p1:MaterialId>sample string 2</d3p1:MaterialId>
        <d3p1:MaterialName>sample string 9</d3p1:MaterialName>
        <d3p1:MaterialShelfId>sample string 12</d3p1:MaterialShelfId>
        <d3p1:ShelfCode>sample string 5</d3p1:ShelfCode>
        <d3p1:ShelfId>sample string 11</d3p1:ShelfId>
        <d3p1:ShelfName>sample string 6</d3p1:ShelfName>
        <d3p1:StockCode>sample string 3</d3p1:StockCode>
        <d3p1:StockId>sample string 7</d3p1:StockId>
        <d3p1:StockName>sample string 4</d3p1:StockName>
        <d3p1:UnitName>sample string 10</d3p1:UnitName>
        <d3p1:btn_Duplicate>sample string 13</d3p1:btn_Duplicate>
      </d3p1:Material_Shelf_StockReportModel>
      <d3p1:Material_Shelf_StockReportModel>
        <d3p1:Id>sample string 1</d3p1:Id>
        <d3p1:MaterialCode>sample string 8</d3p1:MaterialCode>
        <d3p1:MaterialCode_Relation>sample string 14</d3p1:MaterialCode_Relation>
        <d3p1:MaterialId>sample string 2</d3p1:MaterialId>
        <d3p1:MaterialName>sample string 9</d3p1:MaterialName>
        <d3p1:MaterialShelfId>sample string 12</d3p1:MaterialShelfId>
        <d3p1:ShelfCode>sample string 5</d3p1:ShelfCode>
        <d3p1:ShelfId>sample string 11</d3p1:ShelfId>
        <d3p1:ShelfName>sample string 6</d3p1:ShelfName>
        <d3p1:StockCode>sample string 3</d3p1:StockCode>
        <d3p1:StockId>sample string 7</d3p1:StockId>
        <d3p1:StockName>sample string 4</d3p1:StockName>
        <d3p1:UnitName>sample string 10</d3p1:UnitName>
        <d3p1:btn_Duplicate>sample string 13</d3p1:btn_Duplicate>
      </d3p1:Material_Shelf_StockReportModel>
    </d2p1:DataTotal>
  </Data>
  <EndTime>2.1</EndTime>
  <ExtraData xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
  <StartTime>1.1</StartTime>
  <TotalMili>3.1</TotalMili>
</EzyResultObjectOfEzyDataSourceResultOfMaterial_Shelf_StockReportModel3BwjWE5fUXXDg0Sb>