POST api/v1/ReportInv_ByMaterial_EachStock/List

Request Information

URI Parameters

None.

Body Parameters

ReportInv_ByMaterial_EachStockParamModel
NameDescriptionTypeAdditional information
ItemCode

string

None.

StockId

string

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:
{
  "ItemCode": "sample string 1",
  "StockId": "sample string 2",
  "FilterQuery": null,
  "ScreenGUID": "sample string 3",
  "DocumentWidth": 4,
  "Url": "sample string 5",
  "OptionConfigsMore": null,
  "QuerySearch": null,
  "IsTestCase": true
}

application/xml, text/xml

Sample:
<ReportInv_ByMaterial_EachStockParamModel 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">4</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 3</ScreenGUID>
  <Url xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.BaseData.Models">sample string 5</Url>
  <ItemCode>sample string 1</ItemCode>
  <StockId>sample string 2</StockId>
</ReportInv_ByMaterial_EachStockParamModel>

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 'ReportInv_ByMaterial_EachStockParamModel'.

Response Information

Resource Description

EzyResultObjectOfEzyDataSourceResultOfReportInv_ByMaterial_EachStockModel
NameDescriptionTypeAdditional information
Data

EzyDataSourceResultOfReportInv_ByMaterial_EachStockModel

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",
        "ItemCode": "sample string 2",
        "ItemName": "sample string 3",
        "SellPrice": 4.0,
        "StockId": "sample string 5",
        "Expander_Inv_ByMaterial_EachStock_Detail": "sample string 6",
        "Note": "sample string 7"
      },
      {
        "Id": "sample string 1",
        "ItemCode": "sample string 2",
        "ItemName": "sample string 3",
        "SellPrice": 4.0,
        "StockId": "sample string 5",
        "Expander_Inv_ByMaterial_EachStock_Detail": "sample string 6",
        "Note": "sample string 7"
      }
    ],
    "DataTotal": [
      {
        "Id": "sample string 1",
        "ItemCode": "sample string 2",
        "ItemName": "sample string 3",
        "SellPrice": 4.0,
        "StockId": "sample string 5",
        "Expander_Inv_ByMaterial_EachStock_Detail": "sample string 6",
        "Note": "sample string 7"
      },
      {
        "Id": "sample string 1",
        "ItemCode": "sample string 2",
        "ItemName": "sample string 3",
        "SellPrice": 4.0,
        "StockId": "sample string 5",
        "Expander_Inv_ByMaterial_EachStock_Detail": "sample string 6",
        "Note": "sample string 7"
      }
    ],
    "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:
<EzyResultObjectOfEzyDataSourceResultOfReportInv_ByMaterial_EachStockModel3BwjWE5fUXXDg0Sb 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:ReportInv_ByMaterial_EachStockModel>
        <d3p1:Expander_Inv_ByMaterial_EachStock_Detail>sample string 6</d3p1:Expander_Inv_ByMaterial_EachStock_Detail>
        <d3p1:Id>sample string 1</d3p1:Id>
        <d3p1:ItemCode>sample string 2</d3p1:ItemCode>
        <d3p1:ItemName>sample string 3</d3p1:ItemName>
        <d3p1:Note>sample string 7</d3p1:Note>
        <d3p1:SellPrice>4</d3p1:SellPrice>
        <d3p1:StockId>sample string 5</d3p1:StockId>
      </d3p1:ReportInv_ByMaterial_EachStockModel>
      <d3p1:ReportInv_ByMaterial_EachStockModel>
        <d3p1:Expander_Inv_ByMaterial_EachStock_Detail>sample string 6</d3p1:Expander_Inv_ByMaterial_EachStock_Detail>
        <d3p1:Id>sample string 1</d3p1:Id>
        <d3p1:ItemCode>sample string 2</d3p1:ItemCode>
        <d3p1:ItemName>sample string 3</d3p1:ItemName>
        <d3p1:Note>sample string 7</d3p1:Note>
        <d3p1:SellPrice>4</d3p1:SellPrice>
        <d3p1:StockId>sample string 5</d3p1:StockId>
      </d3p1:ReportInv_ByMaterial_EachStockModel>
    </d2p1:Data>
    <d2p1:DataTotal xmlns:d3p1="http://schemas.datacontract.org/2004/07/AllianceSolidAPI.Shared.Models">
      <d3p1:ReportInv_ByMaterial_EachStockModel>
        <d3p1:Expander_Inv_ByMaterial_EachStock_Detail>sample string 6</d3p1:Expander_Inv_ByMaterial_EachStock_Detail>
        <d3p1:Id>sample string 1</d3p1:Id>
        <d3p1:ItemCode>sample string 2</d3p1:ItemCode>
        <d3p1:ItemName>sample string 3</d3p1:ItemName>
        <d3p1:Note>sample string 7</d3p1:Note>
        <d3p1:SellPrice>4</d3p1:SellPrice>
        <d3p1:StockId>sample string 5</d3p1:StockId>
      </d3p1:ReportInv_ByMaterial_EachStockModel>
      <d3p1:ReportInv_ByMaterial_EachStockModel>
        <d3p1:Expander_Inv_ByMaterial_EachStock_Detail>sample string 6</d3p1:Expander_Inv_ByMaterial_EachStock_Detail>
        <d3p1:Id>sample string 1</d3p1:Id>
        <d3p1:ItemCode>sample string 2</d3p1:ItemCode>
        <d3p1:ItemName>sample string 3</d3p1:ItemName>
        <d3p1:Note>sample string 7</d3p1:Note>
        <d3p1:SellPrice>4</d3p1:SellPrice>
        <d3p1:StockId>sample string 5</d3p1:StockId>
      </d3p1:ReportInv_ByMaterial_EachStockModel>
    </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>
</EzyResultObjectOfEzyDataSourceResultOfReportInv_ByMaterial_EachStockModel3BwjWE5fUXXDg0Sb>