Example API Request: GET All Apparatus

Before Getting Started

Additional documentation for the Agency Apparatus API can be found here.

Example Code

    curl -X GET \
    https://data.emergencyreporting.com/agencyapparatus/apparatus \
    -H 'Authorization: YOUR_ACCESS_TOKEN' \
    -H 'Content-Type: application/json' \
    -H 'Ocp-Apim-Subscription-Key: YOUR_PRODUCT_SUBSCRIPTION_PRIMARY_KEY' \
    -H 'cache-control: no-cache'

Perform a GET Request in Postman to Show All Apparatus

Now that you're familiar with our Authorization Guides, let's make a GET request to show all account Apparatus.

  1. Open Postman and request an Access token
        RESPONSE
        {
            "access_token": "YOUR_ACCESS_TOKEN",
            "expires_in": 3600,
            "token_type": "Bearer",
            "scope": null,
            "refresh_token": "YOUR_REFRESH_TOKEN"
        }
    
  2. Create a new Request in Postman
  3. Make sure the "GET" request type is selected
  4. New Postman Get Request
  5. In the request URL field, update to the following
    • https://data.emergencyreporting.com/agencyapparatus/apparatus
  6. Navigate into the Headers tab and update to the following
    KEY VALUE
    Content-Type application/json
    Ocp-Apim-Subscription-Key YOUR_PRODUCT_SUBSCRIPTION_PRIMARY_KEY
    Authorization YOUR_ACCESS_TOKEN
  7. Postman Header Configured with Access Token
  8. Tap/click "Send"
  9. New Postman Get Request
  10. Review results in Body section of Postman
  11. Postman Get All Apparatus Results

Back to Top