POST jxc_api/OffsetList/Search

Request Information

URI Parameters

None.

Body Parameters

OffsetCondition
NameDescriptionTypeAdditional information
Ids

Collection of integer

None.

SearchText

string

None.

Start

string

None.

End

string

None.

Checked

Collection of integer

None.

BType

Collection of OFType

None.

ExportDetails

boolean

None.

CustIds

Collection of integer

None.

VendorIds

Collection of integer

None.

CreatedBy

Collection of integer

None.

CheckedBy

Collection of integer

None.

ExportType

ThreeSheetExportType

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:
{
  "Ids": [
    1,
    2
  ],
  "SearchText": "sample string 1",
  "Start": "sample string 2",
  "End": "sample string 3",
  "Checked": [
    1,
    2
  ],
  "BType": [
    1010,
    1010
  ],
  "ExportDetails": true,
  "CustIds": [
    1,
    2
  ],
  "VendorIds": [
    1,
    2
  ],
  "CreatedBy": [
    1,
    2
  ],
  "CheckedBy": [
    1,
    2
  ],
  "ExportType": 1,
  "PageIndex": 5,
  "PageSize": 6,
  "UsePager": true,
  "CurrUserSn": 8,
  "CanViewAllBill": true,
  "CanOpeAllWh": true,
  "OpeWhList": [
    1,
    2
  ],
  "DocumentDateType": 11,
  "DocumentDateArr": [
    "2024-11-25 01:40:11",
    "2024-11-25 01:40:11"
  ],
  "DeliveryDateType": 12,
  "DeliveryDateArr": [
    "2024-11-25 01:40:11",
    "2024-11-25 01:40:11"
  ],
  "OffDateType": 13,
  "OffDateArr": [
    "2024-11-25 01:40:11",
    "2024-11-25 01:40:11"
  ],
  "InventoryDateType": 14,
  "InventoryDateArr": [
    "2024-11-25 01:40:11",
    "2024-11-25 01:40:11"
  ]
}

application/xml, text/xml

Sample:
<OffsetCondition xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.NewApi.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:40:11.4054049+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T01:40:11.4054049+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">12</_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:40:11.4054049+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T01:40:11.4054049+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">11</_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:40:11.4054049+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T01:40:11.4054049+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">14</_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:40:11.4054049+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T01:40:11.4054049+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">13</_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">8</_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_PageIndex_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.NewApi">5</_x003C_PageIndex_x003E_k__BackingField>
  <_x003C_PageSize_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.NewApi">6</_x003C_PageSize_x003E_k__BackingField>
  <_x003C_UsePager_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.NewApi">true</_x003C_UsePager_x003E_k__BackingField>
  <_btypes xmlns:d2p1="http://schemas.datacontract.org/2004/07/LemonScm.Model">
    <d2p1:OFType>PreOFRec</d2p1:OFType>
    <d2p1:OFType>PreOFRec</d2p1:OFType>
  </_btypes>
  <_ids xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_ids>
  <_searchText>sample string 1</_searchText>
  <_x003C_CheckedBy_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_CheckedBy_x003E_k__BackingField>
  <_x003C_Checked_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_Checked_x003E_k__BackingField>
  <_x003C_CreatedBy_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_CreatedBy_x003E_k__BackingField>
  <_x003C_CustIds_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_CustIds_x003E_k__BackingField>
  <_x003C_End_x003E_k__BackingField>sample string 3</_x003C_End_x003E_k__BackingField>
  <_x003C_ExportDetails_x003E_k__BackingField>true</_x003C_ExportDetails_x003E_k__BackingField>
  <_x003C_ExportType_x003E_k__BackingField>DETAIL_MERGE_ONLY</_x003C_ExportType_x003E_k__BackingField>
  <_x003C_Start_x003E_k__BackingField>sample string 2</_x003C_Start_x003E_k__BackingField>
  <_x003C_VendorIds_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_VendorIds_x003E_k__BackingField>
</OffsetCondition>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

