Hi,
I need some help with running some python code to interact with the API, the code below seems to work but returns a 500 “Internal Server error”. Is there something wrong with the sample code below or is there a problem with the server?
import requests
EndPoint = 'https://api.yourpayroll.com.au/api/v2/ess/{employeeid}/dashboard'
Key = 'Basic {APIKey}'
headers={'Authorization':Key}
r=requests.get(url=EndPoint,headers=headers)
print(r)