aliana-kazmi / ticketBookingSystem

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ticket Booking System

A REST API Ticketing System which assigns the incoming tickets to persons based on the Round Robin principle. Ensures that tickets are issued evenly amongst a group. Stores a timestamp based system for implementing round robin

POST /ticket
Parameter Type Description
user_id string Required. The ID of the user who raised the ticket
issue string Required. The description of the issue

Responses

{
  "message" : string,
  "success" : bool,
  "data"    : json
}

The message attribute contains a message commonly used to indicate errors or, in the case of deleting a resource, success that the resource was properly deleted.

The success attribute describes if the transaction was successful or not.

The data attribute contains a nested JSON object in the following format,

{
  "ticket_id" : string,
  "assigned_to" : string,
}

The ticket_id attribute contains the ID generated by the ticketing system.

The assigned_to attribute contains the ID of the user that the ticket has been assigned to by the ticketing system.

About


Languages

Language:Python 98.1%Language:C++ 1.2%Language:C 0.3%Language:PowerShell 0.1%Language:Cython 0.1%Language:JavaScript 0.0%Language:CSS 0.0%Language:Assembly 0.0%Language:Batchfile 0.0%Language:Shell 0.0%