POST jxc_api/Offset/Search

Request Information

URI Parameters

None.

Body Parameters

OffsetBillSearchConditions
NameDescriptionTypeAdditional information
OfId

integer

None.

BType

OFType

None.

OrgId

integer

None.

Flag

integer

None.

VcIds

Collection of integer

None.

SearchText

string

None.

Start

string

None.

End

string

None.

Keywords

string

None.

UsePager

boolean

None.

PageIndex

integer

None.

PageSize

integer

None.

KWCustIds

Collection of integer

None.

KWVendIds

Collection of integer

None.

KWUserIds

Collection of integer

None.

KWCatIds

Collection of integer

None.

KWCreatedBy

Collection of integer

None.

KWCheckedBy

Collection of integer

None.

ExportDetails

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:
{
  "OfId": 1,
  "BType": 1010,
  "OrgId": 2,
  "Flag": 3,
  "VcIds": [
    1,
    2
  ],
  "SearchText": "sample string 4",
  "Start": "sample string 5",
  "End": "sample string 6",
  "Keywords": "sample string 7",
  "UsePager": true,
  "PageIndex": 8,
  "PageSize": 9,
  "KWCustIds": [
    1,
    2
  ],
  "KWVendIds": [
    1,
    2
  ],
  "KWUserIds": [
    1,
    2
  ],
  "KWCatIds": [
    1,
    2
  ],
  "KWCreatedBy": [
    1,
    2
  ],
  "KWCheckedBy": [
    1,
    2
  ],
  "ExportDetails": true,
  "CurrUserSn": 11,
  "CanViewAllBill": true,
  "CanOpeAllWh": true,
  "OpeWhList": [
    1,
    2
  ],
  "DocumentDateType": 14,
  "DocumentDateArr": [
    "2024-11-25 01:50:15",
    "2024-11-25 01:50:15"
  ],
  "DeliveryDateType": 15,
  "DeliveryDateArr": [
    "2024-11-25 01:50:15",
    "2024-11-25 01:50:15"
  ],
  "OffDateType": 16,
  "OffDateArr": [
    "2024-11-25 01:50:15",
    "2024-11-25 01:50:15"
  ],
  "InventoryDateType": 17,
  "InventoryDateArr": [
    "2024-11-25 01:50:15",
    "2024-11-25 01:50:15"
  ]
}

application/xml, text/xml

Sample:
<OffsetBillSearchConditions xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Money">
  <_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-25T01:50:15.3472036+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T01:50:15.3472036+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">15</_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-25T01:50:15.3472036+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T01:50:15.3472036+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">14</_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-25T01:50:15.3472036+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T01:50:15.3472036+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">17</_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-25T01:50:15.3472036+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T01:50:15.3472036+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">16</_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">11</_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_ExportDetails_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model">true</_x003C_ExportDetails_x003E_k__BackingField>
  <_x003C_KWCatIds_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_KWCatIds_x003E_k__BackingField>
  <_x003C_KWCheckedBy_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_KWCheckedBy_x003E_k__BackingField>
  <_x003C_KWCreatedBy_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_KWCreatedBy_x003E_k__BackingField>
  <_x003C_KWCustIds_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_KWCustIds_x003E_k__BackingField>
  <_x003C_KWUserIds_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_KWUserIds_x003E_k__BackingField>
  <_x003C_KWVendIds_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_KWVendIds_x003E_k__BackingField>
  <_x003C_PageIndex_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model">8</_x003C_PageIndex_x003E_k__BackingField>
  <_x003C_PageSize_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model">9</_x003C_PageSize_x003E_k__BackingField>
  <_x003C_End_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model">sample string 6</_x003C_End_x003E_k__BackingField>
  <_x003C_Keywords_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model">sample string 7</_x003C_Keywords_x003E_k__BackingField>
  <_x003C_Start_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model">sample string 5</_x003C_Start_x003E_k__BackingField>
  <_x003C_BType_x003E_k__BackingField>PreOFRec</_x003C_BType_x003E_k__BackingField>
  <_x003C_Flag_x003E_k__BackingField>3</_x003C_Flag_x003E_k__BackingField>
  <_x003C_OfId_x003E_k__BackingField>1</_x003C_OfId_x003E_k__BackingField>
  <_x003C_OrgId_x003E_k__BackingField>2</_x003C_OrgId_x003E_k__BackingField>
  <_x003C_SearchText_x003E_k__BackingField>sample string 4</_x003C_SearchText_x003E_k__BackingField>
  <_x003C_VcIds_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_VcIds_x003E_k__BackingField>
</OffsetBillSearchConditions>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of OffsetRecordEditModel
NameDescriptionTypeAdditional information
AsId

integer

None.

BType

OFType

None.

Id

integer

None.

Date

date

None.

VcId

integer

None.

