WS_Reports
Web Service that allows users to access reports
The following operations are supported. For a formal definition, please review the Service Description.
-
GenerateTicketStream
Generates the PDF for a selected ticket and returns it as a byte array. Company Code [2 characters] Customer Number [10 digits, unpadded] The Ticket ID numberReturns a byte array containing the PDF data -
GetInvoiceReport
Generates the PDF for a selected invoice and returns it as a byte array. Company Code [2 characters] Customer Number [10 digits, unpadded] Site Number [4 digits, unpadded, Use '0' if Customer is Consolidated] The Invoice NumberReturns a byte array containing the PDF data -
GetStatementReport
Generates the PDF for a selected statement date and returns it as a byte array. Company Code [2 characters] Customer Number [10 digits, unpadded] Site Number [4 digits, unpadded, Use '0' if Customer is Consolidated] Statement Date [ShortDateString] HaulIT/WeightIT/MaintainIT (ex. 101) [string]Returns a byte array containing the PDF data -
generateInvoicePDF
Generates the PDF for a selected invoice and saves it to disk. Company Code [2 characters] User ID [10 characters unpadded] Customer Number [10 digits, unpadded] HttpContext.Current.Request.PhysicalApplicationPath of the web server The Invoice ID numberReturns the date directory and the file name of the generated PDF