主错误码 | 主错误描述 |
---|---|
0 | 成功,其他都是失败 |
1 | 未选择账套 |
10000 | 系统异常 |
9999 | 参数异常 |
1030 | 账户过期 |
99999 | 期末结账 |
777 | 不是核算单位下的最新账套 |
888 | 当前账套是最新账套,且当前期次是已期末结账的12月份 |
{
"time": "2022-06",
"onlyShowNotRelation": "0"
}
curl --location --request POST 'http://172.168.1.18:8657/sz-prodcut//apiPz/pjuse.do' \
--header 'Cookie: JSESSIONID=598E4F80CC13CF23B6FB096103875F74' \
--header 'Content-Type: application/json' \
--data-raw '{
"time": "2022-06",
"onlyShowNotRelation": "0"
}'
{
"data": {
"list": [
{
"pzContent": "202302 记1",
"pzId": "2c288e0586297660018629e349d1007c",
"billNumber": "102",
"chargeDate": "2022-06-01",
"skId": "2c288e8a86255b4c01862566a8fc0002",
"status": "1"
},
{
"pzContent": "",
"pzId": "",
"billNumber": "101",
"chargeDate": "2022-06-01",
"skId": "2c288e8a86255b4c01862566a8fc0003",
"status": "1"
}
]
},
"code": 0
}