Get Asset list
DevelopingPOST
/empeo/api/v1/assets/listRequest
Get from "Get MasterSetup by SystemRegisNo (/empeo/api/v1/masters/{categoryId}/list) "
Asset tag names, separated by comma ( , )
Asset status ID [60001 : Common, 60003 : Active, 60005 : InActive]
Search by asset name, asset code, asset category name or owner's name
Can be sorted by Name, Category/Category_EN, Owner/Owner_EN, Status/Status_EN, Cost
{
"assetCategoryId": "299035, 300181",
"tagNames": "FYI",
"statusId": 60003,
"search": "",
"SortOrder": "",
"RowStart": 0,
"PageSize": 10
}
Request samples
Responses
Asset name
Asset code
Asset serial number
Asset cost
Asset remark
Indicates whether asset has a warranty
Number of months the asset is under warranty
Purchase date of the asset
Indicates whether asset is common
Indicates whether asset is active
Asset cover picture url
Asset category ID
Asset category name
Asset category English name
Asset branch name
Asset branch English name
Asset owner employee NO.
Asset owner employee name
Asset owner employee English name
Asset assigned date
Asset status ID [60001 : Common, 60003 : Active, 60005 : InActive]
Asset status name
Asset status English name
Asset tag names, separated by comma ( , )
{
"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"
}
]
}