Skip to main content
POST
/
v1
/
scan-history
Add scan history entries
curl --request POST \
  --url http://localhost:3000/v1/scan-history \
  --header 'Content-Type: application/json' \
  --data '
{
  "entries": [
    {
      "id": "<string>",
      "timestamp": "<string>",
      "objectType": "<string>",
      "rawData": "<string>",
      "name": "<string>",
      "lookupCode": "<string>"
    }
  ]
}
'
{
  "success": true,
  "added": 123,
  "error": "<string>",
  "message": "<string>"
}

Body

application/json
entries
object[]
required

Array of scan entries to add (max 100)

Maximum array length: 100

Response

Entries added successfully

success
boolean
required
added
number
error
string
message
string