|
|
Application Programming Interfaces
Many companies searching for a workflow solution have existing applications that they wish to integrate with a workflow solution. WorkTicket.com allows for customers to integrate our portal into existing applications through a rich and full featured API, or Application Programming Interface.
The use of APIs is available for a one time additional fee based on the specific needs of the customer. The specification of our most universal API, which is based on HTTP, is $299. Any application language that has access to the HTTP protocol can use this API to interact with WorkTicket.com.
For example, suppose you want your application to create a Work Ticket after a form is filled out. If your application is in Visual Basic, an easy way to perform this task is to use the XMLHTTP object. Just insert the following code:
Sub StartWorkTicket(in_strCompany, in_strTicketName)
Dim obj, strURL
Set obj = CreateObject("Microsoft.XMLHTTP")
strURL = "http://www.workticket.com/wt/api/create_ticket.asp?COMPANY=" & _
in_strCompany & "&TICKET_NAME=" & in_strTicketName
On Error Resume Next
Call obj.open("GET", strURL, False)
Call obj.send
If Err.Number <> 0 Then
MsgBox "StartWorkTicket:" & strURL & " failed with: '" & _
Err.description & "'"
ElseIf obj.status = 200 Then
Dim result
result = Trim(obj.responseText)
Else
MsgBox "StartWorkTicket: Failed " & strURL & _
" returned " & obj.status
End If
On Error Goto 0
End Sub
WorkTicket.com provides APIs for the following tasks: Creating Work Tickets, Querying Work Tickets, Cancelling Work Tickets, advancing Work Tickets through their stages, and more.
If your company needs to use APIs in the course of building workflow solutions, please contact support@workticket.com to discuss your particular requirements.
|
|
|
|
|