•   almost 15 years ago

API corrections

I was using the Android SDK sample to try calling all of the APIs and noted some case-sensitivity differences and typos.  Here is a listing in case it can help anyone else.

 DOL Safety & Health Dataset (http://developer.dol.gov/DOL-SafetyHealth-DATASET.htm) 
   all fields are lowercase except for RowId
BLS 2010 Occupation Employment Statistics Dataset (http://developer.dol.gov/DOL-BLS2010-DATASET.htm)
   industry_titles table
      "industry_code" should be "Industry_Code"
      "industry_title" should be "Industry_Title"
   occupation_definitions table
      "OCC_code" should be "OCC_CODE"
      "OCC_titl" should be "OCC_TITL"
   "seasonal" table should be "Seasonal"
   "statesma" table should be "statemsa"
DOL Compliance-WHD Dataset (http://developer.dol.gov/DOL-Compliance-WHD-DATASET.htm)
   "cty_nm" should be "city_nm"
DOL Agency Dataset (http://developer.dol.gov/DOL-Agency-DATASET.htm)
   "agencies" should be "Agencies" (this was correct in the Android sample)
Geography Dataset (http://developer.dol.gov/Geography-DATASET.htm)
   Use the table names in the illustration on the API page and not the all lowercase table documentation

 
Sorry for the poor formatting of this posting.

  • 1 comment

  • Manager   •   almost 15 years ago

    Joseph,
    You are correct, thanks for letting us know. We corrected the documentation on the http://developer.dol.gov site to reflect this.
    U.S. Department of Labor

Comments are closed.