Upload Codes

Add codes to the database

Authentication

AuthorizationBearer
Bearer authentication of the form `Bearer <token>`, where token is your auth token.

Request

This endpoint expects a set of objects.
denominationintegerRequired
Pack denomination
codesset of stringsRequired

Response

This endpoint returns an object.
inventorymap from strings to integers
New state of the database
acceptedmap from strings to integers
Number of codes that were added to the database
usedset of strings
List of codes that were already in the database
disownedset of strings
List of codes that belong to someone else and cannot be added