Gofive OpenAPI
empeoVenioeTaxGo
empeoVenioeTaxGo
  1. Asset
  • Employee
    • Get Employee
      GET
    • Update Employee
      PUT
    • Get List Employees
      GET
    • Get Employees List
      GET
    • Get Mastertypes List
      GET
    • Get Name Prefixes
      GET
    • Get Document Types
      GET
    • Update Employee
      POST
    • Add Employee Attachment
      POST
    • Update Employee Address
      POST
    • Update Employee Family
      POST
    • Update Employee Information
      POST
    • Update Employee Contact
      POST
    • Update Employee Education
      POST
    • Update Employee Experience
      POST
    • Update Employee CustomField
      POST
    • Delete Employee
      POST
    • Get Employee Role
      GET
    • Get Employee Movement Lists
      GET
  • Master
    • Get Organizations
      GET
    • Get CustomField
      GET
    • Get Holiday
      GET
    • Get MasterSetup
      GET
  • Shifts
    • Get Shift Details
      GET
    • Update Employee Shifts
      POST
    • Get Employee Shifts
      GET
    • Swap Employee Shifts
      POST
  • Authentication API
    • Authorization
  • Leave
    • Get Employee Documents
  • Payroll
    • Create Loan
    • Get Loan (Draft)
    • Get Cost Center
    • Get Financial Transactions
    • Update Financial Transactions
  • Attendance
    • Get Time Attendance
    • Get Time Attendances Lite
  • Welfare
    • Get Shuttle Buses
    • Get Passengers
  • Time
    • Workin
    • Get Employee WorkIn Site
    • Get Timestamps
    • Get TimeStamp Attachments
    • Get Workin Sites
    • Get IOMO Logs
    • Add Timestamps
  • AppMan
    • Update status criminal checker
    • Send Email Notification when completed
  • Asset
    • Get Asset list
      POST
    • Update Asset
      POST
    • Get Employee Assets
      GET
  • Recruitment
    • Get Candidate
  1. Asset

Get Asset list

Developing
POST
https://api.gofive.co.th/empeo/api/v1/assets/list

Request

