POST jxc_api/InBoundBillCostAdj/SearchAdjustmentDetails

Request Information

URI Parameters

None.

Body Parameters

CostAdjustmentDetailsCondition
NameDescriptionTypeAdditional information
BillType

BillType

None.

StartTime

date

None.

EndTime

date

None.

ProdCats

Collection of integer

None.

ProdIds

Collection of integer

None.

WhIds

Collection of integer

None.

BillIds

Collection of integer

None.

Items

Collection of CostAdjustmentDetailsModel

None.

PageIndex

integer

None.

PageSize

integer

None.

UsePager

boolean

None.

CurrUserSn

integer

None.

CanViewAllBill

boolean

None.

CanOpeAllWh

boolean

None.

OpeWhList

Collection of integer

None.

DocumentDateType

integer

None.

DocumentDateArr

Collection of date

None.

DeliveryDateType

integer

None.

DeliveryDateArr

Collection of date

None.

OffDateType

integer

None.

OffDateArr

Collection of date

None.

InventoryDateType

integer

None.

InventoryDateArr

Collection of date

None.

Request Formats

application/json, text/json

Sample:
{
  "BillType": 1010,
  "StartTime": "2024-11-25 02:59:06",
  "EndTime": "2024-11-25 02:59:06",
  "ProdCats": [
    1,
    2
  ],
  "ProdIds": [
    1,
    2
  ],
  "WhIds": [
    1,
    2
  ],
  "BillIds": [
    1,
    2
  ],
  "Items": [
    {
      "BillDate": "sample string 1",
      "BillType": 1010,
      "BillId": 2,
      "BillTypeName": "sample string 3",
      "BillNo": "sample string 4",
      "ProdId": 5,
      "ApId": 6,
      "ProdNo": "sample string 7",
      "ProdName": "sample string 8",
      "Spec": "sample string 9",
      "Brand": "sample string 10",
      "Location": "sample string 11",
      "ProdImage": "sample string 12",
      "CategoryName": "sample string 13",
      "ApName": "sample string 14",
      "WhId": 15,
      "WhName": "sample string 16",
      "UnitId": 17,
      "UnitName": "sample string 18",
      "QTY": 19.0,
      "UnitCost": 20.0,
      "Cost": 21.0
    },
    {
      "BillDate": "sample string 1",
      "BillType": 1010,
      "BillId": 2,
      "BillTypeName": "sample string 3",
      "BillNo": "sample string 4",
      "ProdId": 5,
      "ApId": 6,
      "ProdNo": "sample string 7",
      "ProdName": "sample string 8",
      "Spec": "sample string 9",
      "Brand": "sample string 10",
      "Location": "sample string 11",
      "ProdImage": "sample string 12",
      "CategoryName": "sample string 13",
      "ApName": "sample string 14",
      "WhId": 15,
      "WhName": "sample string 16",
      "UnitId": 17,
      "UnitName": "sample string 18",
      "QTY": 19.0,
      "UnitCost": 20.0,
      "Cost": 21.0
    }
  ],
  "PageIndex": 3,
  "PageSize": 4,
  "UsePager": true,
  "CurrUserSn": 6,
  "CanViewAllBill": true,
  "CanOpeAllWh": true,
  "OpeWhList": [
    1,
    2
  ],
  "DocumentDateType": 9,
  "DocumentDateArr": [
    "2024-11-25 02:59:06",
    "2024-11-25 02:59:06"
  ],
  "DeliveryDateType": 10,
  "DeliveryDateArr": [
    "2024-11-25 02:59:06",
    "2024-11-25 02:59:06"
  ],
  "OffDateType": 11,
  "OffDateArr": [
    "2024-11-25 02:59:06",
    "2024-11-25 02:59:06"
  ],
  "InventoryDateType": 12,
  "InventoryDateArr": [
    "2024-11-25 02:59:06",
    "2024-11-25 02:59:06"
  ]
}

application/xml, text/xml

