POST jxc_api/InventoryAging/Search

Request Information

URI Parameters

None.

Body Parameters

InventoryAgingCondition
NameDescriptionTypeAdditional information
PageIndex

integer

None.

PageSize

integer

None.

BillDate

date

None.

ProdCatId

integer

None.

ProdBrand

string

None.

ProdIds

Collection of integer

None.

WhCatId

integer

None.

WhIds

Collection of integer

None.

Keywords

string

None.

IsProdAp

boolean

None.

IsProdShowDisabled

boolean

None.

IsShowSubTotal

boolean

None.

AgingSetting

Collection of InventoryAgingSettingInfo

None.

Request Formats

application/json, text/json

Sample:
{
  "PageIndex": 1,
  "PageSize": 2,
  "BillDate": "2024-11-25 03:00:28",
  "ProdCatId": 4,
  "ProdBrand": "sample string 5",
  "ProdIds": [
    1,
    2
  ],
  "WhCatId": 6,
  "WhIds": [
    1,
    2
  ],
  "Keywords": "sample string 7",
  "IsProdAp": true,
  "IsProdShowDisabled": true,
  "IsShowSubTotal": true,
  "AgingSetting": [
    {
      "ASID": 1,
      "IAID": 2,
      "AgingStage": "sample string 3",
      "AgingDays": 4,
      "Order": 5,
      "CreatedBy": 6,
      "CreatedDate": "2024-11-25 03:00:28",
      "IsSys": true
    },
    {
      "ASID": 1,
      "IAID": 2,
      "AgingStage": "sample string 3",
      "AgingDays": 4,
      "Order": 5,
      "CreatedBy": 6,
      "CreatedDate": "2024-11-25 03:00:28",
      "IsSys": true
    }
  ]
}

application/xml, text/xml

Sample:
<InventoryAgingCondition xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.NewApi.Stock">
  <_x003C_AgingSetting_x003E_k__BackingField xmlns:d2p1="http://schemas.datacontract.org/2004/07/LemonScm.Model.Stock">
    <d2p1:InventoryAgingSettingInfo>
      <d2p1:ASID>1</d2p1:ASID>
      <d2p1:AgingDays>4</d2p1:AgingDays>
      <d2p1:AgingStage>sample string 3</d2p1:AgingStage>
      <d2p1:CreatedBy>6</d2p1:CreatedBy>
      <d2p1:CreatedDate>2024-11-25T03:00:28.7183538+08:00</d2p1:CreatedDate>
      <d2p1:IAID>2</d2p1:IAID>
      <d2p1:IsSys>true</d2p1:IsSys>
      <d2p1:Order>5</d2p1:Order>
    </d2p1:InventoryAgingSettingInfo>
    <d2p1:InventoryAgingSettingInfo>
      <d2p1:ASID>1</d2p1:ASID>
      <d2p1:AgingDays>4</d2p1:AgingDays>
      <d2p1:AgingStage>sample string 3</d2p1:AgingStage>
      <d2p1:CreatedBy>6</d2p1:CreatedBy>
      <d2p1:CreatedDate>2024-11-25T03:00:28.7183538+08:00</d2p1:CreatedDate>
      <d2p1:IAID>2</d2p1:IAID>
      <d2p1:IsSys>true</d2p1:IsSys>
      <d2p1:Order>5</d2p1:Order>
    </d2p1:InventoryAgingSettingInfo>
  </_x003C_AgingSetting_x003E_k__BackingField>
  <_x003C_BillDate_x003E_k__BackingField>2024-11-25T03:00:28.7183538+08:00</_x003C_BillDate_x003E_k__BackingField>
  <_x003C_IsProdAp_x003E_k__BackingField>true</_x003C_IsProdAp_x003E_k__BackingField>
  <_x003C_IsProdShowDisabled_x003E_k__BackingField>true</_x003C_IsProdShowDisabled_x003E_k__BackingField>
  <_x003C_IsShowSubTotal_x003E_k__BackingField>true</_x003C_IsShowSubTotal_x003E_k__BackingField>
  <_x003C_Keywords_x003E_k__BackingField>sample string 7</_x003C_Keywords_x003E_k__BackingField>
  <_x003C_PageIndex_x003E_k__BackingField>1</_x003C_PageIndex_x003E_k__BackingField>
  <_x003C_PageSize_x003E_k__BackingField>2</_x003C_PageSize_x003E_k__BackingField>
  <_x003C_ProdBrand_x003E_k__BackingField>sample string 5</_x003C_ProdBrand_x003E_k__BackingField>
  <_x003C_ProdCatId_x003E_k__BackingField>4</_x003C_ProdCatId_x003E_k__BackingField>
  <_x003C_ProdIds_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_ProdIds_x003E_k__BackingField>
  <_x003C_WhCatId_x003E_k__BackingField>6</_x003C_WhCatId_x003E_k__BackingField>
  <_x003C_WhIds_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_WhIds_x003E_k__BackingField>