OFId

integer

None.

OFNo

string

None.

OFEId

integer

None.

BillId

integer

None.

BillNo

string

None.

BillBType

BillType

None.

PayeeType

ContactType

None.

BillDate

date

None.

BillAmount

decimal number

None.

BillOFDAmount

decimal number

None.

BillOFAmount

decimal number

None.

Note

string

None.

CreatedBy

integer

None.

CreatedDate

date

None.

ModifiedBy

integer

None.

ModifiedDate

date

None.

Flag

integer

None.

BillOFUAmount

decimal number

None.

ORDateFmt

string

None.

BillDateFmt

string

None.

Response Formats

application/json, text/json

Sample:
[
  null,
  {
    "AsId": 1,
    "BType": 1010,
    "Id": 2,
    "Date": "2024-11-25 01:50:15",
    "VcId": 4,
    "OFId": 5,
    "OFNo": "sample string 6",
    "OFEId": 7,
    "BillId": 8,
    "BillNo": "sample string 9",
    "BillBType": 1010,
    "PayeeType": 1010,
    "BillDate": "2024-11-25 01:50:15",
    "BillAmount": 11.0,
    "BillOFDAmount": 12.0,
    "BillOFAmount": 13.0,
    "Note": "sample string 14",
    "CreatedBy": 15,
    "CreatedDate": "2024-11-25 01:50:15",
    "ModifiedBy": 17,
    "ModifiedDate": "2024-11-25 01:50:15",
    "Flag": 19,
    "BillOFUAmount": -1.0,
    "ORDateFmt": "2024-11-25",
    "BillDateFmt": "2024-11-25"
  }
]

application/xml, text/xml

Sample:
<ArrayOfOffsetRecordEditModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.Money.Models">
  <OffsetRecordEditModel i:nil="true" />
  <OffsetRecordEditModel>
    <_x003C_AsId_x003E_k__BackingField>1</_x003C_AsId_x003E_k__BackingField>
    <_x003C_BType_x003E_k__BackingField>PreOFRec</_x003C_BType_x003E_k__BackingField>
    <_x003C_BillAmount_x003E_k__BackingField>11</_x003C_BillAmount_x003E_k__BackingField>
    <_x003C_BillBType_x003E_k__BackingField>Purchase</_x003C_BillBType_x003E_k__BackingField>
    <_x003C_BillDate_x003E_k__BackingField>2024-11-25T01:50:15.3472036+08:00</_x003C_BillDate_x003E_k__BackingField>
    <_x003C_BillId_x003E_k__BackingField>8</_x003C_BillId_x003E_k__BackingField>
    <_x003C_BillNo_x003E_k__BackingField>sample string 9</_x003C_BillNo_x003E_k__BackingField>
    <_x003C_BillOFAmount_x003E_k__BackingField>13</_x003C_BillOFAmount_x003E_k__BackingField>
    <_x003C_BillOFDAmount_x003E_k__BackingField>12</_x003C_BillOFDAmount_x003E_k__BackingField>
    <_x003C_CreatedBy_x003E_k__BackingField>15</_x003C_CreatedBy_x003E_k__BackingField>
    <_x003C_CreatedDate_x003E_k__BackingField>2024-11-25T01:50:15.3472036+08:00</_x003C_CreatedDate_x003E_k__BackingField>
    <_x003C_Date_x003E_k__BackingField>2024-11-25T01:50:15.3472036+08:00</_x003C_Date_x003E_k__BackingField>
    <_x003C_Flag_x003E_k__BackingField>19</_x003C_Flag_x003E_k__BackingField>
    <_x003C_Id_x003E_k__BackingField>2</_x003C_Id_x003E_k__BackingField>
    <_x003C_ModifiedBy_x003E_k__BackingField>17</_x003C_ModifiedBy_x003E_k__BackingField>
    <_x003C_ModifiedDate_x003E_k__BackingField>2024-11-25T01:50:15.3472036+08:00</_x003C_ModifiedDate_x003E_k__BackingField>
    <_x003C_Note_x003E_k__BackingField>sample string 14</_x003C_Note_x003E_k__BackingField>
    <_x003C_OFEId_x003E_k__BackingField>7</_x003C_OFEId_x003E_k__BackingField>
    <_x003C_OFId_x003E_k__BackingField>5</_x003C_OFId_x003E_k__BackingField>
    <_x003C_OFNo_x003E_k__BackingField>sample string 6</_x003C_OFNo_x003E_k__BackingField>
    <_x003C_PayeeType_x003E_k__BackingField>Customer</_x003C_PayeeType_x003E_k__BackingField>
    <_x003C_VcId_x003E_k__BackingField>4</_x003C_VcId_x003E_k__BackingField>
  </OffsetRecordEditModel>
</ArrayOfOffsetRecordEditModel>