From 7a60104c49ee8f3b256473ee619c30279e0a6fbe Mon Sep 17 00:00:00 2001 From: yatmesh Date: Fri, 2 Jan 2026 11:43:56 +0000 Subject: [PATCH] Added login response and api --- thecaoffice-hr.py | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/thecaoffice-hr.py b/thecaoffice-hr.py index d2d8dac..d626f59 100644 --- a/thecaoffice-hr.py +++ b/thecaoffice-hr.py @@ -1,3 +1,20 @@ +# Api for the team list : https://api.thecaoffice.com/ca/login +# Login Input response +{ + 'username': '', + 'password': '', + 'mode': 'app' +} + +#Login Output response +{ + "code": 1, + "data": {}, + "message": "Sucessfull", + "sessionToken": "44e490e2-94c2-47c4-8a02-4ddeb4fea56a", + "status": 1 +} + # Call inout register for prev day - credentials in json file # call team list using ca office api - credentials in json file # Api for the team list : https://api.thecaoffice.com/team/list