This method will list the barcodes that are relavent to the batch.
Parameters
appKey
string
A key identifying the application making the call
userKey
string
A key identifying the user making the call
orgID
int
The org of the gate control batch
batchID
int
The id of the gate control batch
Return Values
A list of barcode data structures containing the folowing fields
BatchID
int
BatchID
Barcode
string
Barcode
RedeemedDateTime
datetime
RedeemedDateTime
TicketPrintLogID
long
TicketPrintLogID
Message
string
Message
Errors
ApplicationKeyMissing
1000
Required parameter appkey is missing or invalid
UserCredentialsMissing
1001
Required user credentials are missing or invalid
SecurityInsufficient
1002
User security does not permit access to the requested function
RequiredParameter
1028
Required parameter is missing
Example Request
https://prod1.agileticketing.net/GateControl.svc/xml/DownloadValidBarcodes?appkey={APPKEY}&userkey={USERKEY}&orgid={ORGID}&batchid={BATCHID}
Example XML Response
<ArrayOfValidBarcode xmlns="http://www.agiletix.com/api"> <ValidBarcode> <BatchID>2147483647</BatchID> <Barcode>String content</Barcode> <RedeemedDateTime>1999-05-31T11:20:00</RedeemedDateTime> <TicketPrintLogID>9223372036854775807</TicketPrintLogID> <Message>String content</Message> </ValidBarcode> <ValidBarcode> <BatchID>2147483647</BatchID> <Barcode>String content</Barcode> <RedeemedDateTime>1999-05-31T11:20:00</RedeemedDateTime> <TicketPrintLogID>9223372036854775807</TicketPrintLogID> <Message>String content</Message> </ValidBarcode> </ArrayOfValidBarcode>
Example JSON Response
[{ "BatchID":2147483647, "Barcode":"String content", "RedeemedDateTime":"\/Date(928167600000-0500)\/", "TicketPrintLogID":9223372036854775807, "Message":"String content" }]
Comments