meta data for this page
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tickets [2023/09/14 15:19] – johnny | tickets [2023/12/16 11:15] (current) – [API] wrongecho | ||
---|---|---|---|
Line 8: | Line 8: | ||
* All tickets (from all clients) | * All tickets (from all clients) | ||
- | + | {{: | |
- | {{: | + | |
* Client-specific tickets - accessed via a client' | * Client-specific tickets - accessed via a client' | ||
- | + | {{: | |
- | {{: | + | |
Line 41: | Line 39: | ||
* Scheduled tickets | * Scheduled tickets | ||
- | {{: | + | {{: |
* Invoicing | * Invoicing | ||
- | {{: | + | {{: |
- | * Auto-close tickets | + | * Close - Once a ticket is closed, it cannot be re-opened |
+ | * Auto-close tickets | ||
+ | |||
+ | ==== Email Ticketing ==== | ||
+ | Registered client contacts can create/ | ||
+ | * Configure at: **Settings > Mail**: | ||
+ | * IMAP Host, Port, Encryption | ||
+ | * Ticket from email/ | ||
+ | * Turn on: **Settings > Ticket > Email-to-ticket parsing** | ||
+ | * Add a cron job to run email_parser_cron.php every min | ||
+ | |||
+ | === Notifications === | ||
+ | * Client notifications can be configured to be sent on ticket creation & closure // | ||
+ | * New ticket email notifications can be configured to a email/ | ||
+ | * IN PROGRESS: Agents will be notified when assigned a ticket & when their assigned ticket is replied to / updated | ||
+ | |||
+ | ==== Notes ==== | ||
+ | * Only supports basic authentication (no oAuth) for now - a "nice to have" in the future | ||
+ | * Emails from unregistered contacts without a ticket reference are ignored (unless the from domain matches a domain registered in ITFlow) | ||
+ | ==== API ==== | ||
+ | / | ||
+ | |||
+ | **Read - Retrieve ticket information (/read.php) (GET)** | ||
+ | * **Default / No params - Returns all tickets** | ||
+ | * ticket_id - Specific ticket ID from the ITFlow database (may, but usually shouldn' | ||
+ | |||
+ | < | ||
+ | |||
+ | Invoke-RestMethod -Uri " | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | |||
+ | [...] | ||
+ | |||
+ | </ | ||
+ |