</InventoryAgingCondition>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

InventoryAgingListModel
NameDescriptionTypeAdditional information
Summary

InventoryAgingItemModel

None.

Total

integer

None.

TitleSetting

Collection of InventoryAgingSettingInfo

None.

Items

Collection of InventoryAgingItemModel

None.

Response Formats

application/json, text/json

Sample:
{
  "Summary": {
    "ProdNo": "sample string 1",
    "ProdName": "sample string 2",
    "ProdBrand": "sample string 3",
    "ApName": "sample string 4",
    "ProdSpec": "sample string 5",
    "ProdCatName": "sample string 6",
    "ProdCatNo": "sample string 7",
    "WhCatName": "sample string 8",
    "WhCatNo": "sample string 9",
    "WhName": "sample string 10",
    "WhNo": "sample string 11",
    "ProdUnitName": "sample string 12",
    "CompUnitQty": 13.0,
    "AgingSegmentsInfo": [
      {
        "AgingCount": 1.0,
        "AgingStage": "sample string 1",
        "order": 2
      },
      {
        "AgingCount": 1.0,
        "AgingStage": "sample string 1",
        "order": 2
      }
    ]
  },
  "Total": 1,
  "TitleSetting": [
    {
      "ASID": 1,
      "IAID": 2,
      "AgingStage": "sample string 3",
      "AgingDays": 4,
      "Order": 5,
      "CreatedBy": 6,
      "CreatedDate": "2024-11-25 03:00:28",
      "IsSys": true
    },
    {
      "ASID": 1,
      "IAID": 2,
      "AgingStage": "sample string 3",
      "AgingDays": 4,
      "Order": 5,
      "CreatedBy": 6,
      "CreatedDate": "2024-11-25 03:00:28",
      "IsSys": true
    }
  ],
  "Items": [
    {
      "ProdNo": "sample string 1",
      "ProdName": "sample string 2",
      "ProdBrand": "sample string 3",
      "ApName": "sample string 4",
      "ProdSpec": "sample string 5",
      "ProdCatName": "sample string 6",
      "ProdCatNo": "sample string 7",
      "WhCatName": "sample string 8",
      "WhCatNo": "sample string 9",
      "WhName": "sample string 10",
      "WhNo": "sample string 11",
      "ProdUnitName": "sample string 12",
      "CompUnitQty": 13.0,
      "AgingSegmentsInfo": [
        {
          "AgingCount": 1.0,
          "AgingStage": "sample string 1",
          "order": 2
        },
        {
          "AgingCount": 1.0,
          "AgingStage": "sample string 1",
          "order": 2
        }
      ]
    },
    {
      "ProdNo": "sample string 1",
      "ProdName": "sample string 2",
      "ProdBrand": "sample string 3",
      "ApName": "sample string 4",
      "ProdSpec": "sample string 5",
      "ProdCatName": "sample string 6",
      "ProdCatNo": "sample string 7",
      "WhCatName": "sample string 8",
      "WhCatNo": "sample string 9",
      "WhName": "sample string 10",
      "WhNo": "sample string 11",
      "ProdUnitName": "sample string 12",
      "CompUnitQty": 13.0,
      "AgingSegmentsInfo": [
        {
          "AgingCount": 1.0,
          "AgingStage": "sample string 1",
          "order": 2
        },
        {
          "AgingCount": 1.0,
          "AgingStage": "sample string 1",
          "order": 2
        }
      ]
    }
  ]
}

application/xml, text/xml

