GET api/XmhSafetyHatManage/GetSafetyHatFile?file_name={file_name}&page={page}&pageSize={pageSize}
Request Information
URI Parameters
| Name | Description | Type | Additional information | 
|---|---|---|---|
| file_name | string | None. | |
| page | integer | Required | |
| pageSize | integer | Required | 
Body Parameters
None.
Response Information
Resource Description
BaseResponseOfListOfxmh_safetyhat_file| Name | Description | Type | Additional information | 
|---|---|---|---|
| data | Collection of xmh_safetyhat_file | None. | |
| msg | string | None. | |
| code | integer | None. | |
| total | integer | None. | 
Response Formats
application/json, text/json
            Sample:
        
{
  "data": [
    {
      "id": 1,
      "file_name": "sample string 2",
      "file_url": "sample string 3",
      "update_time": "2025-10-31T23:32:31.0744952+08:00",
      "add_man_id": 1,
      "add_man": "sample string 4"
    },
    {
      "id": 1,
      "file_name": "sample string 2",
      "file_url": "sample string 3",
      "update_time": "2025-10-31T23:32:31.0744952+08:00",
      "add_man_id": 1,
      "add_man": "sample string 4"
    }
  ],
  "msg": "sample string 1",
  "code": 2,
  "total": 3
}
        application/xml, text/xml
            Sample:
<BaseResponseOfArrayOfxmh_safetyhat_filewByyLw_Px xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LearnAPI">
  <code>2</code>
  <msg>sample string 1</msg>
  <total>3</total>
  <data>
    <xmh_safetyhat_file>
      <add_man>sample string 4</add_man>
      <add_man_id>1</add_man_id>
      <file_name>sample string 2</file_name>
      <file_url>sample string 3</file_url>
      <id>1</id>
      <update_time>2025-10-31T23:32:31.0744952+08:00</update_time>
    </xmh_safetyhat_file>
    <xmh_safetyhat_file>
      <add_man>sample string 4</add_man>
      <add_man_id>1</add_man_id>
      <file_name>sample string 2</file_name>
      <file_url>sample string 3</file_url>
      <id>1</id>
      <update_time>2025-10-31T23:32:31.0744952+08:00</update_time>
    </xmh_safetyhat_file>
  </data>
</BaseResponseOfArrayOfxmh_safetyhat_filewByyLw_Px>