NewApiPagedListOfOffsetListModel
NameDescriptionTypeAdditional information
Items

Collection of OffsetListModel

None.

SumModel

OffsetListModel

None.

PageIndex

integer

None.

PageSize

integer

None.

Total

integer

None.

UsePager

boolean

None.

CategoriesFounded

Collection of integer

None.

RDocumentStartDate

string

None.

RDocumentEndDate

string

None.

RDeliveryStartDate

string

None.

RDeliveryEndDate

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Items": [
    {
      "AsId": 1,
      "Status": "sample string 2",
      "IsChecked": 3,
      "Date": "2024-11-25 01:40:11",
      "BType": 1010,
      "Id": 5,
      "No": "sample string 6",
      "Org1": 7,
      "Org2": 8,
      "PrintCount": "sample string 9",
      "Note": "sample string 10",
      "CreatedBy": 11,
      "CreatedDate": "2024-11-25 01:40:11",
      "ModifiedBy": 13,
      "ModifiedDate": "2024-11-25 01:40:11",
      "CheckedBy": 15,
      "CheckedDate": "2024-11-25 01:40:11",
      "OFAmount": 16.0,
      "OFTypeName": "sample string 17",
      "CustName": "sample string 18",
      "CustNo": "sample string 19",
      "VendName": "sample string 20",
      "VendNo": "sample string 21",
      "CreatedByName": "sample string 22",
      "CheckedByName": "sample string 23",
      "CustId": 24,
      "VendId": 25,
      "DateFmt": "2024-11-25"
    },
    {
      "AsId": 1,
      "Status": "sample string 2",
      "IsChecked": 3,
      "Date": "2024-11-25 01:40:11",
      "BType": 1010,
      "Id": 5,
      "No": "sample string 6",
      "Org1": 7,
      "Org2": 8,
      "PrintCount": "sample string 9",
      "Note": "sample string 10",
      "CreatedBy": 11,
      "CreatedDate": "2024-11-25 01:40:11",
      "ModifiedBy": 13,
      "ModifiedDate": "2024-11-25 01:40:11",
      "CheckedBy": 15,
      "CheckedDate": "2024-11-25 01:40:11",
      "OFAmount": 16.0,
      "OFTypeName": "sample string 17",
      "CustName": "sample string 18",
      "CustNo": "sample string 19",
      "VendName": "sample string 20",
      "VendNo": "sample string 21",
      "CreatedByName": "sample string 22",
      "CheckedByName": "sample string 23",
      "CustId": 24,
      "VendId": 25,
      "DateFmt": "2024-11-25"
    }
  ],
  "SumModel": {
    "AsId": 1,
    "Status": "sample string 2",
    "IsChecked": 3,
    "Date": "2024-11-25 01:40:11",
    "BType": 1010,
    "Id": 5,
    "No": "sample string 6",
    "Org1": 7,
    "Org2": 8,
    "PrintCount": "sample string 9",
    "Note": "sample string 10",
    "CreatedBy": 11,
    "CreatedDate": "2024-11-25 01:40:11",
    "ModifiedBy": 13,
    "ModifiedDate": "2024-11-25 01:40:11",
    "CheckedBy": 15,
    "CheckedDate": "2024-11-25 01:40:11",
    "OFAmount": 16.0,
    "OFTypeName": "sample string 17",
    "CustName": "sample string 18",
    "CustNo": "sample string 19",
    "VendName": "sample string 20",
    "VendNo": "sample string 21",
    "CreatedByName": "sample string 22",
    "CheckedByName": "sample string 23",
    "CustId": 24,
    "VendId": 25,
    "DateFmt": "2024-11-25"
  },
  "PageIndex": 1,
  "PageSize": 2,
  "Total": 3,
  "UsePager": true,
  "CategoriesFounded": [
    1,
    2
  ],
  "RDocumentStartDate": "sample string 5",
  "RDocumentEndDate": "sample string 6",
  "RDeliveryStartDate": "sample string 7",
  "RDeliveryEndDate": "sample string 8"
}