Sample:
<InventoryAgingListModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.Storage.Models">
  <Items>
    <InventoryAgingItemModel>
      <AgingSegmentsInfo xmlns:d4p1="http://schemas.datacontract.org/2004/07/LemonScm.Model.Stock">
        <d4p1:InventoryAgingSegments>
          <d4p1:AgingCount>1</d4p1:AgingCount>
          <d4p1:AgingStage>sample string 1</d4p1:AgingStage>
          <d4p1:order>2</d4p1:order>
        </d4p1:InventoryAgingSegments>
        <d4p1:InventoryAgingSegments>
          <d4p1:AgingCount>1</d4p1:AgingCount>
          <d4p1:AgingStage>sample string 1</d4p1:AgingStage>
          <d4p1:order>2</d4p1:order>
        </d4p1:InventoryAgingSegments>
      </AgingSegmentsInfo>
      <ApName>sample string 4</ApName>
      <CompUnitQty>13</CompUnitQty>
      <ProdBrand>sample string 3</ProdBrand>
      <ProdCatName>sample string 6</ProdCatName>
      <ProdCatNo>sample string 7</ProdCatNo>
      <ProdName>sample string 2</ProdName>
      <ProdNo>sample string 1</ProdNo>
      <ProdSpec>sample string 5</ProdSpec>
      <ProdUnitName>sample string 12</ProdUnitName>
      <WhCatName>sample string 8</WhCatName>
      <WhCatNo>sample string 9</WhCatNo>
      <WhName>sample string 10</WhName>
      <WhNo>sample string 11</WhNo>
    </InventoryAgingItemModel>
    <InventoryAgingItemModel>
      <AgingSegmentsInfo xmlns:d4p1="http://schemas.datacontract.org/2004/07/LemonScm.Model.Stock">
        <d4p1:InventoryAgingSegments>
          <d4p1:AgingCount>1</d4p1:AgingCount>
          <d4p1:AgingStage>sample string 1</d4p1:AgingStage>
          <d4p1:order>2</d4p1:order>
        </d4p1:InventoryAgingSegments>
        <d4p1:InventoryAgingSegments>
          <d4p1:AgingCount>1</d4p1:AgingCount>
          <d4p1:AgingStage>sample string 1</d4p1:AgingStage>
          <d4p1:order>2</d4p1:order>
        </d4p1:InventoryAgingSegments>
      </AgingSegmentsInfo>
      <ApName>sample string 4</ApName>
      <CompUnitQty>13</CompUnitQty>
      <ProdBrand>sample string 3</ProdBrand>
      <ProdCatName>sample string 6</ProdCatName>
      <ProdCatNo>sample string 7</ProdCatNo>
      <ProdName>sample string 2</ProdName>
      <ProdNo>sample string 1</ProdNo>
      <ProdSpec>sample string 5</ProdSpec>
      <ProdUnitName>sample string 12</ProdUnitName>
      <WhCatName>sample string 8</WhCatName>
      <WhCatNo>sample string 9</WhCatNo>
      <WhName>sample string 10</WhName>
      <WhNo>sample string 11</WhNo>
    </InventoryAgingItemModel>
  </Items>
  <Summary>
    <AgingSegmentsInfo xmlns:d3p1="http://schemas.datacontract.org/2004/07/LemonScm.Model.Stock">
      <d3p1:InventoryAgingSegments>
        <d3p1:AgingCount>1</d3p1:AgingCount>
        <d3p1:AgingStage>sample string 1</d3p1:AgingStage>
        <d3p1:order>2</d3p1:order>
      </d3p1:InventoryAgingSegments>
      <d3p1:InventoryAgingSegments>
        <d3p1:AgingCount>1</d3p1:AgingCount>
        <d3p1:AgingStage>sample string 1</d3p1:AgingStage>
        <d3p1:order>2</d3p1:order>
      </d3p1:InventoryAgingSegments>
    </AgingSegmentsInfo>
    <ApName>sample string 4</ApName>
    <CompUnitQty>13</CompUnitQty>
    <ProdBrand>sample string 3</ProdBrand>
    <ProdCatName>sample string 6</ProdCatName>
    <ProdCatNo>sample string 7</ProdCatNo>
    <ProdName>sample string 2</ProdName>
    <ProdNo>sample string 1</ProdNo>
    <ProdSpec>sample string 5</ProdSpec>
    <ProdUnitName>sample string 12</ProdUnitName>
    <WhCatName>sample string 8</WhCatName>
    <WhCatNo>sample string 9</WhCatNo>
    <WhName>sample string 10</WhName>
    <WhNo>sample string 11</WhNo>
  </Summary>
  <TitleSetting xmlns:d2p1="http://schemas.datacontract.org/2004/07/LemonScm.Model.Stock">
    <d2p1:InventoryAgingSettingInfo>
      <d2p1:ASID>1</d2p1:ASID>
      <d2p1:AgingDays>4</d2p1:AgingDays>
      <d2p1:AgingStage>sample string 3</d2p1:AgingStage>
      <d2p1:CreatedBy>6</d2p1:CreatedBy>
      <d2p1:CreatedDate>2024-11-25T03:00:28.7340387+08:00</d2p1:CreatedDate>
      <d2p1:IAID>2</d2p1:IAID>
      <d2p1:IsSys>true</d2p1:IsSys>
      <d2p1:Order>5</d2p1:Order>
    </d2p1:InventoryAgingSettingInfo>
    <d2p1:InventoryAgingSettingInfo>
      <d2p1:ASID>1</d2p1:ASID>
      <d2p1:AgingDays>4</d2p1:AgingDays>
      <d2p1:AgingStage>sample string 3</d2p1:AgingStage>
      <d2p1:CreatedBy>6</d2p1:CreatedBy>
      <d2p1:CreatedDate>2024-11-25T03:00:28.7340387+08:00</d2p1:CreatedDate>
      <d2p1:IAID>2</d2p1:IAID>
      <d2p1:IsSys>true</d2p1:IsSys>
      <d2p1:Order>5</d2p1:Order>
    </d2p1:InventoryAgingSettingInfo>
  </TitleSetting>
  <Total>1</Total>
</InventoryAgingListModel>