Skip to content

Saumya999/Golden-Office

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Golden-Office

Customer Care Management

POST Create Case API :

Endpoint: '/case/createCase'

Payload

{ "caseType": "Regular", "caseShortDescription": "Short Description Second", "caseLongDescription": "Long Description Second", "caseImportance" : "Critical", "customerEmail":"[email protected]" }

Post create Customer:

Endpoint: '/customer/create'

Paylaod

{ "firstName":"Saumya", "lastName":"Sarkar", "email":"[email protected]", "caseList":[], "ticketList":[], "password":"Martini" }

Post login Customer :

Endpoint: '/customer/login'

Payload

{ "email":"[email protected]", "password":"Martini" }

GET get all customer API :

Endpoint: '/customer/allCustomer'

GET get all case API:

Endpoint: '/case/allCases'

GET get developers under any certain manager:

Endpoint: '/employee/getMyDeveloper/{managerID}'

GET get all Developers:

Endpoint:'/employee/getAllDevelopers'

GET get all managers:

Endpoint:'/employee/getAllManagers'

POST assign a manager to a developer:

Endpoint:'/employee/assignManager/{managerId}'

Payload

{ "id": "Developer_2682020123227", "firstName":"Dev6", "lastName":"Dev6", "email":"[email protected]", "role":"Developer" }

POST create Team/WorkGroup with ManagerId:

Endpoint:'/workGroup/createTeam'

Payload

{ "groupName":"Team-Durga", "groupDefinition":"UI-UX Design Team", "managerId":"Manager_2582020104920", "ticketIds": [] }