Versions Compared

Key

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

...

3. Response / Incoming Data Specification

id nhân viên

. Response / Incoming Data Specification

Panel
titleAPI Spec Document

Method

POST

URL

<DOMAIN>/application/artifactGrid/updatevalidate

Description

API update insert Grid

Note

API mới

1. Headers

STT

Field

Source Data Type / Length 

Description

Sample Values


authorizationStringToken

Bearer eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3NjYzMDk1MTgsInVzZXIiOiJ7XCJpZFwiOjIwMjAsXCJ1c2VybmFtZVwiOlwiMDM3NDc4ODQwNVwiLFwibmFtZVwiOlwiQ2h1IFRo4buLIExpw6

puXCIsXCJyb2xlc1wiOltdLFwibWFwQmVhdXR5U2Fsb25cIjp7XCJicG0ucmVib3JuLnZuXCI6Nn0sXCJlbXBsb3llZUlkXCI6NTMxLFwiYnJhbmNoSWRcIjoyM30ifQ.UGz8TQudVxEd7rp_rsLXePraHELTRWHyc7iXNvVnn14

2. BODY

STT

Field

Required

Data Type / Length

Description

Note

1

nodeIddataHeader

true
IntegerString
id node

2

processIddata

trueIntegerid processfalseString

3

potId

trueIntegerid pot4

workId

trueIntegerid công việc5

fieldName

trueStringLoại hồ sơ6

data

trueStringdữ liệu grid7

documentType

trueStringloại tài liệu8

inputFormCode

trueStringcode form nhập liệu
STT

Field

Data Type / Length

Description

Note

Sample Values

code
Integer 
code responsemessageStringnội dung phản hồiresult.idInteger id
result.nodeId
Integer 
node idresult.processIdInteger id tiến trìnhresult.potIdInteger id hồ sơ (Yêu cầu mua sắm)result.workIdInteger id công việcresult.fieldName
String
Loại hồ sơresult.documentTypeStringloại tài liệuresult.dataString data gridresult.employeeIdInteger 
STT

Field

Data Type / Length

Description

Note

Sample Values


code
Integer 
code response
code == 0 thì sẽ trả về kết quả hợp lệ, nếu code != 0 thì đầu vào bị lỗi


messageStringnội dung phản hồi


result
Boolean
kết quả validate

3.4 Mô tả các trường dữ liệu chức năng Cài đặt bảng nhập liệu:

...