Skip navigation

Reference Manual

O*NET Web Services uses a RESTful external site web services API. Currently all resources are read-only and accessed with the GET method. Access is limited to registered developers through HTTP Basic authentication; you can obtain a username and password by signing up for the developer program. Before you sign up, you can try our interactive demo to see the API in action.

Service list

http://services.onetcenter.org/ws/
<resources>
   <resource href="http://services.onetcenter.org/ws/about/">
      <title>About O*NET Web Services</title>
   </resource>
   <resource href="http://services.onetcenter.org/ws/mnm/">
      <title>My Next Move services</title>
   </resource>
   <resource href="http://services.onetcenter.org/ws/veterans/">
      <title>My Next Move for Veterans services</title>
   </resource>
</resources>

This response lists the top-level web service resources available. Each of the services are described below:

About O*NET Web Services

http://services.onetcenter.org/ws/about/
<about>
   <taxonomy url="http://www.onetcenter.org/taxonomy.html">O*NET-SOC 2010</taxonomy>
   <database url="http://www.onetcenter.org/database.html">O*NET 16.0</database>
</about>

This response provides version information for the data returned through these services. Two elements are returned:

  • The taxonomy element specifies the version of the O*NET-SOC taxonomy, which determines the set of O*NET-SOC codes and titles in use. The url attribute links to the O*NET Resource Center, where detailed information and taxonomy history may be found.
  • The database element indicates the version of the O*NET database in use. The database includes information such as KSA, Job Zone, and Interest ratings, which are updated more frequently than the taxonomy. The url attribute links to the O*NET Resource Center, where the full O*NET Database may be downloaded in several formats.

The taxonomy and database will be updated regularly to match those in use at My Next Move and O*NET OnLine.

My Next Move services

http://services.onetcenter.org/ws/mnm/
<resources>
   <resource href="http://services.onetcenter.org/ws/mnm/search">
      <title>Search careers with key words</title>
   </resource>
   <resource href="http://services.onetcenter.org/ws/mnm/browse/">
      <title>Browse careers by industry</title>
   </resource>
   <resource href="http://services.onetcenter.org/ws/mnm/interestprofiler/">
      <title>O*NET Interest Profiler</title>
   </resource>
   <resource href="http://services.onetcenter.org/ws/mnm/careers/">
      <title>See all careers</title>
   </resource>
</resources>

This response lists the resources corresponding to My Next Move features. Each of the resources are described below:

Search careers with key words

http://services.onetcenter.org/ws/mnm/search?keyword=[phrase or code]
<careers keyword="architect" start="1" end="20" total="20">
   <career href="http://services.onetcenter.org/ws/mnm/careers/17-1011.00/">
      <code>17-1011.00</code>
      <title>Architects</title>
      <tags bright_outlook="false" green="true" apprenticeship="false" />
   </career>
   <career href="http://services.onetcenter.org/ws/mnm/careers/17-3011.01/">
      <code>17-3011.01</code>
      <title>Architectural Drafters</title>
      <tags bright_outlook="false" green="true" apprenticeship="true" />
   </career>
   ...
</careers>

This response searches for My Next Move careers using a word, phrase, or title. The closest matches are returned first; up to 20 results are returned.

If the service is called with a full or partial O*NET-SOC code, matching results are returned sorted by code. If more than 20 matches are found, the list will be paged; for information on navigating paged results, see the description of the See all careers service.

Browse careers by industry

http://services.onetcenter.org/ws/mnm/browse/
<industries>
   <industry href="http://services.onetcenter.org/ws/mnm/browse/56">
      <code>56</code>
      <title>Administration &amp; Support Services</title>
   </industry>
   <industry href="http://services.onetcenter.org/ws/mnm/browse/71">
      <code>71</code>
      <title>Arts &amp; Entertainment</title>
   </industry>
   ...
</industries>

This response lists each of the industries available to browse. The code element corresponds to a two-digit NAICS external site code. The href parameter indicates the URL of the specific industry resource. Each industry resource lists related careers, as described below.

