GetMasterDataTableRows

>=4.9.5

接口功能

分页获取 Master Data 一个表的数据行

请求参数
参数 类型 说明
TableName string Master Data 表名
pageIndex int 分页请求的页码,值起始于1,默认值为1
pageSize int 分页请求的每页大小, 默认值为100
返回数据类型
public List<Dictionary<string, object>> RecordDatas { get; set; }
public int Pages { get; set; }
public int Rows { get; set; }
输入示例
{
  "TableName": "TestTable",
  "PageIndex": 1,
  "PageSize": 100
}
返回示例
{
  "StatusCode": 200,
  "Info": "Request (or process) succeeded",
  "Data": {
    "RecordDatas": [
      {
        "_id": "616fce96bc33de9c3ce5d299",
        "ColName1": "row1",
        "OrganizationCode": "DCTwo",
        "CategoryName": "TestTable"
      },
      {
        "_id": "616fcea4bc33de9c3ce5ddf2",
        "ColName1": "row2",
        "OrganizationCode": "DCTwo",
        "CategoryName": "TestTable"
      },
      {
        "_id": "616fceb2bc33de9c3ce5e7a4",
        "ColName1": "row3",
        "OrganizationCode": "DCTwo",
        "CategoryName": "TestTable"
      },
      {
        "_id": "616fcebfbc33de9c3ce5f089",
        "ColName1": "row4",
        "OrganizationCode": "DCTwo",
        "CategoryName": "TestTable"
      }
    ],
    "Pages": 1,
    "Rows": 4
  }
}
© Digital Maker Product Team all right reserved,powered by Gitbook该文件修订时间: 2023-02-02 10:40:12

results matching ""

    No results matching ""