GetAttachmentDownloadRecord

≥4.8

Interface Function

Get the download record of the specified attachment

Parameter Type
Parameter Type Require Remarks
FormAlias String yes Form that the document belongs to,Form alias, the identity of the form
FileId String yes Attached file Id
DataId String no Document ID of the attachment
Offset int yes Get the data offset this time, the default is 0
Size int yes The amount of data per page, the default is 10
Return Data Type

EasyDataGridModel<AttachmentDownloadRecord>

Input Sample
{
    "FormAlias": "DemoFormAlias",
    "FileId": "1c8ec5a9-2886-4c01-8bf3-a9452cc35481",
    "Offset":0,
    "Size":20
}
Output Sample
{
  "StatusCode": 200,
  "Info": "Request (or process) succeeded",
  "Data": {
    "total": 3,
    "rows": [
      {
        "_id": "5d886ca887bbe441203ed525",
        "StaffCode": "##190111031015539",
        "StaffName": "DemoUser",
        "ActionTime": "2019-09-23T06:56:40.309Z",
        "FileId": "1c8ec5a9-2886-4c01-8bf3-a9452cc35481",
        "FileName": "PwC Digital Maker_Smoking Test forauto.xlsx",
        "FormAlias": "DemoFormAlias",
        "DataId": "c395d77e85524959a2b3ef12da6b8c7e",
        "FieldName": "",
        "ActionSource": "Page"
      },
      {
        "_id": "5d886cd587bbe441203ed526",
        "StaffCode": "Web API User",
        "StaffName": "Web API User",
        "ActionTime": "2019-09-23T06:57:25.899Z",
        "FileId": "1c8ec5a9-2886-4c01-8bf3-a9452cc35481",
        "FileName": "PwC Digital Maker_Smoking Test forauto.xlsx",
        "FormAlias": "DemoFormAlias",
        "DataId": "",
        "FieldName": "",
        "ActionSource": "Web API"
      },
      {
        "_id": "5d888f39f9ea921340dbf6e5",
        "StaffCode": "Web API User",
        "StaffName": "Web API User",
        "ActionTime": "2019-09-23T09:24:09.065Z",
        "FileId": "1c8ec5a9-2886-4c01-8bf3-a9452cc35481",
        "FileName": "PwC Digital Maker_Smoking Test forauto.xlsx",
        "FormAlias": "DemoFormAlias",
        "DataId": "",
        "FieldName": "",
        "ActionSource": "Web API"
      }
    ],
    "ErrorMessage": null
  }
}
© Digital Maker Product Team all right reserved,powered by Gitbook该文件修订时间: 2023-02-02 10:40:12

results matching ""

    No results matching ""