AIM Web Services

<back to all web services

PrintDeliveryTicketRequest

PrintDeliveryTicket
Requires active-e Customer Service

The following routes are available for this service:
GET/api/PrintDeliveryTicket
PrintDeliveryTicketRequest Parameters:
NameParameterData TypeRequiredDescription
RefquerystringNo
OutputTypequerystringNoCan be STREAM, PRINT, or EMAIL. Defaults to STREAM
OutputWorkstationqueryint?NoOnly applies to OutputTypes of PRINT and EMAIL. The listening workstation to handle the request.
OutputToquerystringNoOnly applies to OutputType of EMAIL. The email address to send to.
CustomerAcctqueryint?NoOnly applies to employee logins. Customer account of the delivery ticket.
BaseSecureRequest Parameters:
NameParameterData TypeRequiredDescription
TokenHeaderstringNo
DeviceIdHeaderstringNo
AppIdHeaderstringYes
BaseRequest Parameters:
NameParameterData TypeRequiredDescription
ApiKeyheaderstringYesThis is your AIM API Key provided by Tri-Tech
OAuthTokenheaderstringNo
PrintDeliveryTicketResponse Parameters:
NameParameterData TypeRequiredDescription
PdfStreamformstringNo
EmailSubjectformstringNo
EmailBodyformstringNo
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
StatusbodyBaseResponseResultNo
BaseResponseResult Parameters:
NameParameterData TypeRequiredDescription
StatusCodebodystringNo
LoginbodystringNo
ErrorCodebodystringNo
ErrorDisplayTextbodystringNo
ErrorMessagebodystringNo
DomainNamebodystringNo
IpAddressbodystringNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /api/PrintDeliveryTicket HTTP/1.1 
Host: active-ewebservice.biz 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"PdfStream":"String","EmailSubject":"String","EmailBody":"String","Status":{"StatusCode":"String","Login":"String","ErrorCode":"String","ErrorDisplayText":"String","ErrorMessage":"String","DomainName":"String","IpAddress":"String"}}