Lot Value API
The Lot Value API provides administrators with a programmatic version of the existing Lot Value Report. Its primary purpose is to retrieve real-time parking lot occupancy, valuation, and capacity data directly from the OPSCOM Controller, allowing organizations to independently ingest this information into their own custom data dashboards or third-party reporting tools.
Setup and Configuration
Before querying the endpoint, administratorsA Tomahawk Support agent must generate an authentication token with the correct structural permissions assigned.
AdminOnce Sidethis Configuration
token - is
- generated
keyHoverforoveryou,SystemitAdministration,willclickbeSecurity,sent securely to you, andselectyou can use this APITokens. Clickin the body of a get request, sent to this endpoint:https://controller.preview.operationscommander.io/api/ Create[YOURTokenCLIENT ID]/v1/permits/lot-valuesbuttonorselectanThis
existingistoken fromhow thelistbody should be formatted toeditreceiveitslotproperties.values in return;Enable{"apiToken": "0d2bef1a-4819-4c6a-b552-1b9e3d936333"}No other information is required in thelotbody,valuesthischeckboxgetwithinrequest will return a list of thepermissionsvaluesmatrixoftoeachauthorize data access for this key.Click theSavebutton to commit the security changes. ID.
lotCopy the generated alphanumeric token string to your clipboard for uselot inyourorderAPIofclient.-
Verify token scopes before deployment.
IfThe API token must be exactly as it appears when it was sent to you by OPSCOM. It is yourdashboardinformation'sintegration suddenly reports authorization failures, navigate back to theAPI Tokenspage to verify that thelot valuescheckbox has not been accidentally disabled.password. -
Match pull frequencies to operational needs.
Because thisThis APIcalculatesshouldreal-timenotlot values and occupancy data directly from active database rows, avoid aggressive polling intervals (such as multiple requests per second)need topreventbeunnecessarypolledprocessingmoreloadthanononceyourantracking Controller. Align API outputs with internal dashboard names.Ensure your custom reporting tools map directly to the system lot string identifiers returned in the payload. If you modify a lot name on theLot Administrationpage, the API will instantly reflect that change in its next data transmission.hour.
Using this Feature
The endpoint mimics the data structure of the standard system report but delivers it as a structured payload for external integration.
Accessing the API
Expected API Responses
A successful request returns a structured JSON payload containing real-time data for all configured parking lots. The output includes individual lot identifiers, total capacities, active permit counts, current vehicle volume calculations, and the monetary value assigned to the spaces.
If an unauthenticated or incorrectly configured key is passed into the request body, the server rejects the connection.
If an incorrect token is provided, or if the token used lacks the explicit lot values permission checkbox validation, the API returns a standard authentication error message and blocks data retrieval.