Gesis360 API v1.1.0

API REST de Gesis360. Authentification : jeton Bearer obtenu via POST /api/v1/auth/login (personnel) ou /api/portal/login (patient). En-têtes recommandés : X-Device-Id (identifiant d'appareil), X-Lang (fr|en). Les opérations hors ligne passent par POST /api/v1/sync/push avec une clé d'idempotence (uuid) par opération.

Spécification OpenAPI 3 : /api/openapi.json

Exemple : curl -X POST https://gesis360.net/api/v1/auth/login -H "Content-Type: application/json" -d '{"email":"…","password":"…"}' puis Authorization: Bearer <jeton>.

Synchronisation hors ligne : POST /api/v1/sync/push avec {"ops":[{"uuid":"…","type":"patient.create","payload":{…}}]} → résultat par opération (applied, duplicate, conflict, rejected, retry).

public

GET/api/public/plansPublicController@plans
POST/api/public/signupPublicController@signup
GET/api/public/hostPublicController@host
GET/api/public/pingClosure

auth

POST/api/v1/auth/loginAuthController@login
POST/api/v1/auth/forgotAuthController@forgot
POST/api/v1/auth/resetAuthController@reset
GET/api/v1/auth/meAuthController@me
POST/api/v1/auth/logoutAuthController@logout
POST/api/v1/auth/passwordAuthController@password
POST/api/v1/auth/langAuthController@lang
POST/api/v1/auth/unlockAuthController@unlock
POST/api/v1/auth/mfa/setupAuthController@mfaSetup
POST/api/v1/auth/mfa/enableAuthController@mfaEnable
POST/api/v1/auth/mfa/disableAuthController@mfaDisable

bootstrap

GET/api/v1/bootstrapAdminController@bootstrap

sync

POST/api/v1/sync/pushSyncController@push
GET/api/v1/sync/pullSyncController@pull
GET/api/v1/sync/logSyncController@log
GET/api/v1/sync/conflictsSyncController@conflicts
POST/api/v1/sync/conflicts/{id}/resolveSyncController@resolve

devices

GET/api/v1/devicesSyncController@devices
POST/api/v1/devices/{id}SyncController@deviceAction

r

GET/api/v1/r/{res}ResourceController@index
POST/api/v1/r/{res}ResourceController@store
GET/api/v1/r/{res}/{id}ResourceController@show
PUT/api/v1/r/{res}/{id}ResourceController@update
DELETE/api/v1/r/{res}/{id}ResourceController@destroy

patients

GET/api/v1/patientsPatientController@index
POST/api/v1/patientsPatientController@store
POST/api/v1/patients/duplicatesPatientController@duplicates
GET/api/v1/patients/{id}PatientController@show
PUT/api/v1/patients/{id}PatientController@update
POST/api/v1/patients/{id}/mergePatientController@merge
POST/api/v1/patients/{id}/documentsPatientController@uploadDocument
POST/api/v1/patients/{id}/portalPatientController@portalAccess
GET/api/v1/patients/{id}/fhirPatientController@fhir

documents

GET/api/v1/documents/{id}PatientController@document

visits

POST/api/v1/visitsVisitController@store
GET/api/v1/visits/{id}VisitController@show
POST/api/v1/visits/{id}/statusVisitController@status
POST/api/v1/visits/{id}/triageVisitController@triage
POST/api/v1/visits/{id}/callDisplayController@call

queue

GET/api/v1/queueVisitController@queue

vitals

POST/api/v1/vitalsVisitController@vitals

vouchers

GET/api/v1/vouchersVisitController@vouchers
POST/api/v1/vouchers/{id}/decideVisitController@voucherVerify

calls

GET/api/v1/callsDisplayController@recent

admin

GET/api/v1/admin/displayDisplayController@settings
POST/api/v1/admin/displayDisplayController@settings
GET/api/v1/admin/settingsAdminController@settings
PUT/api/v1/admin/settingsAdminController@saveSettings
POST/api/v1/admin/logoAdminController@logo
POST/api/v1/admin/support-accessAdminController@supportAccess
GET/api/v1/admin/usersAdminController@users
POST/api/v1/admin/usersAdminController@userSave
PUT/api/v1/admin/users/{id}AdminController@userSave
POST/api/v1/admin/users/{id}/mfa-resetAdminController@userMfaReset
GET/api/v1/admin/rolesAdminController@roles
POST/api/v1/admin/rolesAdminController@roleSave
PUT/api/v1/admin/roles/{id}AdminController@roleSave
GET/api/v1/admin/auditAdminController@auditLog
POST/api/v1/admin/import/{kind}AdminController@import
GET/api/v1/admin/exportAdminController@exportAll

payers

GET/api/v1/payers/{payer}/accessPayerAccessController@index
POST/api/v1/payers/{payer}/accessPayerAccessController@save
PUT/api/v1/payers/{payer}/access/{id}PayerAccessController@save

consultations

POST/api/v1/consultationsClinicalController@consultationStore
PUT/api/v1/consultations/{id}ClinicalController@consultationUpdate
POST/api/v1/consultations/{id}/signClinicalController@consultationSign
POST/api/v1/consultations/{id}/addendumClinicalController@addendum

diagnoses

POST/api/v1/diagnosesClinicalController@diagnosisStore
PUT/api/v1/diagnoses/{id}ClinicalController@diagnosisUpdate

diagnosis-search

GET/api/v1/diagnosis-searchClinicalController@diagnosisSearch

prescriptions

POST/api/v1/prescriptionsClinicalController@prescriptionStore
POST/api/v1/prescriptions/{id}/cancelClinicalController@prescriptionCancel

notes

GET/api/v1/notesClinicalController@notes
POST/api/v1/notesClinicalController@noteStore

nursing

GET/api/v1/nursing/tasksClinicalController@tasks
POST/api/v1/nursing/tasksClinicalController@taskStore
POST/api/v1/nursing/tasks/{id}/doneClinicalController@taskDone

mar

GET/api/v1/marClinicalController@mar
POST/api/v1/marClinicalController@marStore

messages

GET/api/v1/messagesClinicalController@threads
GET/api/v1/messages/{patient}ClinicalController@messages
POST/api/v1/messages/{patient}ClinicalController@messageSend

lab

POST/api/v1/lab/ordersDiagnosticsController@labOrder
GET/api/v1/lab/orders/{id}DiagnosticsController@labOrderShow
GET/api/v1/lab/worklistDiagnosticsController@worklist
POST/api/v1/lab/items/{id}/{step}DiagnosticsController@labStep

imaging

POST/api/v1/imaging/ordersDiagnosticsController@imagingOrder
GET/api/v1/imaging/worklistDiagnosticsController@imagingWorklist
POST/api/v1/imaging/orders/{id}/{step}DiagnosticsController@imagingStep

pharmacy

GET/api/v1/pharmacy/queuePharmacyController@queue
POST/api/v1/pharmacy/dispensePharmacyController@dispense

stock

GET/api/v1/stockPharmacyController@stock
GET/api/v1/stock/lotsPharmacyController@lots
POST/api/v1/stock/lots/{id}/statusPharmacyController@lotStatus
POST/api/v1/stock/recallPharmacyController@recall
GET/api/v1/stock/movementsPharmacyController@movements
GET/api/v1/stock/alertsPharmacyController@alerts
GET/api/v1/stock/documentsPharmacyController@documents
POST/api/v1/stock/documentsPharmacyController@documentStore
PUT/api/v1/stock/documents/{id}PharmacyController@documentUpdate
POST/api/v1/stock/documents/{id}/validatePharmacyController@documentValidate
POST/api/v1/stock/documents/{id}/cancelPharmacyController@documentCancel

purchase-orders

GET/api/v1/purchase-ordersPharmacyController@purchaseOrders
POST/api/v1/purchase-ordersPharmacyController@purchaseOrderStore
POST/api/v1/purchase-orders/{id}/statusPharmacyController@purchaseOrderStatus

beds

GET/api/v1/beds/boardInpatientController@board
POST/api/v1/beds/{id}/statusInpatientController@bedStatus

admissions

GET/api/v1/admissionsInpatientController@index
POST/api/v1/admissionsInpatientController@store
GET/api/v1/admissions/{id}InpatientController@show
POST/api/v1/admissions/{id}/transferInpatientController@transfer
POST/api/v1/admissions/{id}/dischargeInpatientController@discharge

deaths

GET/api/v1/deathsInpatientController@deaths
POST/api/v1/deathsInpatientController@death

maternity

GET/api/v1/maternity/pregnanciesProgrammeController@pregnancies
POST/api/v1/maternity/pregnanciesProgrammeController@pregnancyStore
PUT/api/v1/maternity/pregnancies/{id}ProgrammeController@pregnancyUpdate
POST/api/v1/maternity/pregnancies/{id}/ancProgrammeController@anc
POST/api/v1/maternity/deliveriesProgrammeController@delivery
GET/api/v1/maternity/birthsProgrammeController@births
POST/api/v1/maternity/births/{id}/declareProgrammeController@birthDeclare

vaccination

GET/api/v1/vaccination/card/{patient}ProgrammeController@card
POST/api/v1/vaccination/immunizationsProgrammeController@immunize
GET/api/v1/vaccination/dueProgrammeController@due
POST/api/v1/vaccination/remindProgrammeController@remind
GET/api/v1/vaccination/dashboardProgrammeController@vaccinationDashboard

blood

GET/api/v1/blood/stockProgrammeController@bloodStock
POST/api/v1/blood/donationsProgrammeController@donation
POST/api/v1/blood/units/{id}/screenProgrammeController@screen
POST/api/v1/blood/units/{id}/discardProgrammeController@unitDiscard
GET/api/v1/blood/requestsProgrammeController@transfusionRequests
POST/api/v1/blood/requestsProgrammeController@transfusionRequest
POST/api/v1/blood/requests/{id}/{step}ProgrammeController@transfusionStep

appointments

GET/api/v1/appointmentsAppointmentController@index
POST/api/v1/appointmentsAppointmentController@store
PUT/api/v1/appointments/{id}AppointmentController@update
POST/api/v1/appointments/{id}/statusAppointmentController@status

worklist

GET/api/v1/worklistAppointmentController@worklist

invoices

GET/api/v1/invoicesBillingController@invoices
POST/api/v1/invoicesBillingController@store
GET/api/v1/invoices/{id}BillingController@show
POST/api/v1/invoices/{id}/itemsBillingController@addItem
POST/api/v1/invoices/{id}/discountBillingController@discount
POST/api/v1/invoices/{id}/cancelBillingController@cancel
POST/api/v1/invoices/{id}/coverageBillingController@coverage

invoice-items

POST/api/v1/invoice-items/{id}/cancelBillingController@cancelItem

cash

GET/api/v1/cash/currentBillingController@currentSession
POST/api/v1/cash/openBillingController@openSession
POST/api/v1/cash/movementsBillingController@movement
POST/api/v1/cash/closeBillingController@closeSession
GET/api/v1/cash/sessionsBillingController@sessions
GET/api/v1/cash/sessions/{id}BillingController@sessionShow

payments

GET/api/v1/paymentsBillingController@payments
POST/api/v1/paymentsBillingController@pay
POST/api/v1/payments/{id}/confirmBillingController@confirmPayment

refunds

GET/api/v1/refundsBillingController@refunds
POST/api/v1/refundsBillingController@refundRequest
POST/api/v1/refunds/{id}/decideBillingController@refundDecide

rates

GET/api/v1/ratesBillingController@rates
POST/api/v1/ratesBillingController@rateStore

claims

GET/api/v1/claimsBillingController@claims
POST/api/v1/claimsBillingController@claimStore
GET/api/v1/claims/{id}BillingController@claimShow
POST/api/v1/claims/{id}/actionBillingController@claimAction

expenses

POST/api/v1/expenses/{id}/decideBillingController@expenseDecide

finance

POST/api/v1/finance/closeBillingController@closePeriod
GET/api/v1/finance/closuresBillingController@closures

dashboard

GET/api/v1/dashboardReportController@dashboard
GET/api/v1/dashboard/financeReportController@finance

reports

GET/api/v1/reportsReportController@index
GET/api/v1/reports/{key}ReportController@show

integrations

GET/api/v1/integrations/dhis2/previewReportController@dhis2Preview
POST/api/v1/integrations/dhis2/pushReportController@dhis2Push
GET/api/v1/integrations/crvs/{kind}ReportController@crvs
GET/api/v1/integrations/logsReportController@integrationLogs

notifications

GET/api/v1/notificationsAdminController@notifications
POST/api/v1/notifications/readAdminController@notificationsRead

pdf

GET/api/v1/pdf/patient-card/{id}PdfController@patientCard
GET/api/v1/pdf/ticket/{id}PdfController@visitTicket
GET/api/v1/pdf/prescription/{id}PdfController@prescription
GET/api/v1/pdf/lab-labels/{id}PdfController@labLabels
GET/api/v1/pdf/lab/{id}PdfController@labReport
GET/api/v1/pdf/imaging/{id}PdfController@imagingReport
GET/api/v1/pdf/invoice/{id}PdfController@invoice
GET/api/v1/pdf/receipt/{id}PdfController@receipt
GET/api/v1/pdf/discharge/{id}PdfController@discharge
GET/api/v1/pdf/birth/{id}PdfController@birth
GET/api/v1/pdf/death/{id}PdfController@death
GET/api/v1/pdf/vaccination/{id}PdfController@vaccinationCard
GET/api/v1/pdf/referral/{id}PdfController@referral
GET/api/v1/pdf/cash/{id}PdfController@cashSession
GET/api/v1/pdf/claim/{id}PdfController@claim
GET/api/v1/pdf/summary/{id}PdfController@summary

platform

GET/api/v1/platform/statsPlatformController@stats
GET/api/v1/platform/healthPlatformController@health
GET/api/v1/platform/tenantsPlatformController@tenants
POST/api/v1/platform/tenantsPlatformController@tenantStore
PUT/api/v1/platform/tenants/{id}PlatformController@tenantUpdate
GET/api/v1/platform/paymentsPlatformController@payments
POST/api/v1/platform/paymentsPlatformController@paymentStore
GET/api/v1/platform/plansPlatformController@plans
POST/api/v1/platform/plansPlatformController@planSave
PUT/api/v1/platform/plans/{id}PlatformController@planSave
GET/api/v1/platform/announcementsPlatformController@announcements
POST/api/v1/platform/announcementsPlatformController@announcementSave
PUT/api/v1/platform/announcements/{id}PlatformController@announcementSave
GET/api/v1/platform/settingsPlatformController@settings
PUT/api/v1/platform/settingsPlatformController@settingsSave
POST/api/v1/platform/mail-testPlatformController@mailTest
GET/api/v1/platform/backupsPlatformController@backups
POST/api/v1/platform/backupsPlatformController@backupRun
GET/api/v1/platform/backups/{file}PlatformController@backupDownload
GET/api/v1/platform/auditPlatformController@audit
POST/api/v1/platform/passwordPlatformController@password
GET/api/v1/platform/meClosure

portal

GET/api/portal/facilitiesPortalController@facilities
POST/api/portal/loginPortalController@login
POST/api/portal/activatePortalController@activate
POST/api/portal/forgotPortalController@forgot
POST/api/portal/resetPortalController@reset
GET/api/portal/mePortalController@me
POST/api/portal/linkPortalController@link
GET/api/portal/summaryPortalController@summary
GET/api/portal/resultsPortalController@results
GET/api/portal/documents/{id}PortalController@document
GET/api/portal/appointmentsPortalController@appointments
POST/api/portal/appointmentsPortalController@appointmentRequest
POST/api/portal/appointments/{id}/cancelPortalController@appointmentCancel
GET/api/portal/optionsPortalController@options
GET/api/portal/prescriptionsPortalController@prescriptions
GET/api/portal/vaccinationPortalController@vaccination
GET/api/portal/invoicesPortalController@invoices
GET/api/portal/messagesPortalController@messages
POST/api/portal/messagesPortalController@messageSend
GET/api/portal/vitalsPortalController@vitals
POST/api/portal/vitalsPortalController@vitals
GET/api/portal/notificationsPortalController@notifications
POST/api/portal/push-tokenPortalController@pushToken
POST/api/portal/passwordPortalController@password
POST/api/portal/logoutPortalController@logout

display

GET/api/display/{token}DisplayController@feed

payer

POST/api/payer/loginPayerPortalController@login
POST/api/payer/forgotPayerPortalController@forgot
POST/api/payer/resetPayerPortalController@reset
GET/api/payer/mePayerPortalController@meProfile
POST/api/payer/logoutPayerPortalController@logout
POST/api/payer/passwordPayerPortalController@password
GET/api/payer/summaryPayerPortalController@summary
GET/api/payer/invoicesPayerPortalController@invoices
GET/api/payer/invoices/{id}PayerPortalController@invoice
GET/api/payer/invoices/{id}/pdfPayerPortalController@invoicePdf
GET/api/payer/vouchersPayerPortalController@vouchers
POST/api/payer/vouchersPayerPortalController@voucherStore
POST/api/payer/vouchers/{id}/cancelPayerPortalController@voucherCancel
GET/api/payer/beneficiariesPayerPortalController@beneficiaries
GET/api/payer/claimsPayerPortalController@claims
GET/api/payer/claims/{id}/pdfPayerPortalController@claimPdf
GET/api/payer/paymentsPayerPortalController@payments

docs

GET/api/docsWebController@apiDocs

openapi.json

GET/api/openapi.jsonWebController@openapi