Zum Inhalt springen

Um tipo de ingresso (também o que só vende pelo link)

GET/api/events/{id}/ticket-types/{typeId}

Auth
Token erforderlich
API-Schlüssel:
events:read
X-CommunityId
X-CommunityId Sende die X-CommunityId der Community, in der die Operation stattfindet.
Die Beschreibungen der Endpoints stammen aus der API-Spezifikation und sind vorerst auf Portugiesisch. Die Oberfläche drumherum ist übersetzt.

Quem pode ver o evento lê um tipo publicado, visível ou não na página (o link do convite VIP). Rascunho, inativo ou de outro evento: 404 (a equipe lê todos).

Parameter

NameOrtTypBeschreibung
idPflichtpathstring (uuid)
typeIdPflichtpathstring (uuid)

Header

NameTypBeschreibung
X-CommunityIdoptionalstring (uuid)ID da comunidade em que a operação acontece. Obrigatório na maioria dos endpoints com escopo de comunidade.

Antworten

StatusBeschreibung
200O tipo.
403Autenticado, mas sem permissão para esta operação.
404Recurso não encontrado.
500Erro interno do servidor.

curl-Beispiel

curl -X GET "https://api.memberfy.net/api/events/<id>/ticket-types/<typeId>" \
  -H "Authorization: Bearer $TOKEN" \
  -H "X-CommunityId: $COMMUNITY_ID"