http://services.onetcenter.org/ws/mnm/browse/[industry code]
<careers category="all" sort="category" start="1" end="20" total="61">
   <link href="http://services.onetcenter.org/ws/mnm/browse/48?category=all&amp;sort=category&amp;start=21&amp;end=40" rel="next" />
   <career href="http://services.onetcenter.org/ws/mnm/careers/53-1011.00/" percent_employed="80" category="Most">
      <code>53-1011.00</code>
      <title>Aircraft Cargo Handling Supervisors</title>
      <tags bright_outlook="false" green="false" apprenticeship="false" />
   </career>
   <career href="http://services.onetcenter.org/ws/mnm/careers/49-3011.00/" percent_employed="57" category="Most">
      <code>49-3011.00</code>
      <title>Aircraft Mechanics &amp; Service Technicians</title>
      <tags bright_outlook="false" green="false" apprenticeship="true" />
   </career>
   ...
</careers>

This response lists careers where at least 10% of workers are employed in the selected industry. You can filter this list by passing a category parameter in the query string:

  • all - include all categories (default)
  • Most - most people (over 50%) in these careers work in this industry
  • Some - some people (between 10% and 50%) in these careers work in this industry

By default, the list is sorted by category and then by career title. You can change this by passing a sort parameter in the query string:

  • category - sort by category (default)
  • name - sort by career title
  • bright_outlook - return Bright Outlook careers first
  • green - return Green careers first
  • apprenticeship - return careers with Registered Apprenticeships first
  • percent_employed - sort by percentage of workers employed in the industry

By default, up to 20 matching careers are returned. For information on navigating paged results, see the description of the See all careers service.

O*NET Interest Profiler

http://services.onetcenter.org/ws/mnm/interestprofiler/
<resources>
   <resource href="http://services.onetcenter.org/ws/mnm/interestprofiler/questions">
      <title>Interest Profiler questions</title>
   </resource>
   <resource href="http://services.onetcenter.org/ws/mnm/interestprofiler/results">
      <title>Interest Profiler results</title>
   </resource>
   <resource href="http://services.onetcenter.org/ws/mnm/interestprofiler/job_zones">
      <title>Interest Profiler Job Zones</title>
   </resource>
   <resource href="http://services.onetcenter.org/ws/mnm/interestprofiler/careers">
      <title>Interest Profiler matching careers</title>
   </resource>
</resources>

The O*NET Interest Profiler is a vocational assessment instrument that suggests careers based on work activity preferences. Four resources provide the functionality of the Interest Profiler:

  1. Questions returns the list of questions asked in the assessment.
  2. Results returns information about a user's interests, based on their Interest Profiler answers.
  3. Job Zones returns informative text about the five O*NET Job Zones, which can be used to filter career results.
  4. Matching careers returns My Next Move careers matching a user's interest results, Interest Profiler answers, or a single selected interest area.

Interest Profiler questions

http://services.onetcenter.org/ws/mnm/interestprofiler/questions
<questions start="1" end="12" total="60">
   <link href="http://services.onetcenter.org/ws/mnm/interestprofiler/questions?start=13&amp;end=24" rel="next" />
   <answer_options>
      <answer_option value="1">Strongly Dislike</answer_option>
      <answer_option value="2">Dislike</answer_option>
      <answer_option value="3">Unsure</answer_option>
      <answer_option value="4">Like</answer_option>
      <answer_option value="5">Strongly Like</answer_option>
   </answer_options>
   <question index="1">
      <area>Realistic</area>
      <text>Build kitchen cabinets</text>
   </question>
   <question index="2">
      <area>Realistic</area>
      <text>Lay brick or tile</text>
   </question>
   ...
</questions>

The O*NET Interest Profiler contains 60 questions, each describing a work activity. The assessment taker should be offered five possible answers, describing how they would feel about doing each type of work:

  1. Strongly Dislike
  2. Dislike
  3. Unsure
  4. Like
  5. Strongly Like

