POST Report/SearchStockCostChangeDetails

Request Information

URI Parameters

None.

Body Parameters

SearchStockCostChangeDetailParams
NameDescriptionTypeAdditional information
warehouseValue

integer

None.

year

integer

None.

month

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "warehouseValue": 1,
  "year": 2,
  "month": 3
}

application/xml, text/xml

Sample:
<SearchStockCostChangeDetailParams xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MKY.ERP.RG.WebApis.Models">
  <month>3</month>
  <warehouseValue>1</warehouseValue>
  <year>2</year>
</SearchStockCostChangeDetailParams>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

SearchStockCostChangeDetailResponse
NameDescriptionTypeAdditional information
preBalance

decimal number

None.

details

Collection of StockCostChangeDetail

None.

resultCode

string

None.

resultMsg

string

None.

Response Formats

application/json, text/json

Sample:
{
  "preBalance": 1.1,
  "details": [
    {
      "LogTime": "2025-07-13T18:00:01.7925568+08:00",
      "Direction": "sample string 1",
      "BillType": "sample string 2",
      "BillTypeID": 3,
      "BillSN": "sample string 4",
      "Cost": 1.1,
      "Balance": 5.1,
      "PrimaryId": 6,
      "WareHouseID": 1
    },
    {
      "LogTime": "2025-07-13T18:00:01.7925568+08:00",
      "Direction": "sample string 1",
      "BillType": "sample string 2",
      "BillTypeID": 3,
      "BillSN": "sample string 4",
      "Cost": 1.1,
      "Balance": 5.1,
      "PrimaryId": 6,
      "WareHouseID": 1
    }
  ],
  "resultCode": "sample string 2",
  "resultMsg": "sample string 3"
}

application/xml, text/xml

Sample:
<SearchStockCostChangeDetailResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MKY.ERP.RG.WebApis.Models">
  <resultCode>sample string 2</resultCode>
  <resultMsg>sample string 3</resultMsg>
  <details xmlns:d2p1="http://schemas.datacontract.org/2004/07/MKY.ERP.RG.Entity">
    <d2p1:StockCostChangeDetail>
      <d2p1:Balance>5.1</d2p1:Balance>
      <d2p1:BillSN>sample string 4</d2p1:BillSN>
      <d2p1:BillType>sample string 2</d2p1:BillType>
      <d2p1:BillTypeID>3</d2p1:BillTypeID>
      <d2p1:Cost>1.1</d2p1:Cost>
      <d2p1:Direction>sample string 1</d2p1:Direction>
      <d2p1:LogTime>2025-07-13T18:00:01.7925568+08:00</d2p1:LogTime>
      <d2p1:PrimaryId>6</d2p1:PrimaryId>
      <d2p1:WareHouseID>1</d2p1:WareHouseID>
    </d2p1:StockCostChangeDetail>
    <d2p1:StockCostChangeDetail>
      <d2p1:Balance>5.1</d2p1:Balance>
      <d2p1:BillSN>sample string 4</d2p1:BillSN>
      <d2p1:BillType>sample string 2</d2p1:BillType>
      <d2p1:BillTypeID>3</d2p1:BillTypeID>
      <d2p1:Cost>1.1</d2p1:Cost>
      <d2p1:Direction>sample string 1</d2p1:Direction>
      <d2p1:LogTime>2025-07-13T18:00:01.7925568+08:00</d2p1:LogTime>
      <d2p1:PrimaryId>6</d2p1:PrimaryId>
      <d2p1:WareHouseID>1</d2p1:WareHouseID>
    </d2p1:StockCostChangeDetail>
  </details>
  <preBalance>1.1</preBalance>
</SearchStockCostChangeDetailResponse>