商场店铺资料查询 Get Store Info


公共参数名称 公共参数值
method fzapi.crm.EnqStoreInfo
content 请求参数集合,详见下面请求参数说明

请求参数说明

参数 类型 是否必填 最大长度 描述 示例值
mall_id String 10 商场号
int_start int 4 从第几页开始
int_limit int 4 每页几条数据

响应数据说明

参数 类型 是否必填 最大长度 描述 示例值
success bool 返回成功 true
code String 返回代码 1000
msg String 返回描述 Success
data String 返回信息 总行数total_rn,行号rn,商场号mall_id,店铺号store_code,店铺名称store_name,一级业态business_type,二级业态business_sub,三级业态business_cat,楼层号floor,单元名称property_name,商户电话telephone

请求数据示例:

string strurl = "http://localhost:32052/fzapi.ashx?timestamp=2013-01-01 08:08:08&method=fzapi.crm.EnqStoreInfo&app_id=FZ2020170011&charset=utf-8&sign_type=md5&sign=udf4+clgqi8qx9nugdzs0r3wpiq=&version=1.0.0&format=json&content={0}";

        string str = "{\"mall_id\":\"80004\"}";

        strurl = string.Format(strurl, HttpUtility.UrlEncode(str));

        HttpWebRequest httpWebRequest = (HttpWebRequest)WebRequest.Create(strurl);

        Encoding encoding = Encoding.UTF8;

        httpWebRequest.ContentType = "application/json";

        httpWebRequest.Method = "GET";

        HttpWebResponse httpWebResponse = (HttpWebResponse)httpWebRequest.GetResponse();

        StreamReader streamReader = new StreamReader(httpWebResponse.GetResponseStream());

        string responseContent = streamReader.ReadToEnd();

        httpWebResponse.Close();

        streamReader.Close();

响应数据示例:

{
    "success":true,
    "code":"1000",
    "msg":"Success",
    "data":[
        {
            "total_rn":"3",
            "rn":"1",
            "mall_id":"JM001",
            "store_code":"JM001L1000001",
            "store_name":"JM001L1000001",
            "business_type":"81",
            "business_sub":"8101",
            "business_cat":null,
            "floor":"1F",
            "property_name":null,
            "telephone":null
        }
    ]
}

results matching ""

    No results matching ""