Versions Compared

Key

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

...

Panel
titleAPI init mở eform (tạo requestId)

Method

GET

URL

application/supplierEvaluation/init

Description

API init mở eform (tạo requestId)

Note

API mới

1. Headers

STT

Field

Source Data Type / Length 

Description

Sample Values

1authorization<token>Token của người dùng đăng nhậpBearer eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3NjY0NTU3ODksInVzZXIiOiJ7XCJpZFwiOjIwMjAsXCJ1c2VybmFtZVwiOlwiMDM3NDc4ODQwNVwiLFwibmFtZVwiOlwiQ2h1IFRo4buLIExpw6puXCIsXCJyb2xlc1wiOltdLFwibWFwQmVhdXR5U2Fsb25cIjp7XCJicG0ucmVib3JuLnZuXCI6Nn0sXCJlbXBsb3llZUlkXCI6NTMxLFwiYnJhbmNoSWRcIjoyM30ifQ.wrvIFd-Q2kHgkTmPf6ryMY6aDIgXpNsWmSvvifQWc5k

2. Request

STT

Field

Require

Data Type / Length

Description

Note

Sample Values

1processCodetrueStringMặc định EVALUATE_NCC_NT

2orgIdtrueIntegerid NCC

3. Response / Incoming Data Specification

STT

Field

Data Type / Length

Description

Note

Sample Values

1codeInteger0: thành công còn lại thất bại

2messageStringmessage

3resultList<Object>kết quả trả ra

4(result) idIntegerid requestSubmitter

5(result) requestIdStringrequestId

Panel
titleAPI Spec thêm mới đánh giá

Method

POST

URL

/application/supplierEvaluation/insert

Description

API thêm mới đánh giá

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

1

evaluationType

trueInteger

2

organizationId

trueStringghi chú phê duyệt
3

fieldId

trueIntegertrạng thái (mặc định giá trị = 2)
4

potId

trueString file đính kèm
5

evaluationPeriod

trueString Kì đánh giá
6

ratingScaleName

trueString Thang điểm
7

contractNumber

trueString Số hợp đồng
8

contractName

trueString Tên hợp đồng
9

employeeId

trueIntegerId người tạo đánh giá
10

requestId

trueString requestId
11

processId

trueIntegerlấy từ core
12

nodeId

trueIntegerlấy từ core
13

rootId

trueIntegerlấy từ core
14

priorityLevel

trueIntegerđộ ưu tiên

3. Response / Incoming Data Specification

STT

Field

Data Type / Length

Description

Note

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

2messageStringmessage trả về
3resultObjectObject
4

(result) id

IntegerId phiếu đánh giá 
5

(result) code

Stringmã đánh giá
6

(result) name

StringTên thang điểm
7

(result) evaluationType

Integerloại đánh giá
8

(result) fieldId

Integerid lĩnh vực
9

(result) inputFormId

Integerid bảng nhập liệu

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

...