企业网关通用接口-3.0json版(飞书云文档)、领科物联网业务对接接口协议(json格式通用版本)_设备类型整合之后版本V1.3.pdf等其他离线/在线文档的替换版本,具有最高准确性。若本文档内容与其他文档内容冲突时,请以本文档内容为准。baseUrl = "https://apiv3.linksfield.net"| 参数/parameter | 示例/example | 说明/description |
|---|---|---|
| Accept-Language | zh-CH | 目前支持zh-CH / Supports zh-CN |
| Content-Type | application/json |
| 参数/parameter | 示例/example | 说明/description |
|---|---|---|
| version | 2.0 | 版本,默认值2.0/ Version, default value 2.0 |
| access_code | P012345 | 领科提供给客户的partner_code/ The Partner code provided by Linksfield to the customer |
| timestamp | 1640917845984 | 时间戳 / timestamp |
| sign | 签名值 / sign |
signContent = "{"version":"2.0","access_code":"P012345","timestamp":"1498723232"}"sign = HMAC-SHA1(signContent,secret); sign = Base64Encode(sign)