GetDataSourceList

≥4.5

Interface Function

Query the List under this Application

Request Parameter
Parameter Type Remarks
State int Filter return value according to State, and return valid values by default. -1:all,0:valid,1:invalid.
Return Parameter(Data)
new {
    Id="",
    Name="",
    Desc="",
    ParentId="",
    ParentName="",
    Order=0,
    State=0
}
Return Sample
{
  "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
    }
  ]
}
Input example
{
  "State": "-1"
}
© Digital Maker Product Team all right reserved,powered by Gitbook该文件修订时间: 2023-02-02 10:40:12

results matching ""

    No results matching ""