Header Params
Authorization
string 
optional
Example:
Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IkIwN0I2RTQ3QTU1MzkxOTdDQ0Y2NzlDNTVEODFFNDQ1RTE2NUQ2QkVSUzI1NiIsInR5cCI6ImF0K2p3dCIsIng1dCI6InNIdHVSNlZUa1pmTTlubkZYWUhrUmVGbDFyNCJ9.eyJuYmYiOjE2OTE0MDQ1NzUsImV4cCI6MTY5MTQwODE3NSwiaXNzIjoiaHR0cHM6Ly9sb2dpbi5nb2ZpdmUuY28udGgiLCJhdWQiOlsiR09GSVZFLkFQSSIsIklNQy5BUEkiXSwiY2xpZW50X2lkIjoiRW1wZW9BdXRoZW4tT3BlbkFwaSIsInN1YiI6IjE5ZTRlZDVjLWJhNTktNDAzMi05OTUyLWYzYzQ3YWFlODUzOCIsImF1dGhfdGltZSI6MTY5MTQwNDU3NSwiaWRwIjoibG9jYWwiLCJDbGllbnRJZCI6IkVtcGVvQXV0aGVuLU9wZW5BcGkiLCJyb2xlIjoiIiwicHJlZmVycmVkX3VzZXJuYW1lIjoiY2hhaXRoYXdhdC55YUBnbG9iYWwua29tYXRzdSIsInNpZCI6IjYzRkI4M0E5OUVGNkY3NUQ4OUFDQjc5MDIwRDc5MUI3IiwiaWF0IjoxNjkxNDA0NTc1LCJzY29wZSI6WyJHT0ZJVkUuQVBJIiwiSU1DLkFQSSIsIm9wZW5pZCIsInByb2ZpbGUiLCJvZmZsaW5lX2FjY2VzcyJdLCJhbXIiOlsicHdkIl19.VZzigCC7Znq9XGwbka1uXkKquWwuapah5GyhKZaiFFeaKW-yWYt76vodQt72RMmDQxA21MN8pYqbF2MkQlFAvP0yw9IyzpEzYsxs_0fCDWqSAQenmrJ_9o8pkX-Rc89MQvmQJBNOg0dFsYGm2W441KTK43JgP1LUIC-CPhELj3jAHNQqe6PF3j0xAl7D-fZYdbqQXI890gD0PAf8E3za4yPVsf31DV7ies3vwE8x74S5WD8sFD8R9bMC0iKmaZ_YHd4JWswF4iwiDTmifST7iKAdGizeYWXfYPC9EZD5d3GOnX_hRby2QDfuXtg1ec9esVunuYfklupTvabxiFWebw
Ocp-Apim-Subscription-Key
string 
optional
Example:
20ed4158ed784b1da077647b263ccf6e
Body Params application/json
assetCategoryId
string 
optional
Get from "Get MasterSetup by SystemRegisNo (/empeo/api/v1/masters/{categoryId}/list) "
tagNames
string 
optional
Asset tag names, separated by comma ( , )
statusId
integer 
optional
Asset status ID [60001 : Common, 60003 : Active, 60005 : InActive]
search
string 
optional
Search by asset name, asset code, asset category name or owner's name
SortOrder
string 
optional
Can be sorted by Name, Category/Category_EN, Owner/Owner_EN, Status/Status_EN, Cost
RowStart
integer 
optional
PageSize
integer 
optional
Example
{
    "assetCategoryId": "299035, 300181",
    "tagNames": "FYI",
    "statusId": 60003,
    "search": "",
    "SortOrder": "",
    "RowStart": 0,
    "PageSize": 10
}

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 POST 'https://api.gofive.co.th/empeo/api/v1/assets/list' \
--header 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IkIwN0I2RTQ3QTU1MzkxOTdDQ0Y2NzlDNTVEODFFNDQ1RTE2NUQ2QkVSUzI1NiIsInR5cCI6ImF0K2p3dCIsIng1dCI6InNIdHVSNlZUa1pmTTlubkZYWUhrUmVGbDFyNCJ9.eyJuYmYiOjE2OTE0MDQ1NzUsImV4cCI6MTY5MTQwODE3NSwiaXNzIjoiaHR0cHM6Ly9sb2dpbi5nb2ZpdmUuY28udGgiLCJhdWQiOlsiR09GSVZFLkFQSSIsIklNQy5BUEkiXSwiY2xpZW50X2lkIjoiRW1wZW9BdXRoZW4tT3BlbkFwaSIsInN1YiI6IjE5ZTRlZDVjLWJhNTktNDAzMi05OTUyLWYzYzQ3YWFlODUzOCIsImF1dGhfdGltZSI6MTY5MTQwNDU3NSwiaWRwIjoibG9jYWwiLCJDbGllbnRJZCI6IkVtcGVvQXV0aGVuLU9wZW5BcGkiLCJyb2xlIjoiIiwicHJlZmVycmVkX3VzZXJuYW1lIjoiY2hhaXRoYXdhdC55YUBnbG9iYWwua29tYXRzdSIsInNpZCI6IjYzRkI4M0E5OUVGNkY3NUQ4OUFDQjc5MDIwRDc5MUI3IiwiaWF0IjoxNjkxNDA0NTc1LCJzY29wZSI6WyJHT0ZJVkUuQVBJIiwiSU1DLkFQSSIsIm9wZW5pZCIsInByb2ZpbGUiLCJvZmZsaW5lX2FjY2VzcyJdLCJhbXIiOlsicHdkIl19.VZzigCC7Znq9XGwbka1uXkKquWwuapah5GyhKZaiFFeaKW-yWYt76vodQt72RMmDQxA21MN8pYqbF2MkQlFAvP0yw9IyzpEzYsxs_0fCDWqSAQenmrJ_9o8pkX-Rc89MQvmQJBNOg0dFsYGm2W441KTK43JgP1LUIC-CPhELj3jAHNQqe6PF3j0xAl7D-fZYdbqQXI890gD0PAf8E3za4yPVsf31DV7ies3vwE8x74S5WD8sFD8R9bMC0iKmaZ_YHd4JWswF4iwiDTmifST7iKAdGizeYWXfYPC9EZD5d3GOnX_hRby2QDfuXtg1ec9esVunuYfklupTvabxiFWebw' \
--header 'Ocp-Apim-Subscription-Key: 20ed4158ed784b1da077647b263ccf6e' \
--header 'Content-Type: application/json' \
--data-raw '{
    "assetCategoryId": "299035, 300181",
    "tagNames": "FYI",
    "statusId": 60003,
    "search": "",
    "SortOrder": "",
    "RowStart": 0,
    "PageSize": 10
}'

