Link

Listing Incidents for Batch Uploads

Incidents associated with batch uploads may be queried using the existing read incident and find incident MWSD APIs. The optional query parameter batch_ids will return only incidents for the specified batch id(s).

For example, to query the incidents for batch id bazo3aabb123ff the query would have the optional parameter:

...
"batch_ids" : [ "bazo3aabb123ff"],
...

If this batch had three incidents then these would be reported as (using the find API):

{
  "data": [
    {
      "inci_code": "OdmrA",
      "inci_id": "0006266a-f550-0000-0000-01700000376e",
      "inci_ts": "2022-04-25T14:25:25Z",
      "itype_id": "ae64766d-36dd-419b-e62a-826675ec4a0d"
    },
    {
      "inci_code": "fI7GX",
      "inci_id": "0006266a-f550-0000-0000-1d800000ca3a",
      "inci_ts": "2022-04-25T14:25:25Z",
      "itype_id": "a1599bb9-ed24-d2ea-6a50-f624508a7423"
    },
    {
      "inci_code": "8ho3P",
      "inci_id": "0006266a-f550-0000-0000-84000004e23d",
      "inci_ts": "2022-04-25T14:25:25Z",
      "itype_id": "107d4f27-96d8-41ac-3528-9269bbe670da"
    }
  ],
  "error": {
    "code": 200,
    "data": null,
    "message": ""
  },
  "op": "read",
  "softwareRelease": "release-ea72_20220425101422"
}