POST_swordfish_lock_audit

POST /swordfish/lock/audit

Posts audits to the specified device.

Authentication

Authentication as defined in Device (210 Mode) and MT20W Authentication section.

URI Parameters

  • None

Request

Body

  • Type: application/json
  • Example:

    { asyncEvents: [ {"event" : 11111111,"time" : 20051013130309}, {"event" : 21121231,"time" : 
    20051013130325} ], "nxtDbVerTS" : "0x8d1a1399bddb51d" }
    

Response

  • HTTP status code 201
    • Created Audits posted successfully
  • HTTP status code 400
    • Bad Request Something went wrong while posting audits
  • HTTP status code 401
    • Unauthorized Credentials were not provided or are invalid
  • HTTP status code 404
    • Not found Lock, for which audits are to post, not found