Versions Compared

Key

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

...

Panel
titleAPI Spec Document

Method

POST

URL

/integration/partnerSyncLog/list

Description

API Lấy thông tin lịch sử đông bộ

Note

API mới

1. Headers

STT 

Field

Source Data Type / Length 

Description

Sample Values

1authorizationStringTokenBearer eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3NjYzOTgyNDUsInVzZXIiOiJ7XCJpZFwiOjIwMjAsXCJ1c2VybmFtZVwiOlwiMDM3NDc4ODQwNVwiLFwibmFtZVwiOlwiQ2h1IFRo4buLIExpw6puXCIsXCJyb2xlc1wiOltdLFwibWFwQmVhdXR5U2Fsb25cIjp7XCJicG0ucmVib3JuLnZuXCI6Nn0sXCJlbXBsb3llZUlkXCI6NTMxLFwiYnJhbmNoSWRcIjoyM30ifQ.qRoaRDxjqyWS-3Az_ZqLmR0KAcPTM7jXggW1Ja5wpEc

2. Request body

STT

Field

Required

Data Type / Length

Description

Note

1errorCodefalseStringmã lỗi
2pagefalseIntegerTrang dữ liệu (phân trang)
3limitfalseIntegerSố bản ghi mỗi trang
4startTimefalseStringThời gian đồng bộ ("2026-02-26")
5endTimefalseStringThời gian đồng bộ  ("2026-02-26")
6syncByfalseIntegerNgười đồng bộ
7typefalseStringloại (PROJECT: dự án...)
8statusfalseIntegertrạng thái
9

addition

falseObject

10

(addition) contractNo

falseStringsố hợp đồng
11

(addition) sapContractNo

falseStringSố hợp đồng SAP

3. Response / Incoming Data Specification

STT

Field

Data Type / Length

Description

Note


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

2messageString


3resultList<Object>


4(result) pageIntegertrang bao nhiêu

5(result) totalIntegersố lượng bản ghi

6(result) itemsList<Object>danh sách bản ghi

7(items) idIntegerid 

8(items) endTimeString thời gian kết thúc đòng bộ

9(items) errorCodeString mã lỗi

10(items) String String chi tiết lỗi

11(items) startTimeString Thời gian bắt đầu đồng bộ

12(items) statusIntegertrang thái

13(items) syncByString người đồng bộ

14

(items) addition

falseObject

15

(addition) contractNo

Stringsố hợp đồng

16

(addition) sapContractNo

StringSố hợp đồng SAP

Panel
titleAPI Spec Document

Method

POST

URL

/application/contractIntegrationSap/get

Description

API Chi tiết thông tin gửi sang SAP

Note

API mới

1. Headers

STT 

Field

Source Data Type / Length 

Description

Sample Values

1authorizationStringTokenBearer eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3NjYzOTgyNDUsInVzZXIiOiJ7XCJpZFwiOjIwMjAsXCJ1c2VybmFtZVwiOlwiMDM3NDc4ODQwNVwiLFwibmFtZVwiOlwiQ2h1IFRo4buLIExpw6puXCIsXCJyb2xlc1wiOltdLFwibWFwQmVhdXR5U2Fsb25cIjp7XCJicG0ucmVib3JuLnZuXCI6Nn0sXCJlbXBsb3llZUlkXCI6NTMxLFwiYnJhbmNoSWRcIjoyM30ifQ.qRoaRDxjqyWS-3Az_ZqLmR0KAcPTM7jXggW1Ja5wpEc

2. Request body

STT

Field

Required

Data Type / Length

Description

Note

1contractIdtrueStringid hợp đồng

3. Response / Incoming Data Specification

STT

Field

Data Type / Length

Description

Note


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

2messageString


3resultObject


4(result) idIntegerid

5(result) projectIdIntegerid dự án

6(result) organizationIdIntegerid nhà thầu

7(items) contractTypeIdIntegerid loại hợp đồng

8(items) 

departmentId

Integerid phòng ban thực hiện

9(items) errorCodeString mã lỗi

10(items) String String chi tiết lỗi

11(items) startTimeString Thời gian bắt đầu đồng bộ

12(items) statusIntegertrang thái

13(items) syncByString người đồng bộ

14

(items) addition

falseObject

15

(addition) contractNo

Stringsố hợp đồng

16

(addition) sapContractNo

StringSố hợp đồng SAP

...