Nhảy tới nội dung
Phiên bản: 2.3.0

Lấy thông tin mẫu chứng từ

Ngày cập nhật: 30 tháng 4, 2023
Người cập nhật: VNPT eContract's team


Mục đích

Hàm thực hiện lấy thông tin mẫu chứng từ thông qua id của mẫu chứng từ

  • Request URL: /api/document-templates/{id}
  • HTTP method: GET
  • Authorize: Bearer token
  • Parameter:
KeyTypeDescription
idint[Bắt buộc] Id mẫu chứng từ

Mẫu request

Thông tin id của mẫu chứng từ: id = 1149
Request: /api/document-templates/1149

Mẫu response body

{
"data": {
"id": 1149,
"name": "FILE MẪU IMPORT LÔ",
"createdDate": "2022-11-22T14:18:25.3990136",
"fileName": "HĐ Dịch vụ Cấp nước Test Dochub.docx",
"downloadUrl": "{HOST}/Api/Download?token=...",
"pdfDownloadUrl": "{HOST}/Api/Download?token=...",
"xlsxDownloadUrl": "{HOST}/Api/Download?token=...",
"isShareable": true,
"isDeletelable": true,
"isUpdateable": true
},
"success": true,
"code": 0,
"messages": []
}