These options, and their corresponding values, are provided in the <answer_options> element. The application should record the value of each answer -- 1, 2, 3, 4, or 5 -- and build a string of 60 characters containing all answers in order. This string will be used as the answers parameter for obtaining Interest Profiler results.

Each question pertains to one of six interest areas, given in the <area> element. By default, 12 questions are returned at a time. To navigate the full set of questions, use the link rel="next" and link rel="prev" elements, or provide start and end parameters to jump directly to the desired results.

Interest Profiler results

http://services.onetcenter.org/ws/mnm/interestprofiler/results?answers=[answer string]
<results answers="553421321134342523523523254115342111351145453111231155343444" start="1" end="6" total="6">
   <result>
      <area>Realistic</area>
      <score>27</score>
      <description>People with Realistic interests like work that includes practical, hands-on problems and answers. Often people with Realistic interests do not like careers that involve paperwork or working closely with others. They like working with plants and animals; real-world materials like wood, tools, and machinery; and outside work.</description>
   </result>
   ...
</results>

This response converts a set of Interest Profiler answers into a set of RIASEC scores. This may be used to identify a user's top interest areas. Six <result> elements are returned, with the numeric score and a description of each interest area. The format of the answers parameter is described above.

This response may also be called without the answers parameter. In that event, each interest area and description will be returned, without the score element present. This may be used to retrieve the text related to each interest area without needing a set of Interest Profiler answers; for example, an application may produce a score report based on paper-and-pencil Interest Profiler scores using the descriptions returned.

Interest Profiler Job Zones

http://services.onetcenter.org/ws/mnm/interestprofiler/job_zones
<job_zones start="1" end="5" total="5">
   <job_zone value="1">
      <title>Job Zone One: Little or No Preparation Needed</title>
      <experience>Little or no previous work-related skill, knowledge, or experience is needed for these occupations. For example, a person can become a waiter or waitress even if he/she has never worked before.</experience>
      <education>Some of these occupations may require a high school diploma or GED certificate.</education>
      <job_training>Employees in these occupations need anywhere from a few days to a few months of training. Usually, an experienced worker could show you how to do the job.</job_training>
      <examples>These occupations involve following instructions and helping others. Examples include taxi drivers, amusement and recreation attendants, counter and rental clerks, construction laborers, continuous mining machine operators, and waiters/waitresses.</examples>
      <svp_range>(Below 4.0)</svp_range>
   </job_zone>
   ...
</job_zones>

This response contains information about each of the five O*NET Job Zones. As described below, a Job Zone may be used to refine the list of occupations matching a user's interest profile. This informational text may be presented to the user to help them select the correct Job Zone for their career exploration.

Interest Profiler matching careers

http://services.onetcenter.org/ws/mnm/interestprofiler/careers
<careers answers="553421321134342523523523254115342111351145453111231155343444" job_zone="3" start="1" end="9" total="9">
   <career href="http://services.onetcenter.org/ws/mnm/careers/27-2031.00/" fit="Best">
      <code>27-2031.00</code>
      <title>Dancers</title>
      <tags bright_outlook="false" green="false" apprenticeship="false" />
   </career>
   <career href="http://services.onetcenter.org/ws/mnm/careers/39-9031.00/" fit="Great">
      <code>39-9031.00</code>
      <title>Fitness Trainers &amp; Aerobics Instructors</title>
      <tags bright_outlook="true" green="false" apprenticeship="false" />
   </career>
   ...
</careers>

This response returns a list of careers matching the given Interest Profiler answers or interest scores; or occupations in a selected interest area. Exactly one of the following parameter sets must be provided when calling the resource:

  • answers=[answer string] — occupations are matched based on the given Interest Profiler answers. The format of the answers parameter is described above.
  • Realistic=[score] &Investigative=[score] &Artistic=[score] &Social=[score] &Enterprising=[score] &Conventional=[score] — careers are matched based on the given interest scores. These scores may be obtained from the Interest Profiler Results service, or from a source such as the paper-and-pencil Interest Profiler.
  • area=[interest area] — careers most relevant to a single interest area are returned. This may be used to suggest careers outside the matches obtained using a full interest profile. The parameter value should be one of: Realistic, Investigative, Artistic, Social, Enterprising or Conventional.

