POST jxc_api/OffsetList/Search

搜索核销单列表

Request Information

URI Parameters

None.

Body Parameters

OffsetCondition
NameDescriptionTypeAdditional information
Ids

单据ID

Collection of integer

None.

SearchText

关键字

string

None.

Start

开始时间

string

None.

End

结束时间

string

None.

BType

核销类型

Collection of OFType

None.

ExportDetails

是否导出明细(针对导出)

boolean

None.

PageIndex

页数,第一页为第0页,以次类推

integer

None.

PageSize

每页数量

integer

None.

UsePager

是否使用分页

boolean

None.

CurrUserSn

当前用户编号

integer

None.

CanViewAllBill

是否可以查看所有单据

boolean

None.

CanOpeAllWh

是否可以打开所有的仓库

boolean

None.

OpeWhList

能打开的仓库列表

Collection of integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Ids": [
    1,
    2
  ],
  "SearchText": "sample string 1",
  "Start": "sample string 2",
  "End": "sample string 3",
  "BType": [
    1010,
    1010
  ],
  "ExportDetails": true,
  "PageIndex": 5,
  "PageSize": 6,
  "UsePager": true,
  "CurrUserSn": 8,
  "CanViewAllBill": true,
  "CanOpeAllWh": true,
  "OpeWhList": [
    1,
    2
  ]
}

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.

Response Formats

application/json, text/json

Sample:
{
  "Items": [
    {
      "AsId": 1,
      "Date": "2021-09-19 01:39:58",
      "BType": 1010,
      "Id": 3,
      "No": "sample string 4",
      "Org1": 5,
      "Org2": 6,
      "Note": "sample string 7",
      "CreatedBy": 8,
      "CreatedDate": "2021-09-19 01:39:58",
      "ModifiedBy": 10,
      "ModifiedDate": "2021-09-19 01:39:58",
      "OFAmount": 12.0,
      "OFTypeName": "sample string 13",
      "CustName": "sample string 14",
      "VendName": "sample string 15",
      "CreatedByName": "sample string 16",
      "DateFmt": "2021-09-19"
    },
    {
      "AsId": 1,
      "Date": "2021-09-19 01:39:58",
      "BType": 1010,
      "Id": 3,
      "No": "sample string 4",
      "Org1": 5,
      "Org2": 6,
      "Note": "sample string 7",
      "CreatedBy": 8,
      "CreatedDate": "2021-09-19 01:39:58",
      "ModifiedBy": 10,
      "ModifiedDate": "2021-09-19 01:39:58",
      "OFAmount": 12.0,
      "OFTypeName": "sample string 13",
      "CustName": "sample string 14",
      "VendName": "sample string 15",
      "CreatedByName": "sample string 16",
      "DateFmt": "2021-09-19"
    }
  ],
  "SumModel": {
    "AsId": 1,
    "Date": "2021-09-19 01:39:58",
    "BType": 1010,
    "Id": 3,
    "No": "sample string 4",
    "Org1": 5,
    "Org2": 6,
    "Note": "sample string 7",
    "CreatedBy": 8,
    "CreatedDate": "2021-09-19 01:39:58",
    "ModifiedBy": 10,
    "ModifiedDate": "2021-09-19 01:39:58",
    "OFAmount": 12.0,
    "OFTypeName": "sample string 13",
    "CustName": "sample string 14",
    "VendName": "sample string 15",
    "CreatedByName": "sample string 16",
    "DateFmt": "2021-09-19"
  },
  "PageIndex": 1,
  "PageSize": 2,
  "Total": 3,
  "UsePager": true
}

application/xml, text/xml

