Check the details of a certain inventory

Created by Weebo Support, Modified on Fri, 17 Jun, 2022 at 12:52 AM by Weebo Support

Check the details of a certain inventory

interface address

Hostname/openapi/v1/stockTakingOpenApi/queryStockTakingDetailsById

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",

     "stockTakingId": 8422

}

parameter name

Is it necessary

Types of

Instructions

appId

Yes

String

KYBIO configured access credentials

stockTakingId

Yes

Int

Inventory record ID

Return result

{

     "status": "success",

     "messages": [],

     "data":

          {

               "id": 8422,

               "createdDateTime": "2017-09-07 11:47:31",

               "cashierUid": 832101480292933200,

               "operateType": 1,

               "remark": "",

               "markName": "",

               "items": [{

                    "stockTakingId": 8422,

                    "productUid": 293529870988965885,

                    "oldStock": 123.000,

                    "newStock": 123.000,

                    "buyPrice": 2.00,

                    "sellPrice": 12.00,

                    "losePrice": 2.00

               }, {

                    "stockTakingId": 8422,

                    "productUid": 74308856246946452,

                    "oldStock": -217.700,

                    "newStock": -217.700,

                    "buyPrice": 13.85,

                    "sellPrice": 20.00,

                    "losePrice": 13.85

               }]

     }

}

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.

Items

An array

Detailed inventory list. For details, please refer to the query of an inventory record details

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article