Employer API Detail Location
Employer API Detail Location
The employer DETAIL LOCATION function returns information about a specific job from the authorised account. The request must provide the id field.
URL
https://apprenticeshipcentral.com.au/api/employer/detail/
Request
id
(int) – the location id number. Can be retrieved by the Employerlist
API call. Required.type
(string) –location
. Required.
Response
response
success_count
(int) – set to 1 if the query ran without errors (regardless of the number of results returned).error_count
(int) – set to 1 if there was a query error.
data
id
(int) – the location id.location_primary
(bool) – the main location.location_address
(string) – location address.location_suburb
(string) – location suburb.location_region
(string) – the region in slug format.location_state
(string) – state in slug format.location_postcode
(char4) – post code.location_lat
(float) – derived latitude.location_lng
(float) – derived longitude.updated
(datetime) – MySQL Date.updated_by
(string) – last user to make changes.
Errors
201 – No valid type passed.
- 202 – Database query error – these should be reported.
Return to Employer API Detail