Sample:
<NewApiPagedListOfOffsetListModelPUvk0lyR xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.NewApi">
  <_x003C_Items_x003E_k__BackingField xmlns:d2p1="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.Money.Models">
    <d2p1:OffsetListModel>
      <d2p1:AsId>1</d2p1:AsId>
      <d2p1:BType>PreOFRec</d2p1:BType>
      <d2p1:CreatedBy>8</d2p1:CreatedBy>
      <d2p1:CreatedByName>sample string 16</d2p1:CreatedByName>
      <d2p1:CreatedDate>2021-09-19T01:39:58.8623927+08:00</d2p1:CreatedDate>
      <d2p1:CustName>sample string 14</d2p1:CustName>
      <d2p1:Date>2021-09-19T01:39:58.8467328+08:00</d2p1:Date>
      <d2p1:Id>3</d2p1:Id>
      <d2p1:ModifiedBy>10</d2p1:ModifiedBy>
      <d2p1:ModifiedDate>2021-09-19T01:39:58.8623927+08:00</d2p1:ModifiedDate>
      <d2p1:No>sample string 4</d2p1:No>
      <d2p1:Note>sample string 7</d2p1:Note>
      <d2p1:OFAmount>12</d2p1:OFAmount>
      <d2p1:OFTypeName>sample string 13</d2p1:OFTypeName>
      <d2p1:Org1>5</d2p1:Org1>
      <d2p1:Org2>6</d2p1:Org2>
      <d2p1:VendName>sample string 15</d2p1:VendName>
    </d2p1:OffsetListModel>
    <d2p1:OffsetListModel>
      <d2p1:AsId>1</d2p1:AsId>
      <d2p1:BType>PreOFRec</d2p1:BType>
      <d2p1:CreatedBy>8</d2p1:CreatedBy>
      <d2p1:CreatedByName>sample string 16</d2p1:CreatedByName>
      <d2p1:CreatedDate>2021-09-19T01:39:58.8623927+08:00</d2p1:CreatedDate>
      <d2p1:CustName>sample string 14</d2p1:CustName>
      <d2p1:Date>2021-09-19T01:39:58.8467328+08:00</d2p1:Date>
      <d2p1:Id>3</d2p1:Id>
      <d2p1:ModifiedBy>10</d2p1:ModifiedBy>
      <d2p1:ModifiedDate>2021-09-19T01:39:58.8623927+08:00</d2p1:ModifiedDate>
      <d2p1:No>sample string 4</d2p1:No>
      <d2p1:Note>sample string 7</d2p1:Note>
      <d2p1:OFAmount>12</d2p1:OFAmount>
      <d2p1:OFTypeName>sample string 13</d2p1:OFTypeName>
      <d2p1:Org1>5</d2p1:Org1>
      <d2p1:Org2>6</d2p1:Org2>
      <d2p1:VendName>sample string 15</d2p1:VendName>
    </d2p1:OffsetListModel>
  </_x003C_Items_x003E_k__BackingField>
  <_x003C_PageIndex_x003E_k__BackingField>1</_x003C_PageIndex_x003E_k__BackingField>
  <_x003C_PageSize_x003E_k__BackingField>2</_x003C_PageSize_x003E_k__BackingField>
  <_x003C_SumModel_x003E_k__BackingField xmlns:d2p1="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.Money.Models">
    <d2p1:AsId>1</d2p1:AsId>
    <d2p1:BType>PreOFRec</d2p1:BType>
    <d2p1:CreatedBy>8</d2p1:CreatedBy>
    <d2p1:CreatedByName>sample string 16</d2p1:CreatedByName>
    <d2p1:CreatedDate>2021-09-19T01:39:58.8623927+08:00</d2p1:CreatedDate>
    <d2p1:CustName>sample string 14</d2p1:CustName>
    <d2p1:Date>2021-09-19T01:39:58.8467328+08:00</d2p1:Date>
    <d2p1:Id>3</d2p1:Id>
    <d2p1:ModifiedBy>10</d2p1:ModifiedBy>
    <d2p1:ModifiedDate>2021-09-19T01:39:58.8623927+08:00</d2p1:ModifiedDate>
    <d2p1:No>sample string 4</d2p1:No>
    <d2p1:Note>sample string 7</d2p1:Note>
    <d2p1:OFAmount>12</d2p1:OFAmount>
    <d2p1:OFTypeName>sample string 13</d2p1:OFTypeName>
    <d2p1:Org1>5</d2p1:Org1>
    <d2p1:Org2>6</d2p1:Org2>
    <d2p1:VendName>sample string 15</d2p1:VendName>
  </_x003C_SumModel_x003E_k__BackingField>
  <_x003C_Total_x003E_k__BackingField>3</_x003C_Total_x003E_k__BackingField>
  <_x003C_UsePager_x003E_k__BackingField>true</_x003C_UsePager_x003E_k__BackingField>
</NewApiPagedListOfOffsetListModelPUvk0lyR>