Endpoint for integrators to push Zone data to

Securityapi_key
Request
Request Body schema: application/json
provider_id
string

The identifier for external providers

Array of objects
Responses
200

Success

400

The Input from the user was malformed

401

Authorization value is missing for the header or the credentials provided are incorrect

403

The account specified does not have the required role(s) to access the resource

404

Attempting to access invalid routes

500

An error occurred on the server. The response body includes details of the specific error

post/zonedata
Request samples
application/json
{
  • "provider_id": "SmartColumbus",
  • "zones": [
    • {
      • "zone_number": "9931010",
      • "latitude": 40.6892,
      • "longitude": 74.0445,
      • "percentage_occupied": 55
      }
    ]
}
Response samples
application/json
{
  • "uuid": "8800b4b4-4ea6-11ea-91fd-302303742060",
  • "message": "Aggregation Raw Data added"
}