POST jxc_api/UnitDebt/Search

Request Information

URI Parameters

None.

Body Parameters

UnitDebtSearchConditions
NameDescriptionTypeAdditional information
DateStart

date

None.

DateEnd

date

None.

UnitType

UnitTypes

None.

Keywords

string

None.

UseDate

boolean

None.

CustId

Collection of integer

None.

VendId

Collection of integer

None.

Sales

Collection of integer

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:
{
  "DateStart": "2024-11-25 02:45:51",
  "DateEnd": "2024-11-25 02:45:51",
  "UnitType": 0,
  "Keywords": "sample string 1",
  "UseDate": true,
  "CustId": [
    1,
    2
  ],
  "VendId": [
    1,
    2
  ],
  "Sales": [
    1,
    2
  ],
  "PageIndex": 3,
  "PageSize": 4,
  "UsePager": true,
  "CurrUserSn": 6,
  "CanViewAllBill": true,
  "CanOpeAllWh": true,
  "OpeWhList": [
    1,
    2
  ],
  "DocumentDateType": 9,
  "DocumentDateArr": [
    "2024-11-25 02:45:51",
    "2024-11-25 02:45:51"
  ],
  "DeliveryDateType": 10,
  "DeliveryDateArr": [
    "2024-11-25 02:45:51",
    "2024-11-25 02:45:51"
  ],
  "OffDateType": 11,
  "OffDateArr": [
    "2024-11-25 02:45:51",
    "2024-11-25 02:45:51"
  ],
  "InventoryDateType": 12,
  "InventoryDateArr": [
    "2024-11-25 02:45:51",
    "2024-11-25 02:45:51"
  ]
}

application/xml, text/xml

Sample:
<UnitDebtSearchConditions xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Sell">
  <_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:45:51.608817+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T02:45:51.608817+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:45:51.608817+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T02:45:51.608817+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:45:51.608817+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T02:45:51.608817+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:45:51.608817+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T02:45:51.608817+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_CustId_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_CustId_x003E_k__BackingField>
  <_x003C_DateEnd_x003E_k__BackingField>2024-11-25T02:45:51.608817+08:00</_x003C_DateEnd_x003E_k__BackingField>
  <_x003C_DateStart_x003E_k__BackingField>2024-11-25T02:45:51.608817+08:00</_x003C_DateStart_x003E_k__BackingField>
  <_x003C_Keywords_x003E_k__BackingField>sample string 1</_x003C_Keywords_x003E_k__BackingField>
  <_x003C_PageIndex_x003E_k__BackingField>3</_x003C_PageIndex_x003E_k__BackingField>
  <_x003C_PageSize_x003E_k__BackingField>4</_x003C_PageSize_x003E_k__BackingField>
  <_x003C_Sales_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_Sales_x003E_k__BackingField>
  <_x003C_UnitType_x003E_k__BackingField>客户</_x003C_UnitType_x003E_k__BackingField>
  <_x003C_UseDate_x003E_k__BackingField>true</_x003C_UseDate_x003E_k__BackingField>
  <_x003C_UsePager_x003E_k__BackingField>true</_x003C_UsePager_x003E_k__BackingField>
  <_x003C_VendId_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_VendId_x003E_k__BackingField>
</UnitDebtSearchConditions>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ReportResultOfUnitDebtModel
NameDescriptionTypeAdditional information
DataList

Collection of UnitDebtModel

None.

TotalRow

UnitDebtModel

None.

PageIndex

integer

None.

PageSize

integer

None.

Total

integer

None.

RDocumentStartDate

string

None.

RDocumentEndDate

string

None.

RDeliveryStartDate

string

None.

RDeliveryEndDate

string

None.

Response Formats

application/json, text/json

Sample:
{
  "DataList": [
    {
      "VcNo": "sample string 1",
      "VcName": "sample string 2",
      "SalesName": "sample string 3",
      "Sales": 4,
      "VcType": "sample string 5",
      "ARBlance": 6.0,
      "APBlance": 7.0,
      "CustCredit": 8.0,
      "CustRemainCredit": 2.0
    },
    {
      "VcNo": "sample string 1",
      "VcName": "sample string 2",
      "SalesName": "sample string 3",
      "Sales": 4,
      "VcType": "sample string 5",
      "ARBlance": 6.0,
      "APBlance": 7.0,
      "CustCredit": 8.0,
      "CustRemainCredit": 2.0
    }
  ],
  "TotalRow": {
    "VcNo": "sample string 1",
    "VcName": "sample string 2",
    "SalesName": "sample string 3",
    "Sales": 4,
    "VcType": "sample string 5",
    "ARBlance": 6.0,
    "APBlance": 7.0,
    "CustCredit": 8.0,
    "CustRemainCredit": 2.0
  },
  "PageIndex": 1,
  "PageSize": 2,
  "Total": 3,
  "RDocumentStartDate": "sample string 4",
  "RDocumentEndDate": "sample string 5",
  "RDeliveryStartDate": "sample string 6",
  "RDeliveryEndDate": "sample string 7"
}

application/xml, text/xml

Sample:
<ReportResultOfUnitDebtModel8DTg6HPT xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.NewApi">
  <RDeliveryEndDate xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.CommonData">sample string 7</RDeliveryEndDate>
  <RDeliveryStartDate xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.CommonData">sample string 6</RDeliveryStartDate>
  <RDocumentEndDate xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.CommonData">sample string 5</RDocumentEndDate>
  <RDocumentStartDate xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.CommonData">sample string 4</RDocumentStartDate>
  <DataList xmlns:d2p1="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.Sell.Models">
    <d2p1:UnitDebtModel>
      <d2p1:APBlance>7</d2p1:APBlance>
      <d2p1:ARBlance>6</d2p1:ARBlance>
      <d2p1:CustCredit>8</d2p1:CustCredit>
      <d2p1:Sales>4</d2p1:Sales>
      <d2p1:SalesName>sample string 3</d2p1:SalesName>
      <d2p1:VcName>sample string 2</d2p1:VcName>
      <d2p1:VcNo>sample string 1</d2p1:VcNo>
      <d2p1:VcType>sample string 5</d2p1:VcType>
    </d2p1:UnitDebtModel>
    <d2p1:UnitDebtModel>
      <d2p1:APBlance>7</d2p1:APBlance>
      <d2p1:ARBlance>6</d2p1:ARBlance>
      <d2p1:CustCredit>8</d2p1:CustCredit>
      <d2p1:Sales>4</d2p1:Sales>
      <d2p1:SalesName>sample string 3</d2p1:SalesName>
      <d2p1:VcName>sample string 2</d2p1:VcName>
      <d2p1:VcNo>sample string 1</d2p1:VcNo>
      <d2p1:VcType>sample string 5</d2p1:VcType>
    </d2p1:UnitDebtModel>
  </DataList>
  <PageIndex>1</PageIndex>
  <PageSize>2</PageSize>
  <Total>3</Total>
  <TotalRow xmlns:d2p1="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.Sell.Models">
    <d2p1:APBlance>7</d2p1:APBlance>
    <d2p1:ARBlance>6</d2p1:ARBlance>
    <d2p1:CustCredit>8</d2p1:CustCredit>
    <d2p1:Sales>4</d2p1:Sales>
    <d2p1:SalesName>sample string 3</d2p1:SalesName>
    <d2p1:VcName>sample string 2</d2p1:VcName>
    <d2p1:VcNo>sample string 1</d2p1:VcNo>
    <d2p1:VcType>sample string 5</d2p1:VcType>
  </TotalRow>
</ReportResultOfUnitDebtModel8DTg6HPT>