- Authentication API
- Employee
- Get EmployeeGET
- Update EmployeePUT
- Get List EmployeesGET
- Get Employees List GET
- Get Mastertypes ListGET
- Get Name PrefixesGET
- Get Document TypesGET
- Update EmployeePOST
- Add Employee AttachmentPOST
- Update Employee AddressPOST
- Update Employee FamilyPOST
- Update Employee InformationPOST
- Update Employee ShiftsPOST
- Update Employee ContactPOST
- Update Employee EducationPOST
- Update Employee ExperiencePOST
- Update Employee CustomFieldPOST
- Delete EmployeePOST
- Get Employee ShiftsGET
- Get Employee RoleGET
- Get Employee Movement ListsGET
- Leave
- Master
- Payroll
- Attendance
- Welfare
- Time
- AppMan
- Asset
- Recruitment
Update Financial Transactions
Developing
PUT
https://api.gofive.co.th/empeo/api/v1/payrolls/financial-transactions
Request
Header Params
Authorization
string
required
Example:
Bearer {Bearer}
Content-Type
string
required
Example:
application/json
Body Params application/json
companyName
string
required
year
integer
required
periodCalculateNo
integer
required
periodExtendNo
integer
required
financialTransactions
array [object {2}]
required
employeeRefId
string
optional
financialItems
array [object {2}]
optional
Example
{
"periodCalculateNo": 10,
"periodExtendNo": 0,
"year": 2024,
"companyName": "โกไฟว์",
"financialTransactions": [
{
"employeeRefId": "80105",
"financialItems": [
{
"code": "I01",
"amount": 1000
},
{
"code": "I4116",
"amount": 1000
}
]
}
]
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://api.gofive.co.th/empeo/api/v1/payrolls/financial-transactions' \
--header 'Authorization: Bearer {Bearer}' \
--header 'Content-Type: application/json' \
--data-raw '{
"periodCalculateNo": 10,
"periodExtendNo": 0,
"year": 2024,
"companyName": "โกไฟว์",
"financialTransactions": [
{
"employeeRefId": "80105",
"financialItems": [
{
"code": "I01",
"amount": 1000.00
},
{
"code": "I4116",
"amount": 1000.00
}
]
}
]
}'
Responses
🟢200Success
application/json
Body
status
object
required
code
string
required
description
string
required
data
object
required
message
string
required
result
boolean
required
Example
{
"status": {
"code": "1000",
"description": "Data successfully updated"
},
"data": {
"message": "Saved successfully.",
"result": true
}
}
🟠401User authentication required V2.
🟠400Bad Request
Modified at 2024-08-14 07:46:48