Bulk create keycards
POST
/api/keycards/bulk/create
Create up to 100 keycards at once. Duplicates (both from the request and already in the database)
- will thwart the entire operation, and a list of the duplicates will be returned in a 400 message. Optionally
- a binding can be provided that will be applied to each keycard.
Request Body required
Responses
200
Response for status ok
object
success
required
boolean
400
Response for status badRequest
object
success
required
boolean
message
required
string
duplicateIds
Array<string>
403
Response for status forbidden
object
success
required
boolean
message
required
string
404
Response for status notFound
object
success
required
boolean
message
required
string
500
Response for status internalServerError
object
success
required
boolean
message
required
string