forked from admin/services_core
Ubah dari Swagger ke Dedoc lalu buat API Ticket dan TicketType
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
info:
|
||||
name: Add Tickets
|
||||
type: http
|
||||
seq: 2
|
||||
|
||||
http:
|
||||
method: POST
|
||||
url: http://127.0.0.1:8000/api/tickets
|
||||
body:
|
||||
type: json
|
||||
data: |-
|
||||
{
|
||||
"user_id": 1,
|
||||
"ticket_type_id": 1,
|
||||
"customer_id": 133,
|
||||
"title": "Lampu PON modem merah",
|
||||
"description": "Pelanggan mengeluhkan internet lambat",
|
||||
"priority": "high"
|
||||
}
|
||||
auth:
|
||||
type: bearer
|
||||
token: ll4X9vVjWRRDGbGQyrzcAhWVHmlEbpmQ7odklBCh7423957d
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
Reference in New Issue
Block a user