查詢關聯信息數(shù)據結構
## 接口名稱
查詢關聯信息數(shù)據結構
## 接口描述
查詢對應不同數(shù)據類型的關聯信息的數(shù)據結構,返回數(shù)據結構的JSON數(shù)據。
## 接口地址
https://idr.gdsinsing.com/handle/tools/relateinfo-data?type={數(shù)據類型}
## 調用方式
|方法|數(shù)據類型|
|-|-|
|[X] GET|[ ] form-data|
|[ ] POST|[X] x-www-form-urlencoded|
|[ ] PUT|[ ] raw|
|[ ] DELETE||
## 參數(shù)說明(míng)
|參數(shù)名|數(shù)據類型|說明(míng)|
|-|-|-|
|type|String|數(shù)據類型|
## 返回結果
#### 成功返回
```JavaScript
{
"success": true,
"data": {
"index": 0,
"type": "TEXT",
"data": {
"format": "string",
"value": "{\"pindex\":0,\"key\":\"\",\"cipher\":0,\"label\":\"\",\"value\":\"\"}"
}
},
"msg": "",
"ex": null
}
```
#### 失敗返回
```JavaScript
{
"success": false,
"data": null,
"msg": "找不到該數(shù)據類型",
"ex": {
"code": "00300000",
"reason": "找不到該數(shù)據類型",
"resolve": "請(qǐng)與系統管理(lǐ)員聯系。"
}
}
```
## 調用例子
``` JavaScript
var settings = {
"url": "https://idr.gdsinsing.com/handle/tools/relateinfo-data?type=TEXT",
"method": "GET",
"timeout": 0,
};
$.ajax(settings).done(function (response) {
console.log(response);
});
```