Follow these steps to authenticate and begin using the Sysad API:
/api/lgn/meuser, pass).
Returns a list of Companies.
curl -X GET "https://sysad-api.epsylon.co.id/api/lgn/me" \
-H "user: YOUR_USERNAME" \
-H "pass: YOUR_PASSWORD"
/api/lgn/entityuser, id).
Returns a list of Entities for the Company.
curl -X GET "https://sysad-api.epsylon.co.id/api/lgn/entity" \
-H "user: YOUR_USERNAME" \
-H "id: COMPANY_ID"
/api/lgn/tokenuser, pass, comp, ent, year).
Returns the token required for accessing SysAd’s data.
curl -X GET "https://sysad-api.epsylon.co.id/api/lgn/token" \
-H "user: YOUR_USERNAME" \
-H "pass: YOUR_PASSWORD" \
-H "comp: COMPANY_ID" \
-H "ent: ENTITY_ID" \
-H "year: YEAR"
Once you have the token, include it in the headers of subsequent API requests to access SysAd’s modules (Media, Finance, Master, etc.).