开放平台

扒书 ERP Open API

上传日志

分页查看每次上传的结果,失败的会带原因。

请求方式GET/POST
接口路径/api/uploadLog/list
Content-Type-
鉴权X-Nideshop-Token

请求参数

参数类型必填位置
curPageInteger否URL 参数
pageSizeInteger否URL 参数
jobIdlong否URL 参数
upStatus对象否URL 参数
operation对象否URL 参数
searchString否URL 参数

curl 调用

curl -s 'https://www.8shu8.com/api/uploadLog/list?curPage=1&pageSize=1&jobId=1&upStatus=xxx&operation=xxx&search=xxx' \
  -H 'X-Nideshop-Token: YOUR_LOGIN_TOKEN'

响应示例

data 为分页对象,业务数据在 records。

{
  "code": 200,
  "message": "操作成功",
  "success": true,
  "data": {
    "records": [
      {
        "id": 1,
        "goodsSn": "string",
        "shop": {
          "id": 1,
          "shopType": "...",
          "shopTypeDesc": "string",
          "shopName": "string",
          "outShopId": "string",
          "mallUserId": "string",
          "token": "string",
          "refreshToken": "string",
          "phone": "string",
          "userId": 1,
          "addTime": "string",
          "sellerNick": "string",
          "postCostId": 1,
          "smartPostSettingId": "string",
          "bindStore": true,
          "discount": 0.0,
          "code": "string",
          "second": true,
          "minPrice": 0.0,
          "twoPiecesDiscount": 1,
          "deliveryOneDay": 1,
          "waterMark": "string",
          "tailImage": "string",
          "video": "string",
          "titlePrefix": "string",
          "titleSuffix": "string",
          "importantDesc": "string",
          "stockPrefix": "string",
          "titleCombine": "string",
          "titleCombineList": [
            "..."
          ],
          "limitType": "string",
          "getLimitTypeList": [
            "..."
          ],
          "bsShopFunction": {
            "serialVersionUID": "...",
            "id": "...",
            "addTime": "...",
            "shopId": "...",
            "functionType": "...",
            "enableFlag": "..."
          },
          "filterSuit": true,
          "filterMess": true,
          "dueTime": "string",
          "shippingFee": 0.0,
          "erpShopId": "string",
          "erpType": "...",
          "supplyId": 1,
          "autoDeleteNoStock": true,
          "settleType": {
            "desc": "..."
          },
          "genImageWhenNoImage": true,
          "followMinPrice": true,
          "realTimeFreshPrice": true,
          "apiBalance": 1,
          "apiNeedMoney": true,
          "expireTime": "string",
          "tokenExpire": true,
          "erpShopName": "string",
          "erpShopNo": "string",
          "authUrl": "string",
          "onWork": true,
          "shopLabel": "...",
          "bookFlag": true,
          "erpInnerId": "string",
          "addPrice": 0.0,
          "addPricePercent": 0.0,
          "pushOrderBs": true,
          "kfzAccount": "string",
          "kfzPassword": "string",
          "kfzToken": "string",
          "autoBuyApi": true,
          "erpToken": "string",
          "appType": "..."
        },
        "jobId": 1,
        "upStatus": "...",
        "upStatusDesc": "string",
        "addTime": "string",
        "operation": "...",
        "operationDesc": "string",
        "outGoodsId": 1,
        "updateTime": "string",
        "price": 0.0,
        "store": 1,
        "title": "string",
        "remark": "string",
        "productNo": "string",
        "image": "string",
        "preTime": "string",
        "failReason": "string"
      }
    ],
    "total": 0,
    "size": 10,
    "current": 1,
    "pages": 0
  }
}