Reference Manual (API Version 1.9)
Related Task search
Note: The Related Task Search at O*NET OnLine has been replaced with the Job Duties Custom List feature. Results documented below may vary from O*NET OnLine's current functionality.
The Related Task search consists of three parts:
- The user selects their current occupation through a keyword search.
- The user selects one or more task statements from that occupation.
- Related occupations are shown which have similar tasks.
To learn more about the search, see the following technical report:
Occupation search
"keyword" : "pharmacist",
"start" : 1,
"end" : 6,
"total" : 6,
"occupation" : [
{
"href" : "https://services.onetcenter.org/v1.9/ws/online/related_task/tasks/29-1051.00",
"code" : "29-1051.00",
"title" : "Pharmacists",
"tags" : {
"bright_outlook" : false,
"green" : false
}
},
{
"href" : "https://services.onetcenter.org/v1.9/ws/online/related_task/tasks/29-2052.00",
"code" : "29-2052.00",
"title" : "Pharmacy Technicians",
"tags" : {
"bright_outlook" : true,
"green" : false
}
},
...
]
}
<occupation href="https://services.onetcenter.org/v1.9/ws/online/related_task/tasks/29-1051.00">
<code>29-1051.00</code>
<title>Pharmacists</title>
<tags bright_outlook="false" green="false" />
</occupation>
<occupation href="https://services.onetcenter.org/v1.9/ws/online/related_task/tasks/29-2052.00">
<code>29-2052.00</code>
<title>Pharmacy Technicians</title>
<tags bright_outlook="true" green="false" />
</occupation>
...
</occupations>
This response implements the current occupation selection. Like the keyword search, call this service with an O*NET-SOC code, job title, or key words. Each occupation element contains a href attribute linking to the next step of the search.
The result list is paged, returning 20 occupations at a time by default. To navigate the full set of results, use the link rel="next" and link rel="prev" elements, or provide start and end parameters to jump directly to the desired results.
Tasks in occupation
"code" : "29-1051.00",
"start" : 1,
"end" : 16,
"total" : 16,
"task" : [
{
"id" : 1808,
"green" : false,
"name" : "Review prescriptions to assure accuracy, to ascertain the needed ingredients, and to evaluate their suitability."
},
{
"id" : 1809,
"green" : false,
"name" : "Provide information and advice regarding drug interactions, side effects, dosage, and proper medication storage."
},
{
"id" : 1812,
"green" : false,
"name" : "Maintain records, such as pharmacy files, patient profiles, charge system files, inventories, control records for radioactive nuclei, or registries of poisons, narcotics, or controlled drugs."
},
{
"id" : 1815,
"green" : false,
"name" : "Collaborate with other health care professionals to plan, monitor, review, or evaluate the quality or effectiveness of drugs or drug regimens, providing advice on drug applications or characteristics."
},
...
]
}
<task id="1808" green="false">Review prescriptions to assure accuracy, to ascertain the needed ingredients, and to evaluate their suitability.</task>
<task id="1809" green="false">Provide information and advice regarding drug interactions, side effects, dosage, and proper medication storage.</task>
<task id="1812" green="false">Maintain records, such as pharmacy files, patient profiles, charge system files, inventories, control records for radioactive nuclei, or registries of poisons, narcotics, or controlled drugs.</task>
<task id="1815" green="false">Collaborate with other health care professionals to plan, monitor, review, or evaluate the quality or effectiveness of drugs or drug regimens, providing advice on drug applications or characteristics.</task>
...
</tasks>
This response provides a list of task statements for the selected occupation. Within the Related Tasks search, a user chooses one or more tasks to find related occupations. Each task element contains an id attribute for use in the next step of the search.
The result list is paged, returning all task statements by default. To limit the results, provide start and end parameters to jump directly to the desired results.
Related occupations for tasks
"code" : "29-1051.00",
"tasks" : "1809,1815",
"start" : 1,
"end" : 20,
"total" : 67,
"link" : [
{
"href" : "https://services.onetcenter.org/v1.9/ws/online/related_task/results/29-1051.00?code=29-1051.00&tasks=1809%2C1815&start=21&end=40",
"rel" : "next"
}
],
"occupation" : [
{
"href" : "https://services.onetcenter.org/v1.9/ws/online/occupations/29-9092.00/",
"code" : "29-9092.00",
"title" : "Genetic Counselors",
"tags" : {
"bright_outlook" : true,
"green" : false
},
"related_tasks" : {
"task" : [
{
"id" : 17506,
"green" : false,
"name" : "Discuss testing options and the associated risks, benefits and limitations with patients and families to assist them in making informed decisions."
},
{
"id" : 17504,
"green" : false,
"name" : "Provide counseling to patient and family members by providing information, education, or reassurance."
},
...
]
}
},
{
"href" : "https://services.onetcenter.org/v1.9/ws/online/occupations/29-9099.01/",
"code" : "29-9099.01",
"title" : "Midwives",
"tags" : {
"bright_outlook" : true,
"green" : false
},
"related_tasks" : {
"task" : [
{
"id" : 17476,
"green" : false,
"name" : "Evaluate patients' laboratory and medical records, requesting assistance from other practitioners when necessary."
},
{
"id" : 17485,
"green" : false,
"name" : "Provide information about the physical and emotional processes involved in the pregnancy, labor, birth, and postpartum periods."
},
...
]
}
},
...
]
}
<link href="https://services.onetcenter.org/v1.9/ws/online/related_task/results/29-1051.00?code=29-1051.00&tasks=1809%2C1815&start=21&end=40" rel="next" />
<occupation href="https://services.onetcenter.org/v1.9/ws/online/occupations/29-9092.00/">
<code>29-9092.00</code>
<title>Genetic Counselors</title>
<tags bright_outlook="true" green="false" />
<related_tasks>
<task id="17506" green="false">Discuss testing options and the associated risks, benefits and limitations with patients and families to assist them in making informed decisions.</task>
<task id="17504" green="false">Provide counseling to patient and family members by providing information, education, or reassurance.</task>
...
</related_tasks>
</occupation>
<occupation href="https://services.onetcenter.org/v1.9/ws/online/occupations/29-9099.01/">
<code>29-9099.01</code>
<title>Midwives</title>
<tags bright_outlook="true" green="false" />
<related_tasks>
<task id="17476" green="false">Evaluate patients' laboratory and medical records, requesting assistance from other practitioners when necessary.</task>
<task id="17485" green="false">Provide information about the physical and emotional processes involved in the pregnancy, labor, birth, and postpartum periods.</task>
...
</related_tasks>
</occupation>
...
</occupations>
This response provides occupations related to a user's current occupation, which perform tasks similar to the selected tasks. Call the service with the O*NET-SOC code of the user's current occupation, and a comma-separated list of the task IDs selected in the previous step.
The closest matches are returned first. Each occupation result includes a related_tasks section listing each of the similar tasks performed by this result occupation.
The result list is paged, returning 20 occupations at a time by default. To navigate the full set of results, use the link rel="next" and link rel="prev" elements, or provide start and end parameters to jump directly to the desired results.