In addition, an optional parameter may be specified:

  • job_zone=[1-5] — if specified, only careers in the given Job Zone will be returned. Note that for some interest profiles, matching careers may not be available in all five Job Zones.

When called using Interest Profiler answers or scores, each career will include a fit attribute, indicating the strength of the match:

  • Best — the career's interest profile is a very strong match to the user's interest profile.
  • Great — the career's interest profile is a strong match to the user's interest profile.
  • Good — the career's interest profile is a less strong match to the user's interest profile.

See all careers

http://services.onetcenter.org/ws/mnm/careers/
<careers sort="name" start="1" end="20" total="974">
   <link href="http://services.onetcenter.org/ws/mnm/careers/?start=21&amp;end=40&amp;sort=name" rel="next" />
   <career href="http://services.onetcenter.org/ws/careers/13-2011.01/">
      <code>13-2011.01</code>
      <title>Accountants</title>
      <tags bright_outlook="true" green="false" apprenticeship="false" />
   </career>
   <career href="http://services.onetcenter.org/ws/careers/27-2011.01/">
      <code>27-2011.00</code>
      <title>Actors</title>
      <tags bright_outlook="false" green="false" apprenticeship="true" />
   </career>
   ...
</careers>

This response lists all careers available in My Next Move. By default, the list is sorted by career title; you can change this by passing a sort parameter in the query string:

  • name - sort by career title (default)
  • bright_outlook - return Bright Outlook careers first
  • green - return Green careers first
  • apprenticeship - return careers with Registered Apprenticeships first

The list is paged, returning 20 careers at a time by default. To navigate the full set of careers, use the link rel="next" and link rel="prev" elements, or provide start and end parameters to jump directly to the desired results.

Career overview

http://services.onetcenter.org/ws/mnm/careers/[O*NET-SOC Code]/
<career code="17-2051.00">
   <code>17-2051.00</code>
   <title>Civil Engineers</title>
   <tags bright_outlook="true" green="true" apprenticeship="false" />
   <also_called>
      <title>Civil Engineer</title>
      <title>Engineer</title>
      <title>Project Engineer</title>
      <title>Project Manager</title>
   </also_called>
   <what_they_do>Perform engineering duties in planning, designing, and overseeing construction and maintenance of building structures, and facilities, such as roads, railroads, airports, bridges, harbors, channels, dams, irrigation projects, pipelines, power plants, and water and sewage systems.</what_they_do>
   <on_the_job>
      <task>Manage and direct staff members and the construction, operations, or maintenance activities at project site.</task>
      <task>Provide technical advice regarding design, construction, or program modifications and structural repairs to industrial and managerial personnel.</task>
      <task>Inspect project sites to monitor progress and ensure conformance to design specifications and safety or sanitation standards.</task>
   </on_the_job>
   <resources>
      <resource href="http://services.onetcenter.org/ws/mnm/careers/17-2051.00/knowledge">
         <title>Knowledge</title>
      </resource>
      ...
   </resources>
</career>

This response covers a single career in more detail. Not all elements are present, depending on the data available in the career. The following elements may be present:

  • code - the O*NET-SOC code for the career. See the O*NET-SOC Taxonomy page for more information.
  • title - the career name shown in My Next Move.
  • tags - indicates whether the career is considered a Bright Outlook or Green occupation, and whether Registered Apprenticeships are available for this career.
  • also_called - a sample of job titles reported during the O*NET data collection process. Job titles are not available for all careers.
  • what_they_do - the O*NET-SOC description of the career.
  • on_the_job - a sample of tasks performed by workers in the career.
  • resources - links to each of the more detailed career web services, as explained below. Some resources are not available for all careers.

Knowledge

