Check all product unit definitions

Created by Yee Sin Lum, Modified on Thu, 16 Jun 2022 at 11:50 PM by Yee Sin Lum

Check all product unit definitions

interface address

hostname/openapi/v1/productOpenApi/queryAllProductUnitDef

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"

}

parameter name

Is it necessary

Types of

Instructions

appId

Yes

String

KYBIO configured access credentials

postBackParameter

no

Json

Able to skip at home page, subsequently, content will be obtained from returned results

parameterType

Yes

String

Obtained from returned results

parameterValue

Yes

String

Obtained from returned results

Return result

{

     "status": "success",

     "data": [

          {

               "uid": 1457686229942839743,

               "name": "Kilograms"

          }

     ]

}

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

Operation process error code, see error code table

Data

List

Product classification entity

Uid

Long

The unique identifier of the Product unit in KYBIO system

Name

String

Product unit name

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 atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article