Get Pass Request Meta Data
The Get Pass Request Metadata API accepts start and pageSize as input parameters and returns all pass details like pass type, pass type identifier, and pass expiry date. The PageSize represents the maximum number of passes for which the details are to be returned. If the start is specified, the number of passes that are returned are from start position to pageSize value. For example: if the start is zero and pageSize is five, then six passes from position zero to five are returned.
URL
The HTTP URL for Get Pass Request Meta Data API is:
http://<<host>>:<<port>>/api/v1/pass/meta/<<reqid>>?start=0&pageSize=10
Method
GET
Output Parameters
The following fields are output parameters:
Sample Response
{ "total": 1, "passRequests": [ { "id": 2338359586113193902, "audienceId": 1, "passType": "BOARDING""serialNumber": "3988279136211971088", "passTypeIdentifier": "pass.com.Kony MobileFabric Messaging.pass1", "stopDateStr": "", "passExpiryDateStr": "", "barcodeMsg": "", "barcodeAltMsg": "", "importPass": false } ] }
Response Status
Code | Description |
---|---|
Status 200 | Array of pass requests |
Status 401 | Unauthorized request |
Status 500 | Server failure to process request |