Method | POST | URL | /application/supplierEvaluation/update |
|---|
Description | API Spec phê duyệt đánh giá |
|---|
Note | API mới |
|---|
STT | Field | Source Data Type / Length | Description | Sample Values |
|---|
| 1 | authorization | String | Token | Bearer eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3NjYzOTgyNDUsInVzZXIiOiJ7XCJpZFwiOjIwMjAsXCJ1c2VybmFtZVwiOlwiMDM3NDc4ODQwNVwiLFwibmFtZVwiOlwiQ2h1IFRo4buLIExpw6puXCIsXCJyb2xlc1wiOltdLFwibWFwQmVhdXR5U2Fsb25cIjp7XCJicG0ucmVib3JuLnZuXCI6Nn0sXCJlbXBsb3llZUlkXCI6NTMxLFwiYnJhbmNoSWRcIjoyM30ifQ.qRoaRDxjqyWS-3Az_ZqLmR0KAcPTM7jXggW1Ja5wpEc |
2. Request bodySTT | Field | Required | Data Type / Length | Description | Note |
|---|
| 1 | potId | true | Integer | potId lấy từ quy trình |
| | 2 | data | true | String | data |
| | 3 | ratingScaleCodeinputFormCode | true | String | mã thang điểmbảng nhập liệu |
|
3. Response / Incoming Data Specification| STT | Field | Data Type / Length | Description | Note |
|---|
| 1 | code | Integer | 0: thành công, != 0 thất bại |
| | 2 | message | String | message trả về |
| | 3 | result | Object | Object |
| | 4 | (result) potId | String |
|
| | 5 | (result) data | String |
|
| | 6 | (result) dataHeader | String |
|
| | 7 | (result) attachments | String | file đính kèm |
| | 8 | (result) status | Integer | trạng thái (mặc định khi phê duyệt sẽ là giá trị 2) |
| | 9 | (result) approvalNote | String | Ghi chú phê duyệt |
| | 10 | (result) ratingScaleCode | String | mã thang điểm |
| | 11 | (result) totalConvertedScore | BigDecimal | tổng điểm quy đổi |
|
|