Induction courses are to record if an employee or contractor has completed required training. There are four types of induction course in OnLocation: internal, external, eLearning and SCORM Cloud. The first two options are used to record that training has been completed; last two options are used to deliver online training. An induction course record includes the basic course information, it doesn't include any course content.
Use the induction API to retrieve your induction course list, create an induction course, and update or delete an induction course. You can also return a list of learners that hold a specific induction, add inductions to employee or contractor profiles, and update or delete a specific learner record.
Learn more about induction courses in the OnLocation Help Center.
Returns a list of all induction courses.
A comma separated list of tag:value search parameters, a colon separator performs an exact match, a percent separator performs a starts-with search and greater/less than search number/date ranges.
List of induction courses
Access denied to this resource
Resource not found
curl -i -X GET \ 'https://api.whosonlocation.com/v1/induction?q=string'
[- {
- "id": 184,
- "created": "2021-11-03T13:19:14+13:00",
- "modified": "2021-11-10T12:22:08+13:00",
- "setup_by": 773,
- "name": "Employee induction course",
- "type": "online",
- "description": "Induction course description",
- "status": "inactive",
- "audience_staff": "all",
- "audience_sp": "all",
- "renew": 12,
- "attempts": 1,
- "inductees": 3,
- "audience_staff_member": [
- {
- "id": 556,
- "name": "Example Name"
}
], - "audience_sp_member": [
- {
- "id": 556,
- "name": "Example Name"
}
]
}
]
Create a new induction course, including the name, description, audience, and renewal settings.
Induction course details:
Induction course created
Access denied to this resource
Internal server error
{- "name": "Employee induction course",
- "type": "internal/external",
- "description": "Induction course description",
- "status": "inactive",
- "audience_staff": "all/location/department/role/none",
- "audience_sp": "all/location/group/role/none",
- "renew": 12,
- "audience_staff_member": [
- [
- 281,
- 533
]
], - "audience_sp_member": [
- [
- 281,
- 533
]
]
}
{- "id": 184,
- "created": "2021-11-03T13:19:14+13:00",
- "modified": "2021-11-10T12:22:08+13:00",
- "setup_by": 773,
- "name": "Employee induction course",
- "type": "online",
- "description": "Induction course description",
- "status": "inactive",
- "audience_staff": "all",
- "audience_sp": "all",
- "renew": 12,
- "attempts": 1,
- "inductees": 3,
- "audience_staff_member": [
- {
- "id": 556,
- "name": "Example Name"
}
], - "audience_sp_member": [
- {
- "id": 556,
- "name": "Example Name"
}
]
}
Retrieves a single induction course, filtering with the provided ID.
Course returned
Access denied to resource
Resource not found
curl -i -X GET \ https://api.whosonlocation.com/v1/induction/:id
{- "id": 184,
- "created": "2021-11-03T13:19:14+13:00",
- "modified": "2021-11-10T12:22:08+13:00",
- "setup_by": 773,
- "name": "Employee induction course",
- "type": "online",
- "description": "Induction course description",
- "status": "inactive",
- "audience_staff": "all",
- "audience_sp": "all",
- "renew": 12,
- "attempts": 1,
- "inductees": 3,
- "audience_staff_member": [
- {
- "id": 556,
- "name": "Example Name"
}
], - "audience_sp_member": [
- {
- "id": 556,
- "name": "Example Name"
}
]
}
Updates an induction course based on the provided ID.
Induction to save to the database
Updated induction course
Access denied to this resource
Internal server error
{- "name": "Employee induction course",
- "type": "internal/external",
- "description": "Induction course description",
- "status": "inactive",
- "audience_staff": "all/location/department/role/none",
- "audience_sp": "all/location/group/role/none",
- "renew": 12,
- "audience_staff_member": [
- [
- 281,
- 533
]
], - "audience_sp_member": [
- [
- 281,
- 533
]
]
}
[- {
- "id": 184,
- "created": "2021-11-03T13:19:14+13:00",
- "modified": "2021-11-10T12:22:08+13:00",
- "setup_by": 773,
- "name": "Employee induction course",
- "type": "online",
- "description": "Induction course description",
- "status": "inactive",
- "audience_staff": "all",
- "audience_sp": "all",
- "renew": 12,
- "attempts": 1,
- "inductees": 3,
- "audience_staff_member": [
- {
- "id": 556,
- "name": "Example Name"
}
], - "audience_sp_member": [
- {
- "id": 556,
- "name": "Example Name"
}
]
}
]