Access IDs
GET /api/access-ids
Response
{
data: {
id: number;
ocppIdTag: string;
type: string; // RFID | Vehicle
name: string;
authorizationStatus: string; // Authorized | Revoked
authorizedAt: string; // ISO 8601 format
revokedAt: string | null; // ISO 8601 format or null. Set only if authorizationStatus is Revoked
createdAt: string; // ISO 8601 format
updatedAt: string; // ISO 8601 format
// Only defined if the "type" is a vehicle:
vehicle: {
id: number;
make: string | null;
model: string | null;
name: string;
vin: string | null;
} | null;
}[];
pagination: {
hasNextPage: boolean;
nextPageCursor: string | null;
};
};Example request and response
GET /api/access-ids/{id}
Response
Example request and response
POST /api/access-ids
Request Body
Response
Example request for vehicle and response
Example request for RFID card and response
PATCH /api/access-ids/{id}
Request Body
Response
Example request and response
Last updated