http://services.onetcenter.org/ws/mnm/careers/[O*NET-SOC Code]/knowledge
<knowledge code="17-2051.00">
   <group>
      <title id="2.C.3">Engineering and Technology</title>
      <element id="2.C.3.b">product and service development</element>
      <element id="2.C.3.c">design</element>
   </group>
   <group>
      <title id="2.C.4">Math and Science</title>
      <element id="2.C.4.a">arithmetic, algebra, geometry, calculus, or statistics</element>
      <element id="2.C.4.b">physics</element>
   </group>
   ...
</knowledge>

This response returns the key knowledge areas for a career. For careers with knowledge data collected by the O*NET program, one or more group elements will be returned.

Each group element contains exactly one title child, which is shown in colored bold text in My Next Move. The id attribute indicates the corresponding element ID within the O*NET Content Model. Subsequent element children are shown as list items within My Next Move, and also contain an id attribute indicating the corresponding Content Model element.

Skills

http://services.onetcenter.org/ws/mnm/careers/[O*NET-SOC Code]/skills
<skills code="17-2051.00">
   <group>
      <title id="2.A">Basic Skills</title>
      <element id="2.A.2.a">thinking about the pros and cons of different ways to solve a problem</element>
      <element id="2.A.1.e">using math to solve problems</element>
   </group>
   <group>
      <title id="2.B.2">Problem Solving</title>
      <element id="2.B.2.i">noticing a problem and figuring out the best way to solve it</element>
   </group>
   ...
</skills>

This response returns the key skills for a career. For careers with skills data collected by the O*NET program, one or more group elements will be returned.

Each group element contains exactly one title child, which is shown in colored bold text in My Next Move. The id attribute indicates the corresponding element ID within the O*NET Content Model. Subsequent element children are shown as list items within My Next Move, and also contain an id attribute indicating the corresponding Content Model element.

Abilities

http://services.onetcenter.org/ws/mnm/careers/[O*NET-SOC Code]/abilities
<abilities code="17-2051.00">
   <group>
      <title id="1.A.1.c">Math</title>
      <element id="1.A.1.c.1">choose the right type of math to solve a problem</element>
      <element id="1.A.1.c.2">add, subtract, multiply, or divide</element>
   </group>
   <group>
      <title id="1.A.1.a">Verbal</title>
      <element id="1.A.1.a.3">communicate by speaking</element>
      <element id="1.A.1.a.1">listen and understand what people say</element>
   </group>
   ...
</abilities>

This response returns the key abilities for a career. For careers with skills data collected by the O*NET program, one or more group elements will be returned.

Each group element contains exactly one title child, which is shown in colored bold text in My Next Move. The id attribute indicates the corresponding element ID within the O*NET Content Model. Subsequent element children are shown as list items within My Next Move, and also contain an id attribute indicating the corresponding Content Model element.

Personality

http://services.onetcenter.org/ws/mnm/careers/[O*NET-SOC Code]/personality
<personality code="17-2051.00">
   <top_interest id="1.B.1.a">
      <title>Realistic</title>
      <description>People interested in this work like activities that include practical, hands-on problems and solutions.</description>
   </top_interest>
   <work_styles>
      <element id="1.C.7.b">Analytical Thinking</element>
      <element id="1.C.5.b">Attention to Detail</element>
      ...
   </work_styles>
</personality>

This response returns the top interest and key work styles for a career.

For careers with Interests ratings collected by the O*NET program, the top_interest element will contain the O*NET Content Model ID and title of the first interest high-point. A short description is also included. The Interest Profiler results service provides an expanded description of each interest area.

For careers with work styles data collected by the O*NET program, the work_styles element will contain one or more element elements. The id attribute indicates the corresponding element ID within the O*NET Content Model.

Technology

http://services.onetcenter.org/ws/mnm/careers/[O*NET-SOC Code]/technology
<technology code="17-2051.00">
   <category unspsc="43232604">
      <title>Computer aided design CAD software</title>
      <example>Autodesk AutoCAD software</example>
      <example>Bentley MicroStation</example>
   </category>
   <category unspsc="43232605">
      <title>Analytical or scientific software</title>
      <example>HEC-1</example>
      <example>Hydraulic modeling software</example>
   </category>
   ...
</technology>

