TrieOH
UniventsAPIBadges

Get badge print data

Returns the print payload for the edition's active emissions (all by default, or a specific set via emission_ids): the design plus the variables resolved from Univents' own data (event and edition names, ticket name, action URL). Holder names are derived by the front from IdentityX profiles. The actor must be an owner or admin of the event.

GET/editions/{edition_id}/badges/print

Returns the print payload for the edition's active emissions (all by default, or a specific set via emission_ids): the design plus the variables resolved from Univents' own data (event and edition names, ticket name, action URL). Holder names are derived by the front from IdentityX profiles. The actor must be an owner or admin of the event.

Authorization

bearerAuth
AuthorizationBearer <token>

JWT issued by IdentityX, signed with Ed25519

In: header

Path Parameters

edition_id*string

Edition ID.

Query Parameters

emission_ids?array<>

Optional emission IDs to print; defaults to all active.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/editions/497f6eca-6276-4993-bfeb-53cbbbba6f08/badges/print"
{
  "code": 0,
  "message": "string",
  "error": {
    "code": "BAD_REQUEST",
    "message": "string",
    "fields": [
      {
        "field": "string",
        "message": "string"
      }
    ],
    "meta": {},
    "debug": {
      "raw_error": "string",
      "stack_trace": "string"
    }
  },
  "pagination": {
    "page": 1,
    "limit": 1,
    "total": 0,
    "has_next": true,
    "has_prev": true,
    "next_page": 0,
    "prev_page": 0
  },
  "timestamp": "2019-08-24T14:15:22Z",
  "module": "string",
  "data": [
    {
      "emission_id": "6b96b6a6-9bd0-4ba4-bc02-1ebc41aba997",
      "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
      "origin": "participant",
      "event_name": "string",
      "edition_name": "string",
      "ticket_name": "string",
      "template_id": "c6d67e98-83ea-49f0-8812-e4abae2b68bc",
      "template_name": "string",
      "design_data": {},
      "action_url": "string"
    }
  ]
}
{
  "code": 0,
  "message": "string",
  "error": {
    "code": "BAD_REQUEST",
    "message": "string",
    "fields": [
      {
        "field": "string",
        "message": "string"
      }
    ],
    "meta": {},
    "debug": {
      "raw_error": "string",
      "stack_trace": "string"
    }
  },
  "timestamp": "2019-08-24T14:15:22Z",
  "module": "string"
}
{
  "code": 0,
  "message": "string",
  "error": {
    "code": "BAD_REQUEST",
    "message": "string",
    "fields": [
      {
        "field": "string",
        "message": "string"
      }
    ],
    "meta": {},
    "debug": {
      "raw_error": "string",
      "stack_trace": "string"
    }
  },
  "timestamp": "2019-08-24T14:15:22Z",
  "module": "string"
}
{
  "code": 0,
  "message": "string",
  "error": {
    "code": "BAD_REQUEST",
    "message": "string",
    "fields": [
      {
        "field": "string",
        "message": "string"
      }
    ],
    "meta": {},
    "debug": {
      "raw_error": "string",
      "stack_trace": "string"
    }
  },
  "timestamp": "2019-08-24T14:15:22Z",
  "module": "string"
}
{
  "code": 0,
  "message": "string",
  "error": {
    "code": "BAD_REQUEST",
    "message": "string",
    "fields": [
      {
        "field": "string",
        "message": "string"
      }
    ],
    "meta": {},
    "debug": {
      "raw_error": "string",
      "stack_trace": "string"
    }
  },
  "timestamp": "2019-08-24T14:15:22Z",
  "module": "string"
}