POST jxc_api/OrpDetails/Search

Request Information

URI Parameters

None.

Body Parameters

ORPDetailsSearchConditions
NameDescriptionTypeAdditional information
StartDate

date

None.

EndDate

date

None.

BillType

integer

None.

Keywords

string

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:
{
  "StartDate": "2024-11-25 02:29:35",
  "EndDate": "2024-11-25 02:29:35",
  "BillType": 1,
  "Keywords": "sample string 2",
  "PageIndex": 3,
  "PageSize": 4,
  "UsePager": true,
  "CurrUserSn": 6,
  "CanViewAllBill": true,
  "CanOpeAllWh": true,
  "OpeWhList": [
    1,
    2
  ],
  "DocumentDateType": 9,
  "DocumentDateArr": [
    "2024-11-25 02:29:35",
    "2024-11-25 02:29:35"
  ],
  "DeliveryDateType": 10,
  "DeliveryDateArr": [
    "2024-11-25 02:29:35",
    "2024-11-25 02:29:35"
  ],
  "OffDateType": 11,
  "OffDateArr": [
    "2024-11-25 02:29:35",
    "2024-11-25 02:29:35"
  ],
  "InventoryDateType": 12,
  "InventoryDateArr": [
    "2024-11-25 02:29:35",
    "2024-11-25 02:29:35"
  ]
}

application/xml, text/xml

Sample:
<ORPDetailsSearchConditions xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.ReportModels">
  <_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:29:35.3682364+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T02:29:35.3682364+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:29:35.3682364+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T02:29:35.3682364+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:29:35.3682364+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T02:29:35.3682364+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:29:35.3682364+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T02:29:35.3682364+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_BillType_x003E_k__BackingField>1</_x003C_BillType_x003E_k__BackingField>
  <_x003C_EndDate_x003E_k__BackingField>2024-11-25T02:29:35.3677245+08:00</_x003C_EndDate_x003E_k__BackingField>
  <_x003C_Keywords_x003E_k__BackingField>sample string 2</_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_StartDate_x003E_k__BackingField>2024-11-25T02:29:35.3677245+08:00</_x003C_StartDate_x003E_k__BackingField>
  <_x003C_UsePager_x003E_k__BackingField>true</_x003C_UsePager_x003E_k__BackingField>
</ORPDetailsSearchConditions>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of ORPDetailsInfo
NameDescriptionTypeAdditional information
BillId

integer

None.

BillDate

date

None.

BillNo

string

None.

BillType

integer

None.

ItemType

integer

None.

Amount

decimal number

None.

PayeeType

ContactType

None.

VcId

integer

None.

Note

string

None.

FmtDate

string

None.

BillName

string

None.

ItemName

string

None.

VCName

string

None.

InAmount

decimal number

None.

OutAmount

decimal number

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "BillId": 1,
    "BillDate": "2024-11-25 02:29:35",
    "BillNo": "sample string 3",
    "BillType": 4,
    "ItemType": 5,
    "Amount": 6.0,
    "PayeeType": 1010,
    "VcId": 7,
    "Note": "sample string 8",
    "FmtDate": "2024-11-25",
    "BillName": "sample string 9",
    "ItemName": "sample string 10",
    "VCName": "sample string 11",
    "InAmount": 12.0,
    "OutAmount": 13.0
  },
  {
    "BillId": 1,
    "BillDate": "2024-11-25 02:29:35",
    "BillNo": "sample string 3",
    "BillType": 4,
    "ItemType": 5,
    "Amount": 6.0,
    "PayeeType": 1010,
    "VcId": 7,
    "Note": "sample string 8",
    "FmtDate": "2024-11-25",
    "BillName": "sample string 9",
    "ItemName": "sample string 10",
    "VCName": "sample string 11",
    "InAmount": 12.0,
    "OutAmount": 13.0
  }
]

application/xml, text/xml

Sample:
<ArrayOfORPDetailsInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.ReportModels">
  <ORPDetailsInfo>
    <_x003C_Amount_x003E_k__BackingField>6</_x003C_Amount_x003E_k__BackingField>
    <_x003C_BillDate_x003E_k__BackingField>2024-11-25T02:29:35.3687487+08:00</_x003C_BillDate_x003E_k__BackingField>
    <_x003C_BillId_x003E_k__BackingField>1</_x003C_BillId_x003E_k__BackingField>
    <_x003C_BillName_x003E_k__BackingField>sample string 9</_x003C_BillName_x003E_k__BackingField>
    <_x003C_BillNo_x003E_k__BackingField>sample string 3</_x003C_BillNo_x003E_k__BackingField>
    <_x003C_BillType_x003E_k__BackingField>4</_x003C_BillType_x003E_k__BackingField>
    <_x003C_InAmount_x003E_k__BackingField>12</_x003C_InAmount_x003E_k__BackingField>
    <_x003C_ItemName_x003E_k__BackingField>sample string 10</_x003C_ItemName_x003E_k__BackingField>
    <_x003C_ItemType_x003E_k__BackingField>5</_x003C_ItemType_x003E_k__BackingField>
    <_x003C_Note_x003E_k__BackingField>sample string 8</_x003C_Note_x003E_k__BackingField>
    <_x003C_OutAmount_x003E_k__BackingField>13</_x003C_OutAmount_x003E_k__BackingField>
    <_x003C_PayeeType_x003E_k__BackingField>Customer</_x003C_PayeeType_x003E_k__BackingField>
    <_x003C_VCName_x003E_k__BackingField>sample string 11</_x003C_VCName_x003E_k__BackingField>
    <_x003C_VcId_x003E_k__BackingField>7</_x003C_VcId_x003E_k__BackingField>
  </ORPDetailsInfo>
  <ORPDetailsInfo>
    <_x003C_Amount_x003E_k__BackingField>6</_x003C_Amount_x003E_k__BackingField>
    <_x003C_BillDate_x003E_k__BackingField>2024-11-25T02:29:35.3687487+08:00</_x003C_BillDate_x003E_k__BackingField>
    <_x003C_BillId_x003E_k__BackingField>1</_x003C_BillId_x003E_k__BackingField>
    <_x003C_BillName_x003E_k__BackingField>sample string 9</_x003C_BillName_x003E_k__BackingField>
    <_x003C_BillNo_x003E_k__BackingField>sample string 3</_x003C_BillNo_x003E_k__BackingField>
    <_x003C_BillType_x003E_k__BackingField>4</_x003C_BillType_x003E_k__BackingField>
    <_x003C_InAmount_x003E_k__BackingField>12</_x003C_InAmount_x003E_k__BackingField>
    <_x003C_ItemName_x003E_k__BackingField>sample string 10</_x003C_ItemName_x003E_k__BackingField>
    <_x003C_ItemType_x003E_k__BackingField>5</_x003C_ItemType_x003E_k__BackingField>
    <_x003C_Note_x003E_k__BackingField>sample string 8</_x003C_Note_x003E_k__BackingField>
    <_x003C_OutAmount_x003E_k__BackingField>13</_x003C_OutAmount_x003E_k__BackingField>
    <_x003C_PayeeType_x003E_k__BackingField>Customer</_x003C_PayeeType_x003E_k__BackingField>
    <_x003C_VCName_x003E_k__BackingField>sample string 11</_x003C_VCName_x003E_k__BackingField>
    <_x003C_VcId_x003E_k__BackingField>7</_x003C_VcId_x003E_k__BackingField>
  </ORPDetailsInfo>
</ArrayOfORPDetailsInfo>