Sample:
<CostAdjustmentDetailsCondition xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Stock.InboundCostAdj">
  <_x003C_DeliveryDateArr_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.Setting">
    <d2p1:dateTime>2024-11-25T02:59:06.532507+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T02:59:06.532507+08:00</d2p1:dateTime>
  </_x003C_DeliveryDateArr_x003E_k__BackingField>
  <_x003C_DeliveryDateType_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.Setting">10</_x003C_DeliveryDateType_x003E_k__BackingField>
  <_x003C_DocumentDateArr_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.Setting">
    <d2p1:dateTime>2024-11-25T02:59:06.532507+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T02:59:06.532507+08:00</d2p1:dateTime>
  </_x003C_DocumentDateArr_x003E_k__BackingField>
  <_x003C_DocumentDateType_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.Setting">9</_x003C_DocumentDateType_x003E_k__BackingField>
  <_x003C_InventoryDateArr_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.Setting">
    <d2p1:dateTime>2024-11-25T02:59:06.532507+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T02:59:06.532507+08:00</d2p1:dateTime>
  </_x003C_InventoryDateArr_x003E_k__BackingField>
  <_x003C_InventoryDateType_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.Setting">12</_x003C_InventoryDateType_x003E_k__BackingField>
  <_x003C_OffDateArr_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.Setting">
    <d2p1:dateTime>2024-11-25T02:59:06.532507+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T02:59:06.532507+08:00</d2p1:dateTime>
  </_x003C_OffDateArr_x003E_k__BackingField>
  <_x003C_OffDateType_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.Setting">11</_x003C_OffDateType_x003E_k__BackingField>
  <_x003C_CanOpeAllWh_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Setting">true</_x003C_CanOpeAllWh_x003E_k__BackingField>
  <_x003C_CanViewAllBill_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Setting">true</_x003C_CanViewAllBill_x003E_k__BackingField>
  <_x003C_CurrUserSn_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Setting">6</_x003C_CurrUserSn_x003E_k__BackingField>
  <_x003C_OpeWhList_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Setting">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_OpeWhList_x003E_k__BackingField>
  <_x003C_PageIndex_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.NewApi">3</_x003C_PageIndex_x003E_k__BackingField>
  <_x003C_PageSize_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.NewApi">4</_x003C_PageSize_x003E_k__BackingField>
  <_x003C_UsePager_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.NewApi">true</_x003C_UsePager_x003E_k__BackingField>
  <BillIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </BillIds>
  <BillType>Purchase</BillType>
  <EndTime>2024-11-25T02:59:06.532507+08:00</EndTime>
  <Items>
    <CostAdjustmentDetailsModel>
      <ApId>6</ApId>
      <ApName>sample string 14</ApName>
      <BillDate>sample string 1</BillDate>
      <BillId>2</BillId>
      <BillNo>sample string 4</BillNo>
      <BillType>Purchase</BillType>
      <BillTypeName>sample string 3</BillTypeName>
      <Brand>sample string 10</Brand>
      <CategoryName>sample string 13</CategoryName>
      <Cost>21</Cost>
      <Location>sample string 11</Location>
      <ProdId>5</ProdId>
      <ProdImage>sample string 12</ProdImage>
      <ProdName>sample string 8</ProdName>
      <ProdNo>sample string 7</ProdNo>
      <QTY>19</QTY>
      <Spec>sample string 9</Spec>
      <UnitCost>20</UnitCost>
      <UnitId>17</UnitId>
      <UnitName>sample string 18</UnitName>
      <WhId>15</WhId>
      <WhName>sample string 16</WhName>
    </CostAdjustmentDetailsModel>
    <CostAdjustmentDetailsModel>
      <ApId>6</ApId>
      <ApName>sample string 14</ApName>
      <BillDate>sample string 1</BillDate>
      <BillId>2</BillId>
      <BillNo>sample string 4</BillNo>
      <BillType>Purchase</BillType>
      <BillTypeName>sample string 3</BillTypeName>
      <Brand>sample string 10</Brand>
      <CategoryName>sample string 13</CategoryName>
      <Cost>21</Cost>
      <Location>sample string 11</Location>
      <ProdId>5</ProdId>
      <ProdImage>sample string 12</ProdImage>
      <ProdName>sample string 8</ProdName>
      <ProdNo>sample string 7</ProdNo>
      <QTY>19</QTY>
      <Spec>sample string 9</Spec>
      <UnitCost>20</UnitCost>
      <UnitId>17</UnitId>
      <UnitName>sample string 18</UnitName>
      <WhId>15</WhId>
      <WhName>sample string 16</WhName>
    </CostAdjustmentDetailsModel>
  </Items>
  <ProdCats xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </ProdCats>
  <ProdIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </ProdIds>
  <StartTime>2024-11-25T02:59:06.532507+08:00</StartTime>
  <WhIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </WhIds>
