文档
测试

获取资源批次

GET
https://syapi.shsyzn.com.cn/book/GetBarchList

请求头

参数名
类型
描述
必填
token
string
token
必填
code
string
客户编码
必填

请求参数

参数名
类型
描述
必填
StartTime
string
开始时间 时间格式 2019-12-30 12:00:00
必填
EndTime
string
结束时间 时间格式 2019-12-30 12:00:00
必填

响应参数

参数名
类型
描述
必填
errorcode
int
错误编码
必填
errormsg
string
错误信息
必填
operatetime
datetime
操作时间
必填
iserror
bool
是否发生错误
必填
data
object
返回数据对象
必填
Count
int
返回数据总数
必填
List
array
返回数据集合
必填
BatchNum
string
批次编号 一般为“YYYYMMDD”格式,如:201912031
必填
BatchType
string
批次类型 图书,期刊,光盘,教材,赠书
必填
BatchSetupDate
datetime
批次创建日期
必填
CheckInDate
datetime
批次验收日期
必填
DiscountRatio
float
折扣率
必填
SourceVoucher
string
来源凭证 一般为采购发票编号。
必填
BatchExplain
string
批次描述
必填

返回数据示例

{ "data": { "Count": 4, "List": [ { "BatchNum": "2002", "BatchType": "图书", "BatchSetupDate": "2004/09/17 00:00:00", "CheckInDate": "2004/09/16 00:00:00", "DiscountRatio": 100, "SourceVoucher": "零购 ", "BatchExplain": "" }, { "BatchNum": "200201", "BatchType": "图书", "BatchSetupDate": "2004/07/15 00:00:00", "CheckInDate": "2004/07/15 00:00:00", "DiscountRatio": 100, "SourceVoucher": "零购 ", "BatchExplain": "" }, { "BatchNum": "200202", "BatchType": "图书", "BatchSetupDate": "2004/10/20 00:00:00", "CheckInDate": "2004/10/20 00:00:00", "DiscountRatio": 100, "SourceVoucher": "零购 ", "BatchExplain": "" }, { "BatchNum": "200203", "BatchType": "图书", "BatchSetupDate": "2004/09/03 00:00:00", "CheckInDate": "2004/09/03 00:00:00", "DiscountRatio": 100, "SourceVoucher": "零购 ", "BatchExplain": "" } ] }, "errorcode": 0, "errormsg": null, "operatetime": "2020/05/06 13:47:02", "iserror": false }