Closed dwcaraway closed 10 years ago
year
parameter?
year
and date
conflict, throw an error?I'd remove the year
parameter altogether. It's confusing.
If date is omitted, use the NAICS year closest the current date (e.g. 2012).
If date is before earliest naics year in the database (currently 2007), return an error.
NAICS information is returned for a specific date (date parameter in YYYYMMDD format). By default, NAICS information is returned for current date.
For example, given a naics of 21113 and a date of 20080412, return the matching naics description for 2007.