add filter status list antrian, add filter by type id
This commit is contained in:
@@ -34,6 +34,18 @@ const docTemplate = `{
|
||||
"name": "type",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Type id :id kategori, id spesialis, id sub-spesialis",
|
||||
"name": "type_id",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Status : 1, 2, 3, 4",
|
||||
"name": "status",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"default": "10",
|
||||
@@ -343,6 +355,9 @@ const docTemplate = `{
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"jenisKelamin": {
|
||||
"type": "string"
|
||||
},
|
||||
"kategori": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -370,6 +385,9 @@ const docTemplate = `{
|
||||
"spesialis": {
|
||||
"type": "string"
|
||||
},
|
||||
"statusOperasi": {
|
||||
"type": "string"
|
||||
},
|
||||
"subSpesialis": {
|
||||
"type": "string"
|
||||
},
|
||||
|
||||
@@ -28,6 +28,18 @@
|
||||
"name": "type",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Type id :id kategori, id spesialis, id sub-spesialis",
|
||||
"name": "type_id",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Status : 1, 2, 3, 4",
|
||||
"name": "status",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"default": "10",
|
||||
@@ -337,6 +349,9 @@
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"jenisKelamin": {
|
||||
"type": "string"
|
||||
},
|
||||
"kategori": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -364,6 +379,9 @@
|
||||
"spesialis": {
|
||||
"type": "string"
|
||||
},
|
||||
"statusOperasi": {
|
||||
"type": "string"
|
||||
},
|
||||
"subSpesialis": {
|
||||
"type": "string"
|
||||
},
|
||||
|
||||
@@ -68,6 +68,8 @@ definitions:
|
||||
type: string
|
||||
id:
|
||||
type: string
|
||||
jenisKelamin:
|
||||
type: string
|
||||
kategori:
|
||||
type: string
|
||||
kodeDiagnosa:
|
||||
@@ -86,6 +88,8 @@ definitions:
|
||||
type: integer
|
||||
spesialis:
|
||||
type: string
|
||||
statusOperasi:
|
||||
type: string
|
||||
subSpesialis:
|
||||
type: string
|
||||
tglDaftar:
|
||||
@@ -219,6 +223,14 @@ paths:
|
||||
in: query
|
||||
name: type
|
||||
type: string
|
||||
- description: Type id :id kategori, id spesialis, id sub-spesialis
|
||||
in: query
|
||||
name: type_id
|
||||
type: string
|
||||
- description: 'Status : 1, 2, 3, 4'
|
||||
in: query
|
||||
name: status
|
||||
type: string
|
||||
- default: "10"
|
||||
description: Limit
|
||||
in: query
|
||||
|
||||
Reference in New Issue
Block a user