查询门店信息。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
请求头
该接口使用公共请求头,无特殊请求头。请参见公共请求参数文档。
请求语法
POST /GetShop HTTP/1.1
请求参数
名称 | 类型 | 位置 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|---|
ShopId | String | FormData | 是 | ShopId |
门店ID |
返回数据
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
Success | Boolean | true |
成功标志 |
Message | String | success |
说明 |
Code | String | success |
状态码 |
HttpStatusCode | Integer | 200 |
http状态码 |
RequestId | String | RequestId |
请求ID |
ShopId | String | ShopId |
自定义门店编号(ID)-必填 |
ShopName | String | ShopName |
门店名称-必填 |
Location | String | 滨江区江南大道1001号 |
门店地址-选填 |
Longitude | String | 130.00 |
地理经度-选填 |
Latitude | String | 130.00 |
地理纬度-选填 |
RegionAddress | String | 滨江区 |
区域地址-省市区(查询结果) |
RegionCode | String | 330108 |
区域编码(查询结果) |
Remark | String | 备注 |
备注(可空)-选填 |
DeviceNum | Integer | 0 |
设备总数(查询结果) |
DeviceMacList | Array of String | mac |
设备MAC |
ShopGroupIds | Array of String | ShopGroupId |
门店组ID |
GmtCreateTime | Long | 1640683984813 |
添加时间(查询结果) |
WeekdaysStartTime | String | 08:00:00 |
工作日开始营业时间-选填,格式:HH:mm:ss |
WeekdaysEndTime | String | 17:00:00 |
工作日结束营业时间-选填,格式:HH:mm:ss |
WeekendStartTime | String | 08:00:00 |
周末开始营业时间-选填,格式:HH:mm:ss |
WeekendEndTime | String | 18:00:00 |
周末结束营业时间-选填,格式:HH:mm:ss |
BusinessStatus | Integer | 1 |
门店营业状态:1-营业,2-待营业 |
示例
请求示例
正常返回示例
JSON
格式
HTTP/1.1 200 OK
错误码
HttpCode | 错误码 | 错误信息 | 描述 |
---|---|---|---|
400 | Params.Illegal | The request parameters are invalid. | 请求入参非法 |
401 | Unauthorized | You are not authorized to perform this operation. | 未授权的请求 |
403 | Forbidden | This request is prohibited. | 请求被禁止 |
503 | Service.Unavailable | The service is unavailable. Please try again later. | 服务当前暂不可用,请稍后重试 |
访问错误中心查看更多错误码。