Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

3.3 API Spec: <gắn link tài liệu mô tả API vào đây>

Panel
titleAPI Import danh sách hợp đồng

Method

POST

URL

/application/contract/import

Description

API upload

Note

API mới

1. Headers

STT 

Field

Source Data Type / Length 

Description

Sample Values

1authorizationStringTokenBearer eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3NjYzOTgyNDUsInVzZXIiOiJ7XCJpZFwiOjIwMjAsXCJ1c2VybmFtZVwiOlwiMDM3NDc4ODQwNVwiLFwibmFtZVwiOlwiQ2h1IFRo4buLIExpw6puXCIsXCJyb2xlc1wiOltdLFwibWFwQmVhdXR5U2Fsb25cIjp7XCJicG0ucmVib3JuLnZuXCI6Nn0sXCJlbXBsb3llZUlkXCI6NTMxLFwiYnJhbmNoSWRcIjoyM30ifQ.qRoaRDxjqyWS-3Az_ZqLmR0KAcPTM7jXggW1Ja5wpEc

2. Param

STT

Field

Required

Data Type / Length

Description

Note

1filetrueFile

3. Response / Incoming Data Specification

STT

Field

Data Type / Length

Description

Note


codeInteger0: thành công, != 0 thất bại

messageString


resultObject[]danh sách  cấu hình grid

(result)idInteger


(result)rowNumberInteger


(result)contractNoStringsố hợp đồng

(result)contractTypeCodeStringMã loại hợp đồng

contractNameStringTên hợp đồng/ gói thầu

(result)projectCodeStringMã dự án

(result)organizationTaxCodeStringMã số thuế nhà thầu

(result)departmentIdHrisStringid hris phòng ban

(result)signedAtStrStringNgày ký hợp đồng

(result)expectedFinishAtStrStringNgày dự kiến hoàn thành

(result)executionTimeIntegerThời gian thực hiện

(result)warrantyExpiredAtStrStringNgày hết hạn bảo hành

(result)amountBeforeTaxBigDecimalgiá trị HĐ trước thuế

(result)amountAfterTaxBigDecimalgiá trị HĐ sau thuế

(result)adjAmountBeforeTaxBigDecimalGiá trị HD trước thuế sau điều chỉnh

(result)adjAmountAfterTaxBigDecimalGiá trị HD sau thuế sau điều chỉnh

(result)investorTaxCodeStringMã số thuế - Đơn vị chủ đầu tư ký hợp đồng

(result)currencyUnitCodeStringMã tiền tệ

(result)exchangeRateStringtỉ giá tương ứng

(result)statusInteger1: chờ thống nhất, 2: đang thực hiện, 3: đã quyết toán, 4: hủy

(result)signedAtTimestampngày ký hợp đồng

(result)expectedFinishAtTimestampngày dự kiến hoàn thành

(result)warrantyExpiredAtTimestampngày hết hạn bảo hành

(result)contractTypeIdInteger


(result)organizationIdInteger


(result)projectIdInteger


(result)departmentIdInteger


(result)currencyUnitIdInteger


(result)investorSigningUnitIdInteger


(result)employeeIdInteger


(result)isInWorkflowInteger


(result)importExcelStatusIntegertrang thai import file excel: 0: error, 1: thanh cong

(result)messageErrorString









3.4 Mô tả các trường dữ liệu trên màn hình:

...