查询导轨和货架的映射关系
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
请求参数
名称 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | DescribePlanogramRails |
系统规定参数。取值:DescribePlanogramRails。 |
StoreId | String | 是 | s-dxsxx**** |
门店ID或商家自定义门店ID。 |
RailCode | String | 否 | aabbccdd**** |
陈列系统中的导轨编号。 |
PageSize | Integer | 否 | 10 |
分页参数:每页显示条数,默认值10。 |
Shelf | String | 否 | 20200201 |
陈列系统的货架号。 |
Layer | Integer | 否 | 1 |
陈列系统的层号。 |
PageNumber | Integer | 否 | 1 |
分页参数:当前页码,默认值1。 |
返回数据
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
Code | String | -1001 |
内部错误码。 |
DynamicCode | String | PlatformResponseError.%s |
动态错误码。 |
DynamicMessage | String | The specified store %s does not exist. |
动态消息。 |
ErrorCode | String | MandatoryParameters |
错误码。 |
ErrorMessage | String | The specified resource type is invalid. |
错误消息。 |
Message | String | success |
消息。 |
PageNumber | Integer | 1 |
分页参数:当前页码。 |
PageSize | Integer | 10 |
分页参数:每页显示条数。 |
PlanogramRailInfos | Array |
导轨与货架映射关系列表。 |
|
GapUnit | Integer | 40 |
间隔的物理距离,单位mm。 |
Layer | Integer | 1 |
层号。 |
RailCode | String | aabbccd**** |
导轨编号。 |
Shelf | String | 20200201 |
货架号。 |
RequestId | String | E69C8998-1787-4999-8C75-D663FF1173CF |
请求ID。 |
StoreId | String | s-dxsxx**** |
门店ID。 |
Success | Boolean | true |
请求成功与否标识。 |
TotalCount | Integer | 100 |
总条数。 |
示例
请求示例
http(s)://cloudesl.cn-hangzhou.aliyuncs.com/?Action=DescribePlanogramRails
&StoreId=s-dxsxx****
&<公共请求参数>
正常返回示例
XML
格式
<RequestId>A301ADFC-EF06-4C8F-B22B-C6C8B28DD63F</RequestId>
<PageSize>10</PageSize>
<Success>true</Success>
<PlanogramRailInfos>
<RailCode>aabbccdd****</RailCode>
<Shelf>20200201</Shelf>
<GapUnit>40</GapUnit>
<Layer>1</Layer>
</PlanogramRailInfos>
<TotalCount>1</TotalCount>
<StoreId>s-ph5agd****</StoreId>
<PageNumber>1</PageNumber>
JSON
格式
{
"RequestId": "A301ADFC-EF06-4C8F-B22B-C6C8B28DD63F",
"PageSize": 10,
"Success": true,
"PlanogramRailInfos": [
{
"RailCode": "aabbccdd****",
"Shelf": "20200201",
"GapUnit": 40,
"Layer": 1
}
],
"TotalCount": 1,
"StoreId": "s-ph5agd****",
"PageNumber": 1
}
错误码
访问错误中心查看更多错误码。