Add a card
Adds a card to a location you reach with sensitive access or more, so it charges at the
location’s chargers, or only at those in charger_ids. It counts from the next card check a
charger asks for. An id another card at the location has, in any case, is refused (taken).
Authorizations
Headers
Makes the request safe to retry: a key of your choice, new for each request, such as a UUID. A retry with the same key, method, path and body within 24 hours gets the first answer again, with Idempotent-Replayed: true, and changes nothing. The same key with another request is refused (idempotency-key-reused), and a retry while the first request is still running is a conflict. A request that failed stored nothing, so its retry runs again. Keys are your own: another client, or another person, may use the same key.
1 - 255^[\x21-\x7E]+$Body
A new card.
The id a card shows a charger (OCPP's idTag or idToken), such as 04A2B334A1C380: 1 to 36 characters (the longest an OCPP 2.0.1 charger reads; 20 for OCPP 1.6), with spaces around it removed. The card check compares it ignoring case, so ab12 and AB12 are one card.
1 - 36Response
The card, added
A charge card of a location: a card, or another token such as a phone's, that may charge at the location's chargers.