Perbaikan Lanjutan
This commit is contained in:
@@ -38,6 +38,20 @@ definitions:
|
||||
timestamp:
|
||||
type: string
|
||||
type: object
|
||||
api-service_internal_models.ErrorResponseBpjs:
|
||||
properties:
|
||||
code:
|
||||
type: string
|
||||
errors:
|
||||
additionalProperties: true
|
||||
type: object
|
||||
message:
|
||||
type: string
|
||||
request_id:
|
||||
type: string
|
||||
status:
|
||||
type: string
|
||||
type: object
|
||||
api-service_internal_models.MetaResponse:
|
||||
properties:
|
||||
current_page:
|
||||
@@ -292,6 +306,192 @@ definitions:
|
||||
message:
|
||||
type: string
|
||||
type: object
|
||||
peserta.PesertaData:
|
||||
properties:
|
||||
aktif:
|
||||
type: string
|
||||
asuransi:
|
||||
type: string
|
||||
cob:
|
||||
type: string
|
||||
kdCabang:
|
||||
type: string
|
||||
kdJnsPst:
|
||||
type: string
|
||||
ketAktif:
|
||||
type: string
|
||||
klsRawat:
|
||||
type: string
|
||||
mr:
|
||||
properties:
|
||||
nmMR:
|
||||
type: string
|
||||
noMR:
|
||||
type: string
|
||||
sex:
|
||||
type: string
|
||||
tglLahir:
|
||||
type: string
|
||||
tglMeninggal:
|
||||
type: string
|
||||
type: object
|
||||
nama:
|
||||
type: string
|
||||
nik:
|
||||
type: string
|
||||
nmCabang:
|
||||
type: string
|
||||
nmJnsPst:
|
||||
type: string
|
||||
noKartu:
|
||||
type: string
|
||||
noKtp:
|
||||
type: string
|
||||
noSKTM:
|
||||
type: string
|
||||
pisa:
|
||||
type: string
|
||||
sex:
|
||||
type: string
|
||||
statusPeserta:
|
||||
type: string
|
||||
tglLahir:
|
||||
type: string
|
||||
tglTAT:
|
||||
type: string
|
||||
tglTMT:
|
||||
type: string
|
||||
tglTunggak:
|
||||
type: string
|
||||
type: object
|
||||
peserta.PesertaResponse:
|
||||
properties:
|
||||
data:
|
||||
$ref: '#/definitions/peserta.PesertaData'
|
||||
message:
|
||||
type: string
|
||||
metaData: {}
|
||||
request_id:
|
||||
type: string
|
||||
status:
|
||||
type: string
|
||||
timestamp:
|
||||
type: string
|
||||
type: object
|
||||
sep.SepData:
|
||||
properties:
|
||||
catatan:
|
||||
type: string
|
||||
diagnosa:
|
||||
type: string
|
||||
informasi:
|
||||
properties:
|
||||
dpjpLayan:
|
||||
type: string
|
||||
noSKDP:
|
||||
type: string
|
||||
noTelp:
|
||||
type: string
|
||||
subSpesialis:
|
||||
type: string
|
||||
type: object
|
||||
jnsPelayanan:
|
||||
type: string
|
||||
klsRawat:
|
||||
type: string
|
||||
noMR:
|
||||
type: string
|
||||
noSep:
|
||||
type: string
|
||||
peserta:
|
||||
$ref: '#/definitions/peserta.PesertaData'
|
||||
poli:
|
||||
type: string
|
||||
rujukan:
|
||||
$ref: '#/definitions/sep.SepRujukan'
|
||||
tglSep:
|
||||
type: string
|
||||
type: object
|
||||
sep.SepRequest:
|
||||
properties:
|
||||
catatan:
|
||||
type: string
|
||||
diagnosa:
|
||||
type: string
|
||||
jnsPelayanan:
|
||||
enum:
|
||||
- "1"
|
||||
- "2"
|
||||
type: string
|
||||
klsRawat:
|
||||
enum:
|
||||
- "1"
|
||||
- "2"
|
||||
- "3"
|
||||
type: string
|
||||
noKartu:
|
||||
type: string
|
||||
noMR:
|
||||
type: string
|
||||
noTelp:
|
||||
type: string
|
||||
poli:
|
||||
type: string
|
||||
ppkPelayanan:
|
||||
type: string
|
||||
request_id:
|
||||
type: string
|
||||
rujukan:
|
||||
$ref: '#/definitions/sep.SepRujukan'
|
||||
tglSep:
|
||||
type: string
|
||||
timestamp:
|
||||
type: string
|
||||
user:
|
||||
type: string
|
||||
required:
|
||||
- diagnosa
|
||||
- jnsPelayanan
|
||||
- klsRawat
|
||||
- noKartu
|
||||
- noMR
|
||||
- poli
|
||||
- ppkPelayanan
|
||||
- tglSep
|
||||
- user
|
||||
type: object
|
||||
sep.SepResponse:
|
||||
properties:
|
||||
data:
|
||||
$ref: '#/definitions/sep.SepData'
|
||||
message:
|
||||
type: string
|
||||
request_id:
|
||||
type: string
|
||||
status:
|
||||
type: string
|
||||
timestamp:
|
||||
type: string
|
||||
type: object
|
||||
sep.SepRujukan:
|
||||
properties:
|
||||
asalRujukan:
|
||||
enum:
|
||||
- "1"
|
||||
- "2"
|
||||
type: string
|
||||
noRujukan:
|
||||
type: string
|
||||
ppkRujukan:
|
||||
type: string
|
||||
tglRujukan:
|
||||
type: string
|
||||
required:
|
||||
- asalRujukan
|
||||
- noRujukan
|
||||
- ppkRujukan
|
||||
- tglRujukan
|
||||
type: object
|
||||
sql.NullString:
|
||||
properties:
|
||||
string:
|
||||
@@ -767,6 +967,160 @@ paths:
|
||||
summary: Generate token directly
|
||||
tags:
|
||||
- Token
|
||||
/peserta/:nokartu:
|
||||
get:
|
||||
responses:
|
||||
"200":
|
||||
description: Successfully retrieved PesertaBynokartu data
|
||||
schema:
|
||||
$ref: '#/definitions/peserta.PesertaResponse'
|
||||
"400":
|
||||
description: Bad request - invalid parameters
|
||||
schema:
|
||||
$ref: '#/definitions/api-service_internal_models.ErrorResponseBpjs'
|
||||
"401":
|
||||
description: Unauthorized - invalid API credentials
|
||||
schema:
|
||||
$ref: '#/definitions/api-service_internal_models.ErrorResponseBpjs'
|
||||
"404":
|
||||
description: Not found - PesertaBynokartu not found
|
||||
schema:
|
||||
$ref: '#/definitions/api-service_internal_models.ErrorResponseBpjs'
|
||||
"500":
|
||||
description: Internal server error
|
||||
schema:
|
||||
$ref: '#/definitions/api-service_internal_models.ErrorResponseBpjs'
|
||||
/peserta/nik/:nik:
|
||||
get:
|
||||
responses:
|
||||
"200":
|
||||
description: Successfully retrieved PesertaBynik data
|
||||
schema:
|
||||
$ref: '#/definitions/peserta.PesertaResponse'
|
||||
"400":
|
||||
description: Bad request - invalid parameters
|
||||
schema:
|
||||
$ref: '#/definitions/api-service_internal_models.ErrorResponseBpjs'
|
||||
"401":
|
||||
description: Unauthorized - invalid API credentials
|
||||
schema:
|
||||
$ref: '#/definitions/api-service_internal_models.ErrorResponseBpjs'
|
||||
"404":
|
||||
description: Not found - PesertaBynik not found
|
||||
schema:
|
||||
$ref: '#/definitions/api-service_internal_models.ErrorResponseBpjs'
|
||||
"500":
|
||||
description: Internal server error
|
||||
schema:
|
||||
$ref: '#/definitions/api-service_internal_models.ErrorResponseBpjs'
|
||||
/sep:
|
||||
post:
|
||||
parameters:
|
||||
- description: Request ID for tracking
|
||||
in: header
|
||||
name: X-Request-ID
|
||||
type: string
|
||||
- description: SepSep data
|
||||
in: body
|
||||
name: request
|
||||
required: true
|
||||
schema:
|
||||
$ref: '#/definitions/sep.SepRequest'
|
||||
responses:
|
||||
"201":
|
||||
description: Successfully created SepSep
|
||||
schema:
|
||||
$ref: '#/definitions/sep.SepResponse'
|
||||
"400":
|
||||
description: Bad request - invalid request body or validation error
|
||||
schema:
|
||||
$ref: '#/definitions/api-service_internal_models.ErrorResponseBpjs'
|
||||
"401":
|
||||
description: Unauthorized - invalid API credentials
|
||||
schema:
|
||||
$ref: '#/definitions/api-service_internal_models.ErrorResponseBpjs'
|
||||
"409":
|
||||
description: Conflict - SepSep already exists
|
||||
schema:
|
||||
$ref: '#/definitions/api-service_internal_models.ErrorResponseBpjs'
|
||||
"500":
|
||||
description: Internal server error
|
||||
schema:
|
||||
$ref: '#/definitions/api-service_internal_models.ErrorResponseBpjs'
|
||||
/sep/:nosep:
|
||||
delete:
|
||||
responses:
|
||||
"200":
|
||||
description: Successfully deleted SepSep
|
||||
schema:
|
||||
$ref: '#/definitions/sep.SepResponse'
|
||||
"400":
|
||||
description: Bad request - invalid parameters
|
||||
schema:
|
||||
$ref: '#/definitions/api-service_internal_models.ErrorResponseBpjs'
|
||||
"401":
|
||||
description: Unauthorized - invalid API credentials
|
||||
schema:
|
||||
$ref: '#/definitions/api-service_internal_models.ErrorResponseBpjs'
|
||||
"404":
|
||||
description: Not found - SepSep not found
|
||||
schema:
|
||||
$ref: '#/definitions/api-service_internal_models.ErrorResponseBpjs'
|
||||
"500":
|
||||
description: Internal server error
|
||||
schema:
|
||||
$ref: '#/definitions/api-service_internal_models.ErrorResponseBpjs'
|
||||
get:
|
||||
responses:
|
||||
"200":
|
||||
description: Successfully retrieved SepSep data
|
||||
schema:
|
||||
$ref: '#/definitions/sep.SepResponse'
|
||||
"400":
|
||||
description: Bad request - invalid parameters
|
||||
schema:
|
||||
$ref: '#/definitions/api-service_internal_models.ErrorResponseBpjs'
|
||||
"401":
|
||||
description: Unauthorized - invalid API credentials
|
||||
schema:
|
||||
$ref: '#/definitions/api-service_internal_models.ErrorResponseBpjs'
|
||||
"404":
|
||||
description: Not found - SepSep not found
|
||||
schema:
|
||||
$ref: '#/definitions/api-service_internal_models.ErrorResponseBpjs'
|
||||
"500":
|
||||
description: Internal server error
|
||||
schema:
|
||||
$ref: '#/definitions/api-service_internal_models.ErrorResponseBpjs'
|
||||
put:
|
||||
parameters:
|
||||
- description: SepSep data
|
||||
in: body
|
||||
name: request
|
||||
required: true
|
||||
schema:
|
||||
$ref: '#/definitions/sep.SepRequest'
|
||||
responses:
|
||||
"200":
|
||||
description: Successfully updated SepSep
|
||||
schema:
|
||||
$ref: '#/definitions/sep.SepResponse'
|
||||
"400":
|
||||
description: Bad request - invalid parameters or request body
|
||||
schema:
|
||||
$ref: '#/definitions/api-service_internal_models.ErrorResponseBpjs'
|
||||
"401":
|
||||
description: Unauthorized - invalid API credentials
|
||||
schema:
|
||||
$ref: '#/definitions/api-service_internal_models.ErrorResponseBpjs'
|
||||
"404":
|
||||
description: Not found - SepSep not found
|
||||
schema:
|
||||
$ref: '#/definitions/api-service_internal_models.ErrorResponseBpjs'
|
||||
"500":
|
||||
description: Internal server error
|
||||
schema:
|
||||
$ref: '#/definitions/api-service_internal_models.ErrorResponseBpjs'
|
||||
schemes:
|
||||
- http
|
||||
- https
|
||||
|
||||
Reference in New Issue
Block a user