Skip to content

alirezakohandani/ticketingLaravelModule

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Ticketing Module

How the ticketing module works is described below: 1- Guest users can send a support ticket, receive a tracking code and register.

http://test.com/api/v1/tickets

method => POST

Parameters Descriptions
email email type
type enum('immediate', 'normal', 'nonsignificant')
title title ticket
description description ticket

2- Users can log in and track their tickets.

http://test.com/api/v1/tickets

method => GET

3- Guest users can see the status of their ticket by sending a ref_number.

http://test.com/api/v1/tickets/{ref_number}

method => GET

4- Login and receive jwt token

http://test.com/api/v1/auth/login

method => POST

Parameters Descriptions
email user email
password user password

5- Admins who are permission to give ticket answers:

method => Put

Parameters Descriptions
ref_number ticket ref_number
type enum('immediate', 'normal', 'nonsignificant')
Parameters Descriptions
title reply title
description description
  • In addition, a notification email will be sent to these admins when they submit a new ticket

6- Admins permissioned to close tickets:

Parameter Description
status ticket status

Features

  • Artisan command to create the desired number of dummy tickets and message for tickets with random and different statuses for the software demo
php artisan ticket:create {numberOfTickets} {numberOfMessages}
  • Artisan command for unanswered tickets from the user for one day.
php artisan ticket:finish
  • Automatic closing of tickets left unanswered by the user. (Daily)
php artisan schedule:work

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published