POST dz_api/ReceiptList/Search

检索收款记录

Request Information

URI Parameters

None.

Body Parameters

ReceiptSearchConditions
NameDescriptionTypeAdditional information
Keyword

关键字(针对客户名称)

string

None.

ServiceType

服务类型

integer

None.

RecIds

记录ID(此项通过间接获取)

Collection of integer

None.

SelectRecIds

记录ID(此项在前端页面勾选,优先级最高)

Collection of integer

None.

DateStart

收款日期起

date

None.

DateEnd

收款日期至

date

None.

CustId

客户ID

integer

None.

Receipter

收款人

integer

None.

RecAccId

收款账户

integer

None.

Approved

审核状态 -1,全部。0,未审核,1,已审核

integer

None.

PageSize

页面大小

integer

None.

PageIndex

页码

integer

None.

IsSupperAdmin

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Keyword": "sample string 1",
  "ServiceType": 2,
  "RecIds": [
    1,
    2
  ],
  "SelectRecIds": [
    1,
    2
  ],
  "DateStart": "2021-09-20T15:57:36.036565+08:00",
  "DateEnd": "2021-09-20T15:57:36.036565+08:00",
  "CustId": 3,
  "Receipter": 4,
  "RecAccId": 5,
  "Approved": 6,
  "PageSize": 7,
  "PageIndex": 8,
  "IsSupperAdmin": true
}

application/xml, text/xml

Sample:
<ReceiptSearchConditions xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonAa.Model.Receipt">
  <Approved>6</Approved>
  <CustId>3</CustId>
  <DateEnd>2021-09-20T15:57:36.036565+08:00</DateEnd>
  <DateStart>2021-09-20T15:57:36.036565+08:00</DateStart>
  <IsSupperAdmin>true</IsSupperAdmin>
  <Keyword>sample string 1</Keyword>
  <PageIndex>8</PageIndex>
  <PageSize>7</PageSize>
  <RecAccId>5</RecAccId>
  <RecIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </RecIds>
  <Receipter>4</Receipter>
  <SelectRecIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </SelectRecIds>
  <ServiceType>2</ServiceType>
</ReceiptSearchConditions>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

检索收款记录

PagedListOfReceiptRowInfo
NameDescriptionTypeAdditional information
Items

Collection of ReceiptRowInfo

None.

Total

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Items": [
    {
      "RecId": 1,
      "RecDate": "2021-09-20T15:57:36.0412333+08:00",
      "IsChecked": 3,
      "CustId": 4,
      "CustName": "sample string 5",
      "RecAmount": 6.0,
      "Receiver": 7,
      "RecAccId": 8,
      "Note": "sample string 9",
      "CustDeleted": true
    },
    {
      "RecId": 1,
      "RecDate": "2021-09-20T15:57:36.0412333+08:00",
      "IsChecked": 3,
      "CustId": 4,
      "CustName": "sample string 5",
      "RecAmount": 6.0,
      "Receiver": 7,
      "RecAccId": 8,
      "Note": "sample string 9",
      "CustDeleted": true
    }
  ],
  "Total": 1
}

application/xml, text/xml

Sample:
<PagedListOfReceiptRowInfo5fseAaoV xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonAa.Model">
  <Items xmlns:d2p1="http://schemas.datacontract.org/2004/07/LemonAa.Model.Receipt">
    <d2p1:ReceiptRowInfo>
      <d2p1:CustDeleted>true</d2p1:CustDeleted>
      <d2p1:CustId>4</d2p1:CustId>
      <d2p1:CustName>sample string 5</d2p1:CustName>
      <d2p1:IsChecked>3</d2p1:IsChecked>
      <d2p1:Note>sample string 9</d2p1:Note>
      <d2p1:RecAccId>8</d2p1:RecAccId>
      <d2p1:RecAmount>6</d2p1:RecAmount>
      <d2p1:RecDate>2021-09-20T15:57:36.0412333+08:00</d2p1:RecDate>
      <d2p1:RecId>1</d2p1:RecId>
      <d2p1:Receiver>7</d2p1:Receiver>
    </d2p1:ReceiptRowInfo>
    <d2p1:ReceiptRowInfo>
      <d2p1:CustDeleted>true</d2p1:CustDeleted>
      <d2p1:CustId>4</d2p1:CustId>
      <d2p1:CustName>sample string 5</d2p1:CustName>
      <d2p1:IsChecked>3</d2p1:IsChecked>
      <d2p1:Note>sample string 9</d2p1:Note>
      <d2p1:RecAccId>8</d2p1:RecAccId>
      <d2p1:RecAmount>6</d2p1:RecAmount>
      <d2p1:RecDate>2021-09-20T15:57:36.0412333+08:00</d2p1:RecDate>
      <d2p1:RecId>1</d2p1:RecId>
      <d2p1:Receiver>7</d2p1:Receiver>
    </d2p1:ReceiptRowInfo>
  </Items>
  <Total>1</Total>
</PagedListOfReceiptRowInfo5fseAaoV>