Report and Activity
POST /udl/hazard
Changed onService operation to take a single hazard as a POST body and ingest into the database. This operation is not intended to be used for automated feeds into UDL. Data providers should contact the UDL team for specific role assignments and for instructions on setting up a permanent feed through an alternate mechanism.
Request
- Base URLhttps://unifieddatalibrary.com
- URLhttps://unifieddatalibrary.com/udl/hazard
- Authnone declared
Request body
Example request
{
"id": "HAZARD-ID",
"classificationMarking": "U",
"detectType": "Chemical",
"detectTime": "2022-03-07T14:51:39.653Z",
"alarms": [
"Alarm1",
"Alarm2"
],
"alarmValues": [
2.7,
2.9
],
"readings": [
"Rad1",
"Rad2"
],
"readingUnits": [
"Gray",
"Gray"
],
"readingValues": [
107.2,
124.1
],
"matType": "21",
"matClass": "Nerve Agent",
"matName": "VX",
"matCat": 3,
"casRN": "64-17-5",
"ppm": 27129,
"density": 18900.2,
"radCtrn": 1.31,
"gBar": 2.5,
"hBar": 3.1,
"z": 92,
"a": 238,
"bottleId": "6264",
"channel": "Skin",
"duration": 14400,
"activity": 120.1,
"dep": 1.084,
"depCtrn": 86.1,
"massFrac": 0.029,
"dose": 1.12,
"ctrnTime": 1.077,
"doseRate": 1.0000001865,
"idPOI": "POI-ID",
"idTrack": "TRACK-ID",
"createdAt": "2018-01-01T16:00:00.123Z",
"createdBy": "some.user",
"source": "Bluestaq",
"origin": "THIRD_PARTY_DATASOURCE",
"origNetwork": "OPS1",
"dataMode": "TEST"
}Response
Success
Changes
- breaking
request body became required
- info
api operation id
create_52removed and replaced with - info
the endpoint scheme security
BasicAuthwas removed from the API
- breaking
Some revisions have not been checked yet.