This response returns selected examples of the software used in a career. For occupations with technology examples collected by the O*NET Tools and Technology project, one or more category elements will be returned.

Each category element includes a unspsc attribute, which indicates the UNSPSC external site commodity under which the examples are grouped. The element contains exactly one title child, which corresponds to the UNSPSC commodity title. Zero or more example elements follow, indicating more specific products or types of software used by workers in the occupation.

Education

http://services.onetcenter.org/ws/mnm/careers/[O*NET-SOC Code]/education
<education code="53-7031.00">
   <job_zone>2</job_zone>
   <education_usually_needed>
      <category>high school diploma</category>
      <category>some college</category>
   </education_usually_needed>
   <apprenticeships>
      <title rapids="0117">Dredge Operator</title>
   </apprenticeships>
</education>

This response returns education and apprenticeship data for the requested career.

The job_zone element is present when the career has been classified into one of five Job Zones, based on the education, experience, and training needed to perform the work. The element content is a number between 1 and 5. The Interest Profiler Job Zones resource provides information about each Job Zone.

The education_usually_needed element provides the most commonly reported level(s) of education required for jobs in the career. One or more category elements are returned:

  • some high school
  • high school diploma
  • some college
  • associate's degree
  • bachelor's degree
  • master's degree
  • doctoral/professional degree

The apprenticeships element lists the title and RAPIDS external site code for each related apprenticeship program registered with the Office of Apprenticeship external site.

Job Outlook

http://services.onetcenter.org/ws/mnm/careers/[O*NET-SOC Code]/job_outlook
<job_outlook code="49-9021.02">
   <outlook>
      <description>New job opportunities are very likely in the future.</description>
      <category>Bright</category>
   </outlook>
   <bright_outlook>
      <description>This career will grow rapidly in the next few years and will have large numbers of openings.</description>
      <category>Grow Rapidly</category>
      <category>Openings</category>
   </bright_outlook>
   <salary soc_code="49-9021">
      <annual_median>43380</annual_median>
   </salary>
   <green>
      <description>Green jobs will increase the demand for this type of work.</description>
      <category>Increased Demand</category>
   </green>
</job_outlook>

This response returns information related to job opportunities and employment for the career.

The outlook element indicates whether job opportunities are likely in the future. One of three category values is returned:

  • Bright - the career meets one or more Bright Outlook criteria
  • Average - the career does not meet Bright Outlook criteria, but is projected to have at least a 10% increase in employment over 2010-2020
  • Below Average - the career does not meet Bright or Average criteria.

The bright_outlook element is present if the career meets Bright Outlook criteria. One or more category elements are returned to indicate the criteria matched:

  • Grow Rapidly - the career will grow rapidly in the next few years
  • Openings - the career will have large numbers of openings
  • New & Emerging - this is a new and emerging career

The salary element provides annual median wages, from the BLS Occupational Employment Statistics external site wage estimates. The soc_code attribute indicates the SOC code for which the estimate was published.

The green element is present when the career has been identified as part of the green economy. One of three category values is returned:

  • Increased Demand - the green economy will increase the demand for this type of work
  • Changed Work - the green economy will change the work and skills needed on the job
  • New & Emerging - the career represents a new type of work created by the green economy

Explore More

http://services.onetcenter.org/ws/mnm/careers/[O*NET-SOC Code]/explore_more
<explore_more code="17-2051.00">
   <careers>
      <career href="http://services.onetcenter.org/ws/mnm/careers/17-2011.00/">
         <code>17-2011.00</code>
         <title>Aerospace Engineers</title>
         <tags bright_outlook="false" green="true" apprenticeship="false" />
      </career>
      <career href="http://services.onetcenter.org/ws/mnm/careers/17-3012.02/">
         <code>17-3012.02</code>
         <title>Electrical Drafters</title>
         <tags bright_outlook="false" green="false" apprenticeship="true" />
      </career>
      ...
   </careers>
   <industries soc_code="17-2051">
      <industry href="http://services.onetcenter.org/ws/mnm/browse/54" percent_employed="51">
         <code>54</code>
         <title>Professional, Science, &amp; Technical</title>
      </industry>
      ...
   </industries>
