Difference between revisions of "Outlook Tickets Plugin Specs"
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
| Line 32: | Line 32: | ||
  Description => email content  |   Description => email content  | ||
  SentBy => sender email  |   SentBy => sender email  | ||
| + | |||
| + | 3. Build "token" crypt string  | ||
| + |  Use mcrypt_encrypt(MCRYPT_3DES, KEY, DATA, MCRYPT_MODE_CBC, $iv)  | ||
| + |  PHP exemple: http://php.net/manual/en/function.mcrypt-encrypt.php  | ||
== External Interface Requirements ==  | == External Interface Requirements ==  | ||
  Ticket [button] New [radio button] Existing [radio button] Add [button]  |   Ticket [button] New [radio button] Existing [radio button] Add [button]  | ||
Revision as of 07:35, 9 August 2013
Introduction
Description and priority
Action/result
- Create a new ticket based on emails subject and content.
 - Add entire content of the email to an existing ticket.
 
Functional requirements
1. "Ticket" button actions :
Try to find ticket ID on the email's subject Email subject format: RE: [C000078] Idrive Support Ticket Title C000078 = Ticket ID; If Ticket ID is found, check "Existing" radio button. If Ticket ID is not found check "New" radio button.
2. "Add" button actions
A. Add a new ticket Send a POST http request to : http://admincenter.idrive.pro/adm/home/?Module=TicketsAPI&Action=NewTicket&Token=crypt-string; POST parameters: Subject => email subject Description => email content SentBy => sender email
B. Post to existing ticket Send a POST http request to : http://admincenter.idrive.pro/adm/home/?Module=TicketsAPI&Action=EditTicket&Token=crypt-string; TicketID => ticket Id extracted from email subject Description => email content SentBy => sender email
3. Build "token" crypt string
Use mcrypt_encrypt(MCRYPT_3DES, KEY, DATA, MCRYPT_MODE_CBC, $iv) PHP exemple: http://php.net/manual/en/function.mcrypt-encrypt.php
External Interface Requirements
Ticket [button] New [radio button] Existing [radio button] Add [button]