Eventticketclass: list

Requires authorization

Returns a list of all event ticket classes for a given issuer ID.

Request

HTTP request

GET https://www.googleapis.com/walletobjects/v1/eventTicketClass

Parameters

Parameter name Value Description
Required query parameters
issuerId long The ID of the issuer authorized to list classes.
Optional query parameters
maxResults integer Identifies the max number of results returned by a list. All results are returned if maxResults isn't defined.
token string Used to get the next set of results if maxResults is specified, but more than maxResults classes are available in a list. For example, if you have a list of 200 classes and you call list with maxResults set to 20, list will return the first 20 classes and a token. Call list again with maxResults set to 20 and the token to get the next 20 classes.

Authorization

This request requires authorization with the following scope (read more about authentication and authorization).

Scope
https://www.googleapis.com/auth/wallet_object.issuer

Request body

Do not supply a request body with this method.

Response

If successful, this method returns a response body with the following structure:

{
  "pagination": {
    "kind": "walletobjects#pagination",
    "resultsPerPage": integer,
    "nextPageToken": string
  },
  "resources": [
    eventticketclass Resource
  ]
}
Property name Value Description Notes
pagination nested object Nested object containing pagination information.
pagination.kind string Identifies what kind of resource this is. Value: the fixed string "walletobjects#pagination".
pagination.resultsPerPage integer Number of results returned in this page.
pagination.nextPageToken string Page token to send to fetch the next page.
resources[] list

Envoyer des commentaires concernant…

Google Pay for Passes