Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 11 Next »

English

Authentifizierung

POST

/api/oauth/token

string grant_type: client_credentials, string client_id, string client_secret


string client_id: administration, string grant_type: password, string scopes: write, string username, string password

https://shopware.stoplight.io/docs/admin-api/ZG9jOjEwODA3NjQx-authentication

JsonResponse { token_type, expires_in, access_token, refresh_token }

Routes

GET

/api/fgits/tickets/api/activate

Sendet Aktivierungs-E-Mail an die E-Mail-Adresse des authentifizierten Benutzers.

JsonResponse { status: OK }

GET

/api/fgits/tickets/api/events

Gibt Informationen über die Ticket-Events (ProductEntity) aus.

JsonResponse { [ { id, name, datetime, createdAt }, ... ], success: true }

GET

/api/fgits/tickets/api/tickets

array event_ids optional, int as bool extended: 0 optional [ab v3.4.6]

Gibt Informationen über Tickets (TicketEntity) aus.

extended: 0

JsonResponse { [ { id, ticketId, createdAt, personalizedFullname, personalizedEmail, personalizedCustomFields, customerFullname, checkInDatetime, active, event_id }, ... ], success: true }

extended: 1

JsonResponse { [ { id, ticketId, createdAt, personalizedFullname, personalizedEmail, personalizedCustomFields, customerFullname, checkInDatetime, active, event_id, event_name, event_datetime }, ... ], success: true }

POST

/api/fgits/tickets/api/tickets

string ticket_id, array event_ids optional, int as bool check_in: 1 optional [ab v3.4.6], int as bool extended: 0 optional [ab v3.4.6]

Gibt Informationen über bestimmtes Ticket (TicketEntity) aus und markiert es als gescannt. Optional kann check_in: 0 eingegeben werden, damit das Ticket nicht als gescannt markiert wird. Wenn Ticket bereits gescannt oder deaktiviert wurde, wird als success false ausgegeben.

extended: 0

JsonResponse { { id, ticketId, createdAt, personalizedFullname, personalizedEmail, personalizedCustomFields, customerFullname, checkInDatetime, active, event_id }, success: true / false }

extended: 1

JsonResponse { { id, ticketId, createdAt, personalizedFullname, personalizedEmail, personalizedCustomFields, customerFullname, checkInDatetime, active, event_id, event_name, event_datetime }, success: true / false }

  • No labels