Skip to content

Latest commit

 

History

History
187 lines (107 loc) · 3.52 KB

AppointmentControllerApi.md

File metadata and controls

187 lines (107 loc) · 3.52 KB

AppointmentControllerApi

All URIs are relative to http://localhost:9777

Method HTTP request Description
create2 POST /api/v1/appointment
delete3 DELETE /api/v1/appointment/{id}
showAll3 GET /api/v1/appointments
showAllByDoctorId1 GET /api/v1/appointments/doctor/{id}
showAllByPatientId1 GET /api/v1/appointments/patient/{id}
showById3 GET /api/v1/appointment/{id}
update3 PATCH /api/v1/appointment

create2

Object create2(AppointmentDTO)

Parameters

Name Type Description Notes
AppointmentDTO AppointmentDTO

Return type

Object

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: /

delete3

Object delete3(id)

Parameters

Name Type Description Notes
id Integer [default to null]

Return type

Object

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: /

showAll3

Object showAll3()

Parameters

This endpoint does not need any parameter.

Return type

Object

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: /

showAllByDoctorId1

Object showAllByDoctorId1(id)

Parameters

Name Type Description Notes
id Integer [default to null]

Return type

Object

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: /

showAllByPatientId1

Object showAllByPatientId1(id)

Parameters

Name Type Description Notes
id Integer [default to null]

Return type

Object

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: /

showById3

Object showById3(id)

Parameters

Name Type Description Notes
id Integer [default to null]

Return type

Object

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: /

update3

Object update3(AppointmentDTO)

Parameters

Name Type Description Notes
AppointmentDTO AppointmentDTO

Return type

Object

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: /