获取门店列表下的所有叫号数据列表,单用户限流 20qps。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

请求头

该接口使用公共请求头,无特殊请求头。请参见公共请求参数文档。

请求语法

POST /BatchGetStoreTextData HTTP/1.1

请求参数

名称 类型 位置 是否必选 示例值 描述
country String FormData CN

国家字段,CN:中国,SG:新加坡,等

StoreIds Array of String FormData shop_code

门店编码

返回数据

名称 类型 示例值 描述
Success Boolean true

成功标志

Message String success

说明

Code String success

状态码

HttpStatusCode Integer 200

http状态码

RequestId String C94F7A6A-CE27-512D-BFEC-7A0D09B9F5AD

请求ID

Data Array of Data

业务数据

StoreId String s-pdwrrnkufn

门店id

Containers Array of Container

容器信息

Type String AFTERNOON

容器标记,目前和title字段保持一致

Title String AFTERNOON

容器标题

Visible Integer 1

是否可见

1 可见

0 不可见

默认为1

ContainerData Array of ContainerData

数据列表

Mark String iconA

标记,对应模板图标名,不加文件后缀

Text String 用户:XXX

文案信息

SubText String 感谢您的耐心等候

小文案信息

Color String #ff006e

文案颜色

Bold Integer 1

是否加粗

1 加粗

0 不加粗

默认为0

示例

请求示例

POST /BatchGetStoreTextData HTTP/1.1
Host:cd.aliyuncs.com
Content-Type:application/json

country=CN&StoreIds=["shop_code"]

正常返回示例

XML格式

HTTP/1.1 200 OK
Content-Type:application/xml

<BatchGetStoreTextDataResponse>
    <Success>true</Success>
    <Message>success</Message>
    <Code>success</Code>
    <HttpStatusCode>200</HttpStatusCode>
    <RequestId>C94F7A6A-CE27-512D-BFEC-7A0D09B9F5AD</RequestId>
    <Data>
        <StoreId>s-pdwrrnkufn</StoreId>
        <Containers>
            <Type>AFTERNOON</Type>
            <Title>AFTERNOON</Title>
            <Visible>1</Visible>
            <ContainerData>
                <Mark>iconA</Mark>
                <Text>用户:XXX</Text>
                <SubText>感谢您的耐心等候</SubText>
                <Color>#ff006e</Color>
                <Bold>1</Bold>
            </ContainerData>
        </Containers>
    </Data>
</BatchGetStoreTextDataResponse>

JSON格式

HTTP/1.1 200 OK
Content-Type:application/json

{
  "Success" : true,
  "Message" : "success",
  "Code" : "success",
  "HttpStatusCode" : 200,
  "RequestId" : "C94F7A6A-CE27-512D-BFEC-7A0D09B9F5AD",
  "Data" : [ {
    "StoreId" : "s-pdwrrnkufn",
    "Containers" : [ {
      "Type" : "AFTERNOON",
      "Title" : "AFTERNOON",
      "Visible" : 1,
      "ContainerData" : [ {
        "Mark" : "iconA",
        "Text" : "用户:XXX",
        "SubText" : "感谢您的耐心等候",
        "Color" : "#ff006e",
        "Bold" : 1
      } ]
    } ]
  } ]
}

错误码

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. 服务当前暂不可用,请稍后重试

访问错误中心查看更多错误码。