Get the access token by calling the API below
Post /api/token/
curl <https://zeusapi-server.herokuapp.com/zeusapi/v1/api/token/> \\
-d {"email": "[email protected]", "password": "yourpassword"}
Response
{
"access":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX3BrIjoxLCJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiY29sZF9zdHVmZiI6IuKYgyIsImV4cCI6MTIzNDU2LCJqdGkiOiJmZDJmOWQ1ZTFhN2M0MmU4OTQ5MzVlMzYyYmNhOGJjYSJ9.NHlztMGER7UADHZJlxNG0WSi22a2KaYSfd1S-AuT7lU",
"refresh":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX3BrIjoxLCJ0b2tlbl90eXBlIjoicmVmcmVzaCIsImNvbGRfc3R1ZmYiOiLimIMiLCJleHAiOjIzNDU2NywianRpIjoiZGUxMmY0ZTY3MDY4NDI3ODg5ZjE1YWMyNzcwZGEwNTEifQ.aEoAYkSJjoWH1boshQAaTkf8G3yn0kapko6HFRt7Rh4"
}
No parameter is needed.
Get /get_accesslog_by_createdby_id
curl <https://zeusapi-server.herokuapp.com/zeusapi/v1/get_accesslog_by_createdby_id> \\
-h {"Content-Type": "application/json", "Authorization": "Bearer accessToken"}
Response
{"AccessLog":[
{
"request_id": "1cedbec0-e01b-11ec-8fb6-968e48f0a1a0",
"api": "get_all_client_by_createdby_id",
"runtime_in_secs": 0.03849434852600098,
"created_date_time": "2022-05-30T13:19:19.572689Z",
"user": "k3D5dHv0nCWWouXrfSYVaGrwrOZ2",
"client": null,
"role": null,
"client_role_relationship": null
},
{
"request_id": "be28cf0e-e01c-11ec-afcd-968e48f0a1a0",
"api": "get_client_by_id",
"runtime_in_secs": 0.015595436096191406,
"created_date_time": "2022-05-30T13:30:59.569673Z",
"user": "k3D5dHv0nCWWouXrfSYVaGrwrOZ2",
"client": "bb751f64-db27-11ec-80a9-9e58e32b3867",
"role": null,
"client_role_relationship": null
},
]}