Check a table of measured values against the cited limits held for one place, in one call

A lab table of up to 200 rows (parameter, value, unit), each answered by check_value itself: its verdicts (over, under, within, not_comparable with a why), counts and says, or its own coded refusal (an unknown parameter, a value below detection such as <0.005, an ambiguous unit). Each held limit is sent once, in limits, and each verdict names it by index (limit): joined, they are check_value's row with its cite; compared keeps the value in the row's unit and whether that conversion is exact. searched.parameters says how each parameter was matched. summary counts the rows over a limit, under a floor (and over none), within every limit compared, with limits none of which compares, and refused by code. max_rows pages each row's verdicts (over first); check_value with offset gives the rest. Use it instead of one call a row: the door allows 30 calls in 10 seconds.

post/check

Request

  • Base URL: https://passage-data.com/api/v1
  • URL: https://passage-data.com/api/v1/check
  • Auth: one of:
    • none
    • HTTP bearer
    • API key in header x-api-key

Request body

placestring required

ISO 3166 code: US, US-OH, CA, CA-QC, DE, FR, IT, EU. One place for the whole table; it also searches every place above it.

medium'water_discharge' | 'surface_water' | 'groundwater' | 'drinking_water' | 'soil' | 'ambient_air' | 'air_emission' | 'sediment' | 'leachate'
statisticstring

daily_max, monthly_avg, instant, composite, ...

max_rowsinteger

Verdicts returned for each row; its counts cover all.

Response

One result a row, in the rows' order, beside the limits they name and a summary; or the call refused once (place.not_held)

queryobject
reads_asstring
packed_asstring
sources_searchedobject[]

When a row is rows.none_held: the instruments searched for this place and medium, once.

refusedobject

Changes

No recorded changes to this operation across all 1 revision of this API.