</explore_more>

This response returns a list of related careers and industries that may be of interest to career explorers or workers looking to transition to another career.

The careers element contains careers with similar characteristics to the requested career, as provided by the O*NET Related Occupations program.

The industries element contains industries that employ at least 10% of workers in the requested occupation. Industry employment data is reported by BLS Employment Projections external site. If industry data is available, the soc_code attribute indicates the SOC code under which industry employment was published.

Full career report

http://services.onetcenter.org/ws/mnm/careers/[O*NET-SOC Code]/report
<report code="17-2051.00">
   <career> ... </career>
   <knowledge> ... </knowledge>
   <skills> ... </skills>
   <abilities> ... </abilities>
   <personality> ... </personality>
   <technology> ... </technology>
   <education> ... </education>
   <job_outlook> ... </job_outlook>
   <explore_more> ... </explore_more>
</report>

This response returns information from all of the career-specific services described above, including the overview. Clients interested in a variety of career data may use this call to retrieve information in fewer requests.

My Next Move for Veterans services

http://services.onetcenter.org/ws/veterans/
<resources>
   <resource href="http://services.onetcenter.org/ws/veterans/search">
      <title>Search careers with key words</title>
   </resource>
   <resource href="http://services.onetcenter.org/ws/veterans/browse">
      <title>Browse careers by industry</title>
   </resource>
   <resource href="http://services.onetcenter.org/ws/veterans/military">
      <title>Find careers like your military job</title>
   </resource>
   <resource href="http://services.onetcenter.org/ws/veterans/careers/">
      <title>See all careers</title>
   </resource>
</resources>

This response lists the resources corresponding to My Next Move for Veterans features. Many of these resources behave the same way as their My Next Move counterparts, described above:

The only difference in these features, and in the Career overview services, is the addition of a military_jobs element in career listings. This indicates whether the career is linked to military classifications in five branches. Examples are displayed below, in the description of the Veterans specific resource:

Find careers like your military job

http://services.onetcenter.org/ws/veterans/military?keyword=[title or code]
<careers keyword="pilot" branch="all" start="1" end="4" total="4">
   <career href="http://services.onetcenter.org/ws/veterans/careers/53-5021.03/">
      <code>53-5021.03</code>
      <title>Pilots, Ship</title>
      <tags bright_outlook="false" green="false" apprenticeship="true" />
      <military_jobs air_force="false" army="false" coast_guard="false" marine_corps="false" navy="true" />
   </career>
   <career href="http://services.onetcenter.org/ws/veterans/careers/53-2011.00/">
      <code>53-2011.00</code>
      <title>Airline Pilots, Copilots, &amp; Flight Engineers</title>
      <tags bright_outlook="false" green="false" apprenticeship="false" />
      <military_jobs air_force="true" army="true" coast_guard="true" marine_corps="true" navy="true" />
   </career>
   ...
</careers>

This response returns My Next Move careers similary to a military code or title. Closest matches are returned first.

An optional parameter, branch, can be added to limit searches to a single service branch. The branch codes are:

  • all - all branches (default)
  • air_force - Air Force (AFSC)
  • army - Army (MOS)
  • coast_guard - Coast Guard (Ratings)
  • marine_corps - Marine Corps (MOS)
  • navy - Navy (Ratings)

Error handling

<error>The required parameter "keyword" was not provided.</error>

Error conditions in the web services API are indicated with HTTP status codes. When a client calls a service incorrectly, an error response may be returned, along with a 422 status code. This can happen when:

  • A required parameter (such as the keyword parameter in the Search careers service) is not provided, or a parameter was not formatted correctly.
  • Information is requested for a non-existent or obsolete O*NET-SOC code.
  • No data is available for a particular career or parameter. For example, no Knowledge data is available for Legislators.

As with any web service, clients should also be prepared to handle other HTTP errors, such as 404 or 500. Only errors with a 422 code will contain an XML error response.

Back to top