["email","username"]

Welcome to ci4 - API Test Server 4.6.3

QSystem Teknologi Indonesia

About this server

This server is for rest-api testing purpose

base url: https://ci4api.qsystem-cloud.com/


user data:

"user": { "id": 9, "email": "xxx@gmail.com", "username": "zzz", "company_code": "zzz", "sales_code": "zzz" }

Login from mobile-apps

end-point: api/login

method: POST

data to send :

login by email:

{"email": "xxxx@xxx.com", "password": "xxxxxxxxxx"}
                

login by username:

{"username": "xxxx", "password": "xxxxxxxxxx"}
                
result: {"status":"success","message":"Login successful", "token":"6e7d1180cebc08ea2c82f6b5f48b18144ba2925828f58d4c6de11db1e6edbc28", "expires_at":{"date":"2026-01-06 11:27:15.958970", "timezone_type":3,"timezone":"UTC"}, "refresh-token":"7228fb3181cb0e3337c0c863d7676e83ebf96eba70e2c761bb55f8c403145ade", "user":{"id":9,"email":"andyfrz@gmail.com", "username":"andy","company_code":"_FN","sales_code":"_FNJB2"} }

Logout from mobile-apps

end-point: api/logout

method: POST

header:Authorization: Bearer xxxxx
                

Refresh token

end-point: api/refresh

method: POST

header:Authorization: Bearer xxx-refresh-token-xxx
                
result: { "token": "21a54b36c9f27565e5bef62ca5b3224e84d8a6de93cbd1de9b072a8172024a3a", "expires_at": { "date": "2026-01-06 11:28:12.457440", "timezone_type": 3, "timezone": "UTC" }, "refresh_token": "f48c0d6a22ae82550b18de1e9001fbaa9f8a3ac19615ef0c3b9731b97e7d5656" }

Get user profile

end-point: api/profile

method: GET

header:Authorization: Bearer xxxxx
                

User change password

end-point: api/updatepwd

method: POST

header:Authorization: Bearer xxxxx
                

data to send :

{"current_password": "xxxx", "new_password": "xxxxx", "confirm_password": "xxxxx"}
                

Product List

end-point: api/products/list

method: GET

header:Authorization: Bearer xxxxx
                

params :

limit = 99, offset = 99, search = xxxxx
sample ci4api.qsystem-cloud.com/api/products/list?limit=99&offset=99&search=xxxxx

Customer List

end-point: api/customers/list

method: GET

header:Authorization: Bearer xxxxx
                

params :

company_code = xxx, sales_code = xxx,limit = 99, offset = 99, search = xxxxx
sample ci4api.qsystem-cloud.com/api/products/list?limit=99&offset=99&search=xxxxx

Customer Check-in

end-point: api/checkin

method: POST

header:Authorization: Bearer xxxxx
                

data to send :

multipart/form-data

                    
Key Value
cust_code xxxxxxxx
checkin_longlat xxxxxxxx,xxxxxxx
distance_diff xxx
photo_1 upload file (mandatory)
photo_2 upload file (optional)

Checkin List

end-point: api/checkin/list

method: GET

header:Authorization: Bearer xxxxx
                

params :

limit = 99, offset = 99, search = xxxxx
sample ci4api.qsystem-cloud.com/api/checkin/list?limit=99&offset=99&search=xxxxx
Results:
{ "status": 200, "message": "Checkins retrieved successfully", "data": [ { "checkin_id": "1", "checkin_datetime": "2025-11-30 10:26:26", "sales_code": "_FNJB2", "cust_code": "_FNAA016", "checkin_location": "-6.138849,106.869747", "distance_diff": "1000", "photo_1": "writable/uploads/1764498386_e054473a159610405d2a.png", "photo_2": "writable/uploads/1764498386_4520806b7ab897ce492e.png", "active": "A", "created_at": "2025-11-30 10:26:26", "updated_at": "2025-11-30 10:26:26", "deleted_at": null, "username": "andy", "cust_name": "AA FROZEN FOOD (KRESEK)" }, { "checkin_id": "2", "checkin_datetime": "2025-11-30 15:44:07", "sales_code": "_FNJB2", "cust_code": "_FNABI001", "checkin_location": "-6.138849,106.869747", "distance_diff": "100", "photo_1": "writable/uploads/1764517447_972f52461dba93159d93.png", "photo_2": null, "active": "A", "created_at": "2025-11-30 15:44:07", "updated_at": "2025-11-30 15:44:07", "deleted_at": null, "username": "andy", "cust_name": "ABI (KEBON-200) BANKRUT *BELUM ORDER* <*NON-NIK*>" }, { "checkin_id": "9", "checkin_datetime": "2025-12-09 03:16:39", "sales_code": "_FNJB2", "cust_code": "_FNAA004", "checkin_location": "-36436456,3454522", "distance_diff": "1000", "photo_1": "writable/uploads/1765250199_4b1cda699c833daca033.png", "photo_2": null, "active": "A", "created_at": "2025-12-09 03:16:39", "updated_at": "2025-12-09 03:16:39", "deleted_at": null, "username": "andy", "cust_name": "AA JAYA ( SAHABAT BARU ) *BELUM ORDER*" } ], "pagination": { "total": 3, "limit": 10, "offset": 0 } }

Checkin Status Check

end-point: api/checkin/check

method: GET

header:Authorization: Bearer xxxxx
                

params :

cust_code = xxxxx,  checkin_date = yyyy/mm/dd
sample ci4api.qsystem-cloud.com/api/checkin/check?cust_code=xxxxx&checkin_date=yyyy/mm/dd
Results (data found) 
{ "status": "success", "message": "Checkin Found", "data": { "checkin_id": "9", "checkin_datetime": "2025-12-09 03:16:39", "sales_code": "_FNJB2", "cust_code": "_FNAA004", "checkin_location": "-36436456,3454522", "distance_diff": "1000", "photo_1": "writable/uploads/1765250199_4b1cda699c833daca033.png", "photo_2": null, "active": "A", "created_at": "2025-12-09 03:16:39", "updated_at": "2025-12-09 03:16:39", "deleted_at": null } }
Results (data found) 
{ "status": "success", "message": "Checkin Not Found", "data": null }