</CostAdjustmentDetailsCondition>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

NewApiPagedListOfCostAdjustmentDetailsModel
NameDescriptionTypeAdditional information
Items

Collection of CostAdjustmentDetailsModel

None.

SumModel

CostAdjustmentDetailsModel

None.

PageIndex

integer

None.

PageSize

integer

None.

Total

integer

None.

UsePager

boolean

None.

CategoriesFounded

Collection of integer

None.

RDocumentStartDate

string

None.

RDocumentEndDate

string

None.

RDeliveryStartDate

string

None.

RDeliveryEndDate

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Items": [
    {
      "BillDate": "sample string 1",
      "BillType": 1010,
      "BillId": 2,
      "BillTypeName": "sample string 3",
      "BillNo": "sample string 4",
      "ProdId": 5,
      "ApId": 6,
      "ProdNo": "sample string 7",
      "ProdName": "sample string 8",
      "Spec": "sample string 9",
      "Brand": "sample string 10",
      "Location": "sample string 11",
      "ProdImage": "sample string 12",
      "CategoryName": "sample string 13",
      "ApName": "sample string 14",
      "WhId": 15,
      "WhName": "sample string 16",
      "UnitId": 17,
      "UnitName": "sample string 18",
      "QTY": 19.0,
      "UnitCost": 20.0,
      "Cost": 21.0
    },
    {
      "BillDate": "sample string 1",
      "BillType": 1010,
      "BillId": 2,
      "BillTypeName": "sample string 3",
      "BillNo": "sample string 4",
      "ProdId": 5,
      "ApId": 6,
      "ProdNo": "sample string 7",
      "ProdName": "sample string 8",
      "Spec": "sample string 9",
      "Brand": "sample string 10",
      "Location": "sample string 11",
      "ProdImage": "sample string 12",
      "CategoryName": "sample string 13",
      "ApName": "sample string 14",
      "WhId": 15,
      "WhName": "sample string 16",
      "UnitId": 17,
      "UnitName": "sample string 18",
      "QTY": 19.0,
      "UnitCost": 20.0,
      "Cost": 21.0
    }
  ],
  "SumModel": {
    "BillDate": "sample string 1",
    "BillType": 1010,
    "BillId": 2,
    "BillTypeName": "sample string 3",
    "BillNo": "sample string 4",
    "ProdId": 5,
    "ApId": 6,
    "ProdNo": "sample string 7",
    "ProdName": "sample string 8",
    "Spec": "sample string 9",
    "Brand": "sample string 10",
    "Location": "sample string 11",
    "ProdImage": "sample string 12",
    "CategoryName": "sample string 13",
    "ApName": "sample string 14",
    "WhId": 15,
    "WhName": "sample string 16",
    "UnitId": 17,
    "UnitName": "sample string 18",
    "QTY": 19.0,
    "UnitCost": 20.0,
    "Cost": 21.0
  },
  "PageIndex": 1,
  "PageSize": 2,
  "Total": 3,
  "UsePager": true,
  "CategoriesFounded": [
    1,
    2
  ],
  "RDocumentStartDate": "sample string 5",
  "RDocumentEndDate": "sample string 6",
  "RDeliveryStartDate": "sample string 7",
  "RDeliveryEndDate": "sample string 8"
}