1. 通过用户ID查询参与组织信息
用户通过web端或APP查询上级组织信息接口
http: //api.java110.com:8008/api/query.store.byuser
JSON
GET
| 参数名称 | 约束 | 类型 | 长度 | 描述 | 取值说明 |
|---|---|---|---|---|---|
| app_id | 1 | String | 30 | 应用ID | Api服务分配 |
| transaction_id | 1 | String | 30 | 请求流水号 | 不能重复 1000000000+YYYYMMDDhhmmss+6位序列 |
| sign | 1 | String | - | 签名 | 请参考签名说明 |
| req_time | 1 | String | - | 请求时间 | YYYYMMDDhhmmss |
| 参数名称 | 约束 | 类型 | 长度 | 描述 | 取值说明 |
|---|---|---|---|---|---|
| user_id | 1 | String | 30 | 用户ID | - |
当http返回状态不为200 时请求处理失败 body内容为失败的原因
当http返回状态为200时请求处理成功,body内容为返回内容,
| 父参数名称 | 参数名称 | 约束 | 类型 | 长度 | 描述 | 取值说明 |
|---|---|---|---|---|---|---|
| - | address | 1 | String | 200 | - | - |
| - | storeTypeCd | 1 | String | 30 | - | - |
| - | orderTypeCd | 1 | String | 10 | - | - |
| - | serviceCode | 1 | String | 200 | - | - |
| - | responseTime | 1 | String | 200 | - | - |
| - | userId | 1 | String | 30 | - | - |
| - | mapY | 1 | String | 30 | - | - |
| - | relCd | 1 | String | 30 | - | - |
| - | attrs | 1 | String | 30 | - | - |
| - | dataFlowId | 1 | String | 30 | - | - |
| - | nearbyLandmarks | 1 | String | 30 | - | - |
| - | dataFlowId | 1 | String | 30 | - | - |
| - | response | 1 | String | 30 | - | - |
| - | name | 1 | String | 30 | - | - |
| - | tel | 1 | String | 30 | - | - |
| - | bId | 1 | String | 30 | - | - |
| - | businessType | 1 | String | 30 | - | - |
地址:http://api.java110.com:8008/api/query.store.byuser?userId=30518940136629616640
请求头信息:
Content-Type:application/json
USER_ID:1234
APP_ID:8000418002
TRANSACTION_ID:10029082726
REQ_TIME:20181113225612
SIGN:aabdncdhdbd878sbdudn898
请求报文:
无
返回报文:
{
"address": "城南格兰小镇",
"storeTypeCd": "800900000003",
"orderTypeCd": "Q",
"serviceCode": "",
"responseTime": "20191220150907",
"storeId": "402019032924930007",
"userId": "30518940136629616640",
"mapY": "",
"transactionId": "-1",
"mapX": "",
"relCd": "600311000001",
"attrs": [{
"attrId": "112019032930420009",
"specCd": "100201903002",
"value": "55"
}, {
"attrId": "112019032945350008",
"specCd": "100201903001",
"value": "吴学文"
}, {
"attrId": "112019032976770011",
"specCd": "100201903004",
"value": "城中区派出所"
}, {
"attrId": "112019032981460012",
"specCd": "100201903005",
"value": "城南新区"
}, {
"attrId": "112019032984510010",
"specCd": "100201903003",
"value": "2019-09-31"
}],
"dataFlowId": "-1",
"nearbyLandmarks": "青海",
"response": {
"code": "0000",
"message": "成功"
},
"name": "小吴工作室",
"tel": "17797173942",
"bId": "-1",
"businessType": ""
}