enforcement

post

enforcement

The OSHA Enforcement API returns OSHA Inspections, Violations, and Summary Attributes on a business. The main input to the API is a Business Identification Number, or BIN, which is obtained using the Business Search API

To control what data comes back in the API, there are three boolean flags that can be set: 'oshaAttributesOnly', 'oshaAttributes', and 'violationDetail'.

  • To obtain Inspections only, set all three flags to false
  • To obtain Summary Attributes only, set 'oshaAttributesOnly' to true, and the other flags to false
  • To obtain Inspections and Violations, set 'violationDetail' to true, and the other flags to false
  • To obtain Inspections and Summary Attributes, set 'oshaAttributes' to true, and the other flags to false
  • To obtain Inspections, Violations, and Summary Attributes, set 'violationDetail' to true, 'oshaAttributes' to true, and 'oshaAttributesOnly' to false

https://sandbox-us-api.experian.com/businessinformation/osha /v1/enforcement

https://us-api.experian.com
Name Values
Authorization
(required)
Content-Type
(required)
Name Values
body
(required)

Resource Summary

Security

OAuth2

Category Credit Risk,Business Information Services
Name Type Description
Authorization
(required)
string

OAuth Bearer token

Content-Type
(required)
string

Content-Type field is to describe the data contained in the body

Name Type Description
body
(required)
object

Name Type Description
HTTP Code Description
400 Bad Request
401 Authorization information is missing or invalid
404 Not Found
500 Server Error
Name Type Description

Processing...