Responses

🟢200Success
application/json
Body
statusCode
integer 
required
message
string 
optional
totals
integer 
required
data
array [object {28}] 
required
name
string 
required
Asset name
code
string 
required
Asset code
serialNo
string 
optional
Asset serial number
cost
number 
optional
Asset cost
remark
string 
optional
Asset remark
hasWarranty
boolean 
required
Indicates whether asset has a warranty
monthOfWarranty
integer 
optional
Number of months the asset is under warranty
datePurchase
string 
optional
Purchase date of the asset
isCommon
boolean 
required
Indicates whether asset is common
isActive
boolean 
required
Indicates whether asset is active
attachmentURL
string 
optional
Asset cover picture url
categoryId
integer 
required
Asset category ID
categoryName
string 
required
Asset category name
categoryNameEN
string 
required
Asset category English name
branchName
string 
optional
Asset branch name
branchNameEN
string 
required
Asset branch English name
ownerEmployeeRefId
string 
required
Asset owner employee NO.
ownerFullName
string 
required
Asset owner employee name
ownerFullNameEN
string 
required
Asset owner employee English name
dateAssigned
string 
required
Asset assigned date
statusId
integer 
required
Asset status ID [60001 : Common, 60003 : Active, 60005 : InActive]
statusName
string 
required
Asset status name
statusNameEN
string 
required
Asset status English name
tagNames
string 
required
Asset tag names, separated by comma ( , )
createdBy
string 
required
dateCreated
string 
required
modifiedBy
string 
required
dateModified
string 
required
Example
{
    "statusCode": 200,
    "message": "OK",
    "totals": 1,
    "data": [
        {
            "name": "Logitech mouse",
            "code": "A240600037",
            "serialNo": null,
            "cost": 560,
            "remark": "",
            "hasWarranty": false,
            "monthOfWarranty": null,
            "datePurchase": null,
            "isCommon": true,
            "isActive": false,
            "attachmentURL": "https://dev.tks.co.th/empeoAPI/api/Service/GenerateAttachmentUrl/?path=Tenant/28391ad0-b221-4c93-8724-d9f370a8b1ac/AssetsManagementAttachmentFile/0/a849ee14-e30c-45ca-a8c4-4ed4210a8c71.png&type=image/png&encryptionKey=3TR2ECOmHgBNkAbkpMXRCl2YK2RrwjHPQ2cC8XGzBro=",
            "categoryId": 0,
            "categoryName": "อุปกรณ์ไอที",
            "categoryNameEN": "IT equipments",
            "branchName": null,
            "branchNameEN": null,
            "ownerEmployeeRefId": "99999",
            "ownerEmployeeName": "สมหมาย หมายปอง",
            "ownerEmployeeNameEN": "User Mos ZA008",
            "dateAssigned": "2024-07-01T16:00:27.1467285",
            "statusId": 60001,
            "statusName": "ส่วนกลาง",
            "statusNameEN": "Common",
            "tagNames": null,
            "createdBy": "[email protected]",
            "dateCreated": "2024-06-25T13:15:05.3364876",
            "modifiedBy": "[email protected]",
            "dateModified": "2024-07-27T22:46:58.16"
        }
    ]
}
🟠401User authentication required V2.
Modified at 2024-09-03 05:03:53
Previous
Send Email Notification when completed
Next
Update Asset
Built with