TheAlphaSchoolSystemPTYLTD / employee-hr

EmployeeHR API
11 stars 6 forks source link

GetEmployeesDetails Error #35

Open HannaAzzi opened 4 hours ago

HannaAzzi commented 4 hours ago

The following get call is returning an error. What does it mean and how to get around it.

$appCode = 'LKHR' $companyCode = '01' $apiVersion = '2' $endpoint = "https://loreto.nsw.tass.cloud/tassweb/api/" $method = "getEmployeesDetails" $parameters = '{"date":"1900-01-01","includephoto":"true","thumbnail":"false"}'

Error

404 - File or directory not found.

            <h3>The resource you are looking for might have been removed, had its name changed, or is temporarily
                unavailable.</h3>
scottetass commented 3 hours ago

Hi,

This is usually caused by missing photo files.

Wherever the school stores the employee photos/thumbnails, there should also be a default photo/thumbnail file for when an employee doesn't have either uploaded yet. They are called tn_Unavailable.jpg and Unavailable.jpg.

If they are not present, you may get this type of error. That would be the first thing to check.

image

If you don't have them or can't find them in any other photo directory (eg. students) then let me know your email address and I can send you the ones I have.

Thanks, Scott

HannaAzzi commented 3 hours ago

We are using the cloud version of TASS, so I don't know where the photos are stored. I don't have access to the folders where the photos are stored. What do I need to do to get around the error?

HannaAzzi commented 3 hours ago

My email address is hazzi@loreto.nsw.edu.au