interface address | Hostname/openapi/v1/stockTakingOpenApi/queryStockTakingHistories | ||
Request header | User-Agent: openApi Content-Type: application/json; charset=utf-8 Accept-encoding: gzip,deflate Time-stamp: 1437528688233 Data-signature: BF706E6AC693BA3B1BABD32E6713431D | ||
Request method | POST | ||
Request body | { "appId": "abcdefghijklmn", "startTime": "2016-09-30 23:59:59", "endTime": "2016-10-31 23:59:59" } | ||
parameter name | Is it necessary | Types of | Instructions |
appId | Yes | String | KYBIO configured access credentials |
startTime | Yes | String | Start time, in the format yyyy-MM-dd hh:mm:ss, does not include the start time |
endTime | Yes | String | End time, in the format yyyy-MM-dd hh:mm:ss, including the end time, endDate – startDate <=90 days |
Return result | { "status": "success", "messages": [], "data": [ { "id": 8422, "createdDateTime": "2017-09-07 11:47:31", "cashierUid": 832101480292933200, "operateType": 1, "remark": "", "markName": "" } ] } | ||
Field name | Types of | Instructions | |
Status | String | Whether the request is processed correctly, return success or error, case-insensitive | |
Messages | String[] | Processing result message | |
errorCode | Int | Business process error code, see error code table | |
Id | Int | Inventory record ID | |
createdDateTime | String | Inventory record creation time | |
cashierUid | Long | Cashier uid | |
operateType | BigDecimal | Inventory method: 1 disk; 0 or 2 disk. | |
Remark | String | Inventory note | |
markName | String | Tag name =="" such as logo shelf etc. |
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article