POST jxc_api/OtherPaymentList/SearchSourceBills

Request Information

URI Parameters

None.

Body Parameters

SearchBillsPara
NameDescriptionTypeAdditional information
BillType

integer

None.

StartDate

date

None.

EndDate

date

None.

Vcid

integer

None.

BillNo

string

None.

Keyword

string

None.

Request Formats

application/json, text/json

Sample:
{
  "BillType": 1,
  "StartDate": "2024-11-25 02:55:26",
  "EndDate": "2024-11-25 02:55:26",
  "Vcid": 4,
  "BillNo": "sample string 5",
  "Keyword": "sample string 6"
}

application/xml, text/xml

Sample:
<SearchBillsPara xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.Money.Models">
  <BillNo>sample string 5</BillNo>
  <BillType>1</BillType>
  <EndDate>2024-11-25T02:55:26.1084149+08:00</EndDate>
  <Keyword>sample string 6</Keyword>
  <StartDate>2024-11-25T02:55:26.1084149+08:00</StartDate>
  <Vcid>4</Vcid>
</SearchBillsPara>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of SourceBillModel
NameDescriptionTypeAdditional information
BType

integer

None.

Id

integer

None.

Date

date

None.

DateFmt

string

None.

No

string

None.

VcId

integer

None.

VcName

string

None.

Qty

decimal number

None.

Amount

decimal number

None.

CustPayment

decimal number

None.

InvoiceNo

string

None.

RelatedToOrp

integer

None.

ShareExpense

integer

None.

Orps

Collection of RelatedOrpModel

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "BType": 1,
    "Id": 2,
    "Date": "2024-11-25 02:55:26",
    "DateFmt": "2024-11-25",
    "No": "sample string 4",
    "VcId": 5,
    "VcName": "sample string 6",
    "Qty": 7.0,
    "Amount": 8.0,
    "CustPayment": 9.0,
    "InvoiceNo": "sample string 10",
    "RelatedToOrp": 1,
    "ShareExpense": 0,
    "Orps": [
      {
        "Type": 1010,
        "Id": 1,
        "No": "sample string 2",
        "ShareExpense": 3
      },
      {
        "Type": 1010,
        "Id": 1,
        "No": "sample string 2",
        "ShareExpense": 3
      }
    ]
  },
  {
    "BType": 1,
    "Id": 2,
    "Date": "2024-11-25 02:55:26",
    "DateFmt": "2024-11-25",
    "No": "sample string 4",
    "VcId": 5,
    "VcName": "sample string 6",
    "Qty": 7.0,
    "Amount": 8.0,
    "CustPayment": 9.0,
    "InvoiceNo": "sample string 10",
    "RelatedToOrp": 1,
    "ShareExpense": 0,
    "Orps": [
      {
        "Type": 1010,
        "Id": 1,
        "No": "sample string 2",
        "ShareExpense": 3
      },
      {
        "Type": 1010,
        "Id": 1,
        "No": "sample string 2",
        "ShareExpense": 3
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfSourceBillModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.NewApi.Money.OtherRP">
  <SourceBillModel>
    <Amount>8</Amount>
    <BType>1</BType>
    <CustPayment>9</CustPayment>
    <Date>2024-11-25T02:55:26.1114918+08:00</Date>
    <Id>2</Id>
    <InvoiceNo>sample string 10</InvoiceNo>
    <No>sample string 4</No>
    <Orps>
      <RelatedOrpModel>
        <Id>1</Id>
        <No>sample string 2</No>
        <ShareExpense>3</ShareExpense>
        <Type>Purchase</Type>
      </RelatedOrpModel>
      <RelatedOrpModel>
        <Id>1</Id>
        <No>sample string 2</No>
        <ShareExpense>3</ShareExpense>
        <Type>Purchase</Type>
      </RelatedOrpModel>
    </Orps>
    <Qty>7</Qty>
    <VcId>5</VcId>
    <VcName>sample string 6</VcName>
  </SourceBillModel>
  <SourceBillModel>
    <Amount>8</Amount>
    <BType>1</BType>
    <CustPayment>9</CustPayment>
    <Date>2024-11-25T02:55:26.1114918+08:00</Date>
    <Id>2</Id>
    <InvoiceNo>sample string 10</InvoiceNo>
    <No>sample string 4</No>
    <Orps>
      <RelatedOrpModel>
        <Id>1</Id>
        <No>sample string 2</No>
        <ShareExpense>3</ShareExpense>
        <Type>Purchase</Type>
      </RelatedOrpModel>
      <RelatedOrpModel>
        <Id>1</Id>
        <No>sample string 2</No>
        <ShareExpense>3</ShareExpense>
        <Type>Purchase</Type>
      </RelatedOrpModel>
    </Orps>
    <Qty>7</Qty>
    <VcId>5</VcId>
    <VcName>sample string 6</VcName>
  </SourceBillModel>
</ArrayOfSourceBillModel>