Get Product Catalog
Request Service
- getCategory
Request Method:
- POST
Request Sample:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://www.example.org/">
<SOAP-ENV:Body>
<ns1:callService>
<paramsJson>
{
"pageSize":1,
"page":1
}
</paramsJson>
<appToken>appToken</appToken>
<appKey>appKey</appKey>
<service>getCategory</service>
</ns1:callService>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Request Parameter:
Parameter | Type | Required | Remark |
---|---|---|---|
pageSize | int | Y | Page size |
page | int | Y | Current page |
Response Sample:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<SOAP-ENV:Envelope xmlns:ns1="http://www.example.org/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<ns1:callServiceResponse>
<response>
{
"ask":"Success",
"count":"2",
"data":[
{
"category_id":301580,
"category_level":2,
"category_name":"工具包",
"category_name_en":"Hid Xenon Lingt Kit",
"parent_category_id":"500130"
},
{
"category_id":301600,
"category_level":2,
"category_name":"插头",
"category_name_en":"Power Harness Plug Cable",
"parent_category_id":"500043"
}
],
"message":"Success",
"nextPage":true,
"pagination":{
"page":1,
"pageSize":2
}
}
</response>
</ns1:callServiceResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Response Parameter:
Parameter | Type | Remark |
---|---|---|
category_id | int | Catalog Id |
category_level | int | Catalog Level |
category_name | String | Catalog Chinese Name |
category_name_en | String | Catalog English Name |
parent_category_id | String | Parent Catalog Id |
作者:WesternPost 创建时间:2021-06-30 00:12
更新时间:2024-12-31 02:56
更新时间:2024-12-31 02:56