GetDataSourceList
≥4.5
接口功能
查询此Application下的List
请求参数
参数 | 类型 | 说明 |
---|---|---|
State | int | 根据 State 过滤返回值,默认返回有效值。-1:全部,0:有效,1:无效 |
返回参数(Data部分)
new {
Id="",
Name="",
Desc="",
ParentId="",
ParentName="",
Order=0,
State=0
}
返回示例
{
"StatusCode": 200,
"Info": "Request (or process) succeeded",
"Data": [
{
"Id": "02537f86-0581-49f7-9f62-5b352f97fa26",
"Name": "Environment",
"Desc": "DM Environment",
"ParentId": null,
"ParentName": "",
"Order": 0,
"State": 0
},
{
"Id": "be30fa8c-2218-4fd2-87f5-ba68daf1dcaa",
"Name": "Permission",
"Desc": "API Permission",
"ParentId": null,
"ParentName": "",
"Order": 1,
"State": 0
},
{
"Id": "ef620eab-b235-4393-8aa8-317e84064c40",
"Name": "YesOrNo",
"Desc": "yes and no",
"ParentId": null,
"ParentName": "",
"Order": 2,
"State": 0
},
{
"Id": "a01f0473-5c32-4bf1-a4da-5cf15e8f13cc",
"Name": "Group",
"Desc": "User Group",
"ParentId": null,
"ParentName": "",
"Order": 3,
"State": 0
},
{
"Id": "8522a8c3-5f9e-4398-94ee-97047b1c069f",
"Name": "DeviceType",
"Desc": "Type of Device",
"ParentId": null,
"ParentName": "",
"Order": 4,
"State": 0
},
{
"Id": "a5d36a05-caa7-44c3-891a-73a0087cd32f",
"Name": "Gender",
"Desc": "gender",
"ParentId": null,
"ParentName": "",
"Order": 15,
"State": 0
}
]
}
参数示例
{
"State": "-1"
}