interface address | hostname/openapi/v1/productOpenApi/queryProductCategoryPages | ||
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", "postBackParameter": {, "parameterType": "abcd", taken directly from the returned result "parameterValue": "abcd" } } | ||
parameter name | Is it necessary | Types of | Instructions |
appId | Yes | String | KYBIO configured access credentials |
postBackParameter | no | Json | Can query the home page without passing it, and the subsequent content is taken out of the return results |
parameterType | Yes | String | Retrieve from the result |
parameterValue | Yes | String | Retrieve from the result |
Return result | { "status": "success", "messages": [], "data": { "postBackParameter": { "parameterType": "abcd", taken directly from the returned result "parameterValue": "abcd" }, "result": [ { "uid": 813701230071893827, "parentUid": 0, "name": "Crafts" } ], "pageSize": 100 } } | ||
Field name | Types of | Instructions | |
Status | String | Whether the request is processed correctly, return success or error, case-insensitive | |
Messages | String[] | Messages of processing result | |
errorCode | Int | process error code, see error code table | |
pageSize | Int | This query is expected to take the number of records from the inventory. If the length of the result set is less than pageSize, no query is required on the next page. | |
postBackParameter | Json | The parameter structure of the paging query sent back to the server must be passed back from the second page. If not, each query is the first page. | |
parameterType | String | Taken directly from the returned result for postback, cannot change its value | |
parameterValue | String | Taken directly from the returned result for postback, cannot change its value | |
Result | List | Product classification entity | |
Uid | Long | Current product category unique identifier | |
parentUid | Long | The unique identifier of the parent category of the current product category | |
Name | String | Product Category Name |
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