["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"}
                

Logout from mobile-apps

end-point: api/logout

method: POST

header:Authorization: Bearer xxxxx
                

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 }