clear tool generete bpjs
This commit is contained in:
212
docs/docs.go
212
docs/docs.go
@@ -702,11 +702,43 @@ const docTemplate = `{
|
||||
},
|
||||
"/peserta/:nokartu": {
|
||||
"get": {
|
||||
"security": [
|
||||
{
|
||||
"ApiKeyAuth": []
|
||||
}
|
||||
],
|
||||
"description": "Get participant eligibility information by card number",
|
||||
"consumes": [
|
||||
"application/json"
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"Peserta"
|
||||
],
|
||||
"summary": "Get PesertaBynokartu data",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Request ID for tracking",
|
||||
"name": "X-Request-ID",
|
||||
"in": "header"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"example": "\"example_value\"",
|
||||
"description": "nokartu",
|
||||
"name": "nokartu",
|
||||
"in": "path",
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "Successfully retrieved PesertaBynokartu data",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/peserta.PesertaResponse"
|
||||
"$ref": "#/definitions/api-service_internal_models_vclaim_peserta.PesertaResponse"
|
||||
}
|
||||
},
|
||||
"400": {
|
||||
@@ -738,11 +770,43 @@ const docTemplate = `{
|
||||
},
|
||||
"/peserta/nik/:nik": {
|
||||
"get": {
|
||||
"security": [
|
||||
{
|
||||
"ApiKeyAuth": []
|
||||
}
|
||||
],
|
||||
"description": "Get participant eligibility information by NIK",
|
||||
"consumes": [
|
||||
"application/json"
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"Peserta"
|
||||
],
|
||||
"summary": "Get PesertaBynik data",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Request ID for tracking",
|
||||
"name": "X-Request-ID",
|
||||
"in": "header"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"example": "\"example_value\"",
|
||||
"description": "nik",
|
||||
"name": "nik",
|
||||
"in": "path",
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "Successfully retrieved PesertaBynik data",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/peserta.PesertaResponse"
|
||||
"$ref": "#/definitions/api-service_internal_models_vclaim_peserta.PesertaResponse"
|
||||
}
|
||||
},
|
||||
"400": {
|
||||
@@ -774,6 +838,22 @@ const docTemplate = `{
|
||||
},
|
||||
"/sep": {
|
||||
"post": {
|
||||
"security": [
|
||||
{
|
||||
"ApiKeyAuth": []
|
||||
}
|
||||
],
|
||||
"description": "Manage SEP (Surat Eligibilitas Peserta)",
|
||||
"consumes": [
|
||||
"application/json"
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"Sep"
|
||||
],
|
||||
"summary": "Create new SepSep",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
@@ -787,7 +867,7 @@ const docTemplate = `{
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"$ref": "#/definitions/sep.SepRequest"
|
||||
"$ref": "#/definitions/api-service_internal_models_vclaim_sep.SepRequest"
|
||||
}
|
||||
}
|
||||
],
|
||||
@@ -795,7 +875,7 @@ const docTemplate = `{
|
||||
"201": {
|
||||
"description": "Successfully created SepSep",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/sep.SepResponse"
|
||||
"$ref": "#/definitions/api-service_internal_models_vclaim_sep.SepResponse"
|
||||
}
|
||||
},
|
||||
"400": {
|
||||
@@ -827,11 +907,43 @@ const docTemplate = `{
|
||||
},
|
||||
"/sep/:nosep": {
|
||||
"get": {
|
||||
"security": [
|
||||
{
|
||||
"ApiKeyAuth": []
|
||||
}
|
||||
],
|
||||
"description": "Manage SEP (Surat Eligibilitas Peserta)",
|
||||
"consumes": [
|
||||
"application/json"
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"Sep"
|
||||
],
|
||||
"summary": "Get SepSep data",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Request ID for tracking",
|
||||
"name": "X-Request-ID",
|
||||
"in": "header"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"example": "\"example_value\"",
|
||||
"description": "nosep",
|
||||
"name": "nosep",
|
||||
"in": "path",
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "Successfully retrieved SepSep data",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/sep.SepResponse"
|
||||
"$ref": "#/definitions/api-service_internal_models_vclaim_sep.SepResponse"
|
||||
}
|
||||
},
|
||||
"400": {
|
||||
@@ -861,14 +973,44 @@ const docTemplate = `{
|
||||
}
|
||||
},
|
||||
"put": {
|
||||
"security": [
|
||||
{
|
||||
"ApiKeyAuth": []
|
||||
}
|
||||
],
|
||||
"description": "Manage SEP (Surat Eligibilitas Peserta)",
|
||||
"consumes": [
|
||||
"application/json"
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"Sep"
|
||||
],
|
||||
"summary": "Update existing SepSep",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Request ID for tracking",
|
||||
"name": "X-Request-ID",
|
||||
"in": "header"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"example": "\"example_value\"",
|
||||
"description": "nosep",
|
||||
"name": "nosep",
|
||||
"in": "path",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"description": "SepSep data",
|
||||
"name": "request",
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"$ref": "#/definitions/sep.SepRequest"
|
||||
"$ref": "#/definitions/api-service_internal_models_vclaim_sep.SepRequest"
|
||||
}
|
||||
}
|
||||
],
|
||||
@@ -876,7 +1018,7 @@ const docTemplate = `{
|
||||
"200": {
|
||||
"description": "Successfully updated SepSep",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/sep.SepResponse"
|
||||
"$ref": "#/definitions/api-service_internal_models_vclaim_sep.SepResponse"
|
||||
}
|
||||
},
|
||||
"400": {
|
||||
@@ -906,11 +1048,43 @@ const docTemplate = `{
|
||||
}
|
||||
},
|
||||
"delete": {
|
||||
"security": [
|
||||
{
|
||||
"ApiKeyAuth": []
|
||||
}
|
||||
],
|
||||
"description": "Manage SEP (Surat Eligibilitas Peserta)",
|
||||
"consumes": [
|
||||
"application/json"
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"Sep"
|
||||
],
|
||||
"summary": "Delete existing SepSep",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Request ID for tracking",
|
||||
"name": "X-Request-ID",
|
||||
"in": "header"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"example": "\"example_value\"",
|
||||
"description": "nosep",
|
||||
"name": "nosep",
|
||||
"in": "path",
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "Successfully deleted SepSep",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/sep.SepResponse"
|
||||
"$ref": "#/definitions/api-service_internal_models_vclaim_sep.SepResponse"
|
||||
}
|
||||
},
|
||||
"400": {
|
||||
@@ -1388,7 +1562,7 @@ const docTemplate = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"peserta.PesertaData": {
|
||||
"api-service_internal_models_vclaim_peserta.PesertaData": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"aktif": {
|
||||
@@ -1476,11 +1650,11 @@ const docTemplate = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"peserta.PesertaResponse": {
|
||||
"api-service_internal_models_vclaim_peserta.PesertaResponse": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"data": {
|
||||
"$ref": "#/definitions/peserta.PesertaData"
|
||||
"$ref": "#/definitions/api-service_internal_models_vclaim_peserta.PesertaData"
|
||||
},
|
||||
"message": {
|
||||
"type": "string"
|
||||
@@ -1497,7 +1671,7 @@ const docTemplate = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"sep.SepData": {
|
||||
"api-service_internal_models_vclaim_sep.SepData": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"catatan": {
|
||||
@@ -1536,20 +1710,20 @@ const docTemplate = `{
|
||||
"type": "string"
|
||||
},
|
||||
"peserta": {
|
||||
"$ref": "#/definitions/peserta.PesertaData"
|
||||
"$ref": "#/definitions/api-service_internal_models_vclaim_peserta.PesertaData"
|
||||
},
|
||||
"poli": {
|
||||
"type": "string"
|
||||
},
|
||||
"rujukan": {
|
||||
"$ref": "#/definitions/sep.SepRujukan"
|
||||
"$ref": "#/definitions/api-service_internal_models_vclaim_sep.SepRujukan"
|
||||
},
|
||||
"tglSep": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"sep.SepRequest": {
|
||||
"api-service_internal_models_vclaim_sep.SepRequest": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"diagnosa",
|
||||
@@ -1603,7 +1777,7 @@ const docTemplate = `{
|
||||
"type": "string"
|
||||
},
|
||||
"rujukan": {
|
||||
"$ref": "#/definitions/sep.SepRujukan"
|
||||
"$ref": "#/definitions/api-service_internal_models_vclaim_sep.SepRujukan"
|
||||
},
|
||||
"tglSep": {
|
||||
"type": "string"
|
||||
@@ -1616,11 +1790,11 @@ const docTemplate = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"sep.SepResponse": {
|
||||
"api-service_internal_models_vclaim_sep.SepResponse": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"data": {
|
||||
"$ref": "#/definitions/sep.SepData"
|
||||
"$ref": "#/definitions/api-service_internal_models_vclaim_sep.SepData"
|
||||
},
|
||||
"message": {
|
||||
"type": "string"
|
||||
@@ -1636,7 +1810,7 @@ const docTemplate = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"sep.SepRujukan": {
|
||||
"api-service_internal_models_vclaim_sep.SepRujukan": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"asalRujukan",
|
||||
|
||||
@@ -699,11 +699,43 @@
|
||||
},
|
||||
"/peserta/:nokartu": {
|
||||
"get": {
|
||||
"security": [
|
||||
{
|
||||
"ApiKeyAuth": []
|
||||
}
|
||||
],
|
||||
"description": "Get participant eligibility information by card number",
|
||||
"consumes": [
|
||||
"application/json"
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"Peserta"
|
||||
],
|
||||
"summary": "Get PesertaBynokartu data",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Request ID for tracking",
|
||||
"name": "X-Request-ID",
|
||||
"in": "header"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"example": "\"example_value\"",
|
||||
"description": "nokartu",
|
||||
"name": "nokartu",
|
||||
"in": "path",
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "Successfully retrieved PesertaBynokartu data",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/peserta.PesertaResponse"
|
||||
"$ref": "#/definitions/api-service_internal_models_vclaim_peserta.PesertaResponse"
|
||||
}
|
||||
},
|
||||
"400": {
|
||||
@@ -735,11 +767,43 @@
|
||||
},
|
||||
"/peserta/nik/:nik": {
|
||||
"get": {
|
||||
"security": [
|
||||
{
|
||||
"ApiKeyAuth": []
|
||||
}
|
||||
],
|
||||
"description": "Get participant eligibility information by NIK",
|
||||
"consumes": [
|
||||
"application/json"
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"Peserta"
|
||||
],
|
||||
"summary": "Get PesertaBynik data",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Request ID for tracking",
|
||||
"name": "X-Request-ID",
|
||||
"in": "header"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"example": "\"example_value\"",
|
||||
"description": "nik",
|
||||
"name": "nik",
|
||||
"in": "path",
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "Successfully retrieved PesertaBynik data",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/peserta.PesertaResponse"
|
||||
"$ref": "#/definitions/api-service_internal_models_vclaim_peserta.PesertaResponse"
|
||||
}
|
||||
},
|
||||
"400": {
|
||||
@@ -771,6 +835,22 @@
|
||||
},
|
||||
"/sep": {
|
||||
"post": {
|
||||
"security": [
|
||||
{
|
||||
"ApiKeyAuth": []
|
||||
}
|
||||
],
|
||||
"description": "Manage SEP (Surat Eligibilitas Peserta)",
|
||||
"consumes": [
|
||||
"application/json"
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"Sep"
|
||||
],
|
||||
"summary": "Create new SepSep",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
@@ -784,7 +864,7 @@
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"$ref": "#/definitions/sep.SepRequest"
|
||||
"$ref": "#/definitions/api-service_internal_models_vclaim_sep.SepRequest"
|
||||
}
|
||||
}
|
||||
],
|
||||
@@ -792,7 +872,7 @@
|
||||
"201": {
|
||||
"description": "Successfully created SepSep",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/sep.SepResponse"
|
||||
"$ref": "#/definitions/api-service_internal_models_vclaim_sep.SepResponse"
|
||||
}
|
||||
},
|
||||
"400": {
|
||||
@@ -824,11 +904,43 @@
|
||||
},
|
||||
"/sep/:nosep": {
|
||||
"get": {
|
||||
"security": [
|
||||
{
|
||||
"ApiKeyAuth": []
|
||||
}
|
||||
],
|
||||
"description": "Manage SEP (Surat Eligibilitas Peserta)",
|
||||
"consumes": [
|
||||
"application/json"
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"Sep"
|
||||
],
|
||||
"summary": "Get SepSep data",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Request ID for tracking",
|
||||
"name": "X-Request-ID",
|
||||
"in": "header"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"example": "\"example_value\"",
|
||||
"description": "nosep",
|
||||
"name": "nosep",
|
||||
"in": "path",
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "Successfully retrieved SepSep data",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/sep.SepResponse"
|
||||
"$ref": "#/definitions/api-service_internal_models_vclaim_sep.SepResponse"
|
||||
}
|
||||
},
|
||||
"400": {
|
||||
@@ -858,14 +970,44 @@
|
||||
}
|
||||
},
|
||||
"put": {
|
||||
"security": [
|
||||
{
|
||||
"ApiKeyAuth": []
|
||||
}
|
||||
],
|
||||
"description": "Manage SEP (Surat Eligibilitas Peserta)",
|
||||
"consumes": [
|
||||
"application/json"
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"Sep"
|
||||
],
|
||||
"summary": "Update existing SepSep",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Request ID for tracking",
|
||||
"name": "X-Request-ID",
|
||||
"in": "header"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"example": "\"example_value\"",
|
||||
"description": "nosep",
|
||||
"name": "nosep",
|
||||
"in": "path",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"description": "SepSep data",
|
||||
"name": "request",
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"$ref": "#/definitions/sep.SepRequest"
|
||||
"$ref": "#/definitions/api-service_internal_models_vclaim_sep.SepRequest"
|
||||
}
|
||||
}
|
||||
],
|
||||
@@ -873,7 +1015,7 @@
|
||||
"200": {
|
||||
"description": "Successfully updated SepSep",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/sep.SepResponse"
|
||||
"$ref": "#/definitions/api-service_internal_models_vclaim_sep.SepResponse"
|
||||
}
|
||||
},
|
||||
"400": {
|
||||
@@ -903,11 +1045,43 @@
|
||||
}
|
||||
},
|
||||
"delete": {
|
||||
"security": [
|
||||
{
|
||||
"ApiKeyAuth": []
|
||||
}
|
||||
],
|
||||
"description": "Manage SEP (Surat Eligibilitas Peserta)",
|
||||
"consumes": [
|
||||
"application/json"
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"Sep"
|
||||
],
|
||||
"summary": "Delete existing SepSep",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Request ID for tracking",
|
||||
"name": "X-Request-ID",
|
||||
"in": "header"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"example": "\"example_value\"",
|
||||
"description": "nosep",
|
||||
"name": "nosep",
|
||||
"in": "path",
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "Successfully deleted SepSep",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/sep.SepResponse"
|
||||
"$ref": "#/definitions/api-service_internal_models_vclaim_sep.SepResponse"
|
||||
}
|
||||
},
|
||||
"400": {
|
||||
@@ -1385,7 +1559,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"peserta.PesertaData": {
|
||||
"api-service_internal_models_vclaim_peserta.PesertaData": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"aktif": {
|
||||
@@ -1473,11 +1647,11 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"peserta.PesertaResponse": {
|
||||
"api-service_internal_models_vclaim_peserta.PesertaResponse": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"data": {
|
||||
"$ref": "#/definitions/peserta.PesertaData"
|
||||
"$ref": "#/definitions/api-service_internal_models_vclaim_peserta.PesertaData"
|
||||
},
|
||||
"message": {
|
||||
"type": "string"
|
||||
@@ -1494,7 +1668,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"sep.SepData": {
|
||||
"api-service_internal_models_vclaim_sep.SepData": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"catatan": {
|
||||
@@ -1533,20 +1707,20 @@
|
||||
"type": "string"
|
||||
},
|
||||
"peserta": {
|
||||
"$ref": "#/definitions/peserta.PesertaData"
|
||||
"$ref": "#/definitions/api-service_internal_models_vclaim_peserta.PesertaData"
|
||||
},
|
||||
"poli": {
|
||||
"type": "string"
|
||||
},
|
||||
"rujukan": {
|
||||
"$ref": "#/definitions/sep.SepRujukan"
|
||||
"$ref": "#/definitions/api-service_internal_models_vclaim_sep.SepRujukan"
|
||||
},
|
||||
"tglSep": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"sep.SepRequest": {
|
||||
"api-service_internal_models_vclaim_sep.SepRequest": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"diagnosa",
|
||||
@@ -1600,7 +1774,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"rujukan": {
|
||||
"$ref": "#/definitions/sep.SepRujukan"
|
||||
"$ref": "#/definitions/api-service_internal_models_vclaim_sep.SepRujukan"
|
||||
},
|
||||
"tglSep": {
|
||||
"type": "string"
|
||||
@@ -1613,11 +1787,11 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"sep.SepResponse": {
|
||||
"api-service_internal_models_vclaim_sep.SepResponse": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"data": {
|
||||
"$ref": "#/definitions/sep.SepData"
|
||||
"$ref": "#/definitions/api-service_internal_models_vclaim_sep.SepData"
|
||||
},
|
||||
"message": {
|
||||
"type": "string"
|
||||
@@ -1633,7 +1807,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"sep.SepRujukan": {
|
||||
"api-service_internal_models_vclaim_sep.SepRujukan": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"asalRujukan",
|
||||
|
||||
@@ -306,7 +306,7 @@ definitions:
|
||||
message:
|
||||
type: string
|
||||
type: object
|
||||
peserta.PesertaData:
|
||||
api-service_internal_models_vclaim_peserta.PesertaData:
|
||||
properties:
|
||||
aktif:
|
||||
type: string
|
||||
@@ -364,10 +364,10 @@ definitions:
|
||||
tglTunggak:
|
||||
type: string
|
||||
type: object
|
||||
peserta.PesertaResponse:
|
||||
api-service_internal_models_vclaim_peserta.PesertaResponse:
|
||||
properties:
|
||||
data:
|
||||
$ref: '#/definitions/peserta.PesertaData'
|
||||
$ref: '#/definitions/api-service_internal_models_vclaim_peserta.PesertaData'
|
||||
message:
|
||||
type: string
|
||||
metaData: {}
|
||||
@@ -378,7 +378,7 @@ definitions:
|
||||
timestamp:
|
||||
type: string
|
||||
type: object
|
||||
sep.SepData:
|
||||
api-service_internal_models_vclaim_sep.SepData:
|
||||
properties:
|
||||
catatan:
|
||||
type: string
|
||||
@@ -404,15 +404,15 @@ definitions:
|
||||
noSep:
|
||||
type: string
|
||||
peserta:
|
||||
$ref: '#/definitions/peserta.PesertaData'
|
||||
$ref: '#/definitions/api-service_internal_models_vclaim_peserta.PesertaData'
|
||||
poli:
|
||||
type: string
|
||||
rujukan:
|
||||
$ref: '#/definitions/sep.SepRujukan'
|
||||
$ref: '#/definitions/api-service_internal_models_vclaim_sep.SepRujukan'
|
||||
tglSep:
|
||||
type: string
|
||||
type: object
|
||||
sep.SepRequest:
|
||||
api-service_internal_models_vclaim_sep.SepRequest:
|
||||
properties:
|
||||
catatan:
|
||||
type: string
|
||||
@@ -442,7 +442,7 @@ definitions:
|
||||
request_id:
|
||||
type: string
|
||||
rujukan:
|
||||
$ref: '#/definitions/sep.SepRujukan'
|
||||
$ref: '#/definitions/api-service_internal_models_vclaim_sep.SepRujukan'
|
||||
tglSep:
|
||||
type: string
|
||||
timestamp:
|
||||
@@ -460,10 +460,10 @@ definitions:
|
||||
- tglSep
|
||||
- user
|
||||
type: object
|
||||
sep.SepResponse:
|
||||
api-service_internal_models_vclaim_sep.SepResponse:
|
||||
properties:
|
||||
data:
|
||||
$ref: '#/definitions/sep.SepData'
|
||||
$ref: '#/definitions/api-service_internal_models_vclaim_sep.SepData'
|
||||
message:
|
||||
type: string
|
||||
request_id:
|
||||
@@ -473,7 +473,7 @@ definitions:
|
||||
timestamp:
|
||||
type: string
|
||||
type: object
|
||||
sep.SepRujukan:
|
||||
api-service_internal_models_vclaim_sep.SepRujukan:
|
||||
properties:
|
||||
asalRujukan:
|
||||
enum:
|
||||
@@ -969,11 +969,27 @@ paths:
|
||||
- Token
|
||||
/peserta/:nokartu:
|
||||
get:
|
||||
consumes:
|
||||
- application/json
|
||||
description: Get participant eligibility information by card number
|
||||
parameters:
|
||||
- description: Request ID for tracking
|
||||
in: header
|
||||
name: X-Request-ID
|
||||
type: string
|
||||
- description: nokartu
|
||||
example: '"example_value"'
|
||||
in: path
|
||||
name: nokartu
|
||||
required: true
|
||||
type: string
|
||||
produces:
|
||||
- application/json
|
||||
responses:
|
||||
"200":
|
||||
description: Successfully retrieved PesertaBynokartu data
|
||||
schema:
|
||||
$ref: '#/definitions/peserta.PesertaResponse'
|
||||
$ref: '#/definitions/api-service_internal_models_vclaim_peserta.PesertaResponse'
|
||||
"400":
|
||||
description: Bad request - invalid parameters
|
||||
schema:
|
||||
@@ -990,13 +1006,34 @@ paths:
|
||||
description: Internal server error
|
||||
schema:
|
||||
$ref: '#/definitions/api-service_internal_models.ErrorResponseBpjs'
|
||||
security:
|
||||
- ApiKeyAuth: []
|
||||
summary: Get PesertaBynokartu data
|
||||
tags:
|
||||
- Peserta
|
||||
/peserta/nik/:nik:
|
||||
get:
|
||||
consumes:
|
||||
- application/json
|
||||
description: Get participant eligibility information by NIK
|
||||
parameters:
|
||||
- description: Request ID for tracking
|
||||
in: header
|
||||
name: X-Request-ID
|
||||
type: string
|
||||
- description: nik
|
||||
example: '"example_value"'
|
||||
in: path
|
||||
name: nik
|
||||
required: true
|
||||
type: string
|
||||
produces:
|
||||
- application/json
|
||||
responses:
|
||||
"200":
|
||||
description: Successfully retrieved PesertaBynik data
|
||||
schema:
|
||||
$ref: '#/definitions/peserta.PesertaResponse'
|
||||
$ref: '#/definitions/api-service_internal_models_vclaim_peserta.PesertaResponse'
|
||||
"400":
|
||||
description: Bad request - invalid parameters
|
||||
schema:
|
||||
@@ -1013,8 +1050,16 @@ paths:
|
||||
description: Internal server error
|
||||
schema:
|
||||
$ref: '#/definitions/api-service_internal_models.ErrorResponseBpjs'
|
||||
security:
|
||||
- ApiKeyAuth: []
|
||||
summary: Get PesertaBynik data
|
||||
tags:
|
||||
- Peserta
|
||||
/sep:
|
||||
post:
|
||||
consumes:
|
||||
- application/json
|
||||
description: Manage SEP (Surat Eligibilitas Peserta)
|
||||
parameters:
|
||||
- description: Request ID for tracking
|
||||
in: header
|
||||
@@ -1025,12 +1070,14 @@ paths:
|
||||
name: request
|
||||
required: true
|
||||
schema:
|
||||
$ref: '#/definitions/sep.SepRequest'
|
||||
$ref: '#/definitions/api-service_internal_models_vclaim_sep.SepRequest'
|
||||
produces:
|
||||
- application/json
|
||||
responses:
|
||||
"201":
|
||||
description: Successfully created SepSep
|
||||
schema:
|
||||
$ref: '#/definitions/sep.SepResponse'
|
||||
$ref: '#/definitions/api-service_internal_models_vclaim_sep.SepResponse'
|
||||
"400":
|
||||
description: Bad request - invalid request body or validation error
|
||||
schema:
|
||||
@@ -1047,13 +1094,34 @@ paths:
|
||||
description: Internal server error
|
||||
schema:
|
||||
$ref: '#/definitions/api-service_internal_models.ErrorResponseBpjs'
|
||||
security:
|
||||
- ApiKeyAuth: []
|
||||
summary: Create new SepSep
|
||||
tags:
|
||||
- Sep
|
||||
/sep/:nosep:
|
||||
delete:
|
||||
consumes:
|
||||
- application/json
|
||||
description: Manage SEP (Surat Eligibilitas Peserta)
|
||||
parameters:
|
||||
- description: Request ID for tracking
|
||||
in: header
|
||||
name: X-Request-ID
|
||||
type: string
|
||||
- description: nosep
|
||||
example: '"example_value"'
|
||||
in: path
|
||||
name: nosep
|
||||
required: true
|
||||
type: string
|
||||
produces:
|
||||
- application/json
|
||||
responses:
|
||||
"200":
|
||||
description: Successfully deleted SepSep
|
||||
schema:
|
||||
$ref: '#/definitions/sep.SepResponse'
|
||||
$ref: '#/definitions/api-service_internal_models_vclaim_sep.SepResponse'
|
||||
"400":
|
||||
description: Bad request - invalid parameters
|
||||
schema:
|
||||
@@ -1070,12 +1138,33 @@ paths:
|
||||
description: Internal server error
|
||||
schema:
|
||||
$ref: '#/definitions/api-service_internal_models.ErrorResponseBpjs'
|
||||
security:
|
||||
- ApiKeyAuth: []
|
||||
summary: Delete existing SepSep
|
||||
tags:
|
||||
- Sep
|
||||
get:
|
||||
consumes:
|
||||
- application/json
|
||||
description: Manage SEP (Surat Eligibilitas Peserta)
|
||||
parameters:
|
||||
- description: Request ID for tracking
|
||||
in: header
|
||||
name: X-Request-ID
|
||||
type: string
|
||||
- description: nosep
|
||||
example: '"example_value"'
|
||||
in: path
|
||||
name: nosep
|
||||
required: true
|
||||
type: string
|
||||
produces:
|
||||
- application/json
|
||||
responses:
|
||||
"200":
|
||||
description: Successfully retrieved SepSep data
|
||||
schema:
|
||||
$ref: '#/definitions/sep.SepResponse'
|
||||
$ref: '#/definitions/api-service_internal_models_vclaim_sep.SepResponse'
|
||||
"400":
|
||||
description: Bad request - invalid parameters
|
||||
schema:
|
||||
@@ -1092,19 +1181,39 @@ paths:
|
||||
description: Internal server error
|
||||
schema:
|
||||
$ref: '#/definitions/api-service_internal_models.ErrorResponseBpjs'
|
||||
security:
|
||||
- ApiKeyAuth: []
|
||||
summary: Get SepSep data
|
||||
tags:
|
||||
- Sep
|
||||
put:
|
||||
consumes:
|
||||
- application/json
|
||||
description: Manage SEP (Surat Eligibilitas Peserta)
|
||||
parameters:
|
||||
- description: Request ID for tracking
|
||||
in: header
|
||||
name: X-Request-ID
|
||||
type: string
|
||||
- description: nosep
|
||||
example: '"example_value"'
|
||||
in: path
|
||||
name: nosep
|
||||
required: true
|
||||
type: string
|
||||
- description: SepSep data
|
||||
in: body
|
||||
name: request
|
||||
required: true
|
||||
schema:
|
||||
$ref: '#/definitions/sep.SepRequest'
|
||||
$ref: '#/definitions/api-service_internal_models_vclaim_sep.SepRequest'
|
||||
produces:
|
||||
- application/json
|
||||
responses:
|
||||
"200":
|
||||
description: Successfully updated SepSep
|
||||
schema:
|
||||
$ref: '#/definitions/sep.SepResponse'
|
||||
$ref: '#/definitions/api-service_internal_models_vclaim_sep.SepResponse'
|
||||
"400":
|
||||
description: Bad request - invalid parameters or request body
|
||||
schema:
|
||||
@@ -1121,6 +1230,11 @@ paths:
|
||||
description: Internal server error
|
||||
schema:
|
||||
$ref: '#/definitions/api-service_internal_models.ErrorResponseBpjs'
|
||||
security:
|
||||
- ApiKeyAuth: []
|
||||
summary: Update existing SepSep
|
||||
tags:
|
||||
- Sep
|
||||
schemes:
|
||||
- http
|
||||
- https
|
||||
|
||||
Reference in New Issue
Block a user