Afya-Health
  1. Config
Afya-Health
  • Auth
    • Login
      POST
    • Signup
      POST
  • ForgotPassword
    • Verify OTP
      POST
    • ForgotPassword
      POST
    • ResetPassword
      POST
  • Profile
    • Get User Profile
      GET
    • Update user profile
      POST
  • Family Members
    • Add Family Member
      POST
    • Update Family Members
      PUT
    • Delete Family Member
      DELETE
  • Address
    • Get User address
      GET
    • Add Address
      POST
    • Update address
      PUT
    • Delete Address
      DELETE
  • Languages
    • List AppLabels
      GET
    • Add/Update Label
      POST
    • List Languages
      GET
  • Products
    • Get Products
      GET
    • Create Product
      POST
    • Update Product
      PUT
    • Delete Product
      DELETE
    • Update product items
      PUT
  • Permissions
    • Get Permissions
  • Config
    • List Practice Config
      GET
    • Add Update Config
      POST
    • List Master Config
      GET
    • Add Update Master Config
      POST
  • Appointment Schedule
    • Create Schedule
    • Update Schedule
    • Delete Schedule
    • Get Schedule by ID
    • Get Schedule list
  • Test Tags
    • Get Test Tags
    • Create Test Tag
    • Update Test Tag
    • Delete Test Tag
  • Test Parameters
    • Get Test Parameters
    • Create Test Parameters
    • Update Test Parameters
    • Delete Test Parameters
  • Category
    • Get Category
    • Create Category
    • Update Category
    • Delete Category
  • Device
    • Register Device
  • File
    • Upload File
  • Appointment
    • Create Appointment Order
    • Get Appointments List
    • Update Appointment Status
    • Get Appointment by ID
    • Get Appointment Slots
    • GetStartJourneyDirection
  • Reports
    • Upload Report
    • List All Reports
    • List Reports By Appointment
    • Delete Report
    • Update Report File
  • Staff
    • Add Staff Member
    • List Staff Member
    • Update Staff Member
    • Delete Staff Member
    • Get Staff member by ID
  • Patient
    • List Patients
    • Add Patient
    • Update Patient
    • Delete Patient
    • Get patient by ID
  • Notifications
    • List User Notifications
    • Update Notification read status
  1. Config

List Practice Config

Developing
GET
/api/service/v1/config/{key}
{key} - Optional.
Without {key}. All keys with values will be return.

Request

Path Params

Header Params

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://afyahealth.doctodoor.com:5600/api/service/v1/config/allocated_licenses' \
--header 'Authorization;' \
--header 'practice-code;'

Responses

🟢200Success
application/json
Body

Example
{
    "error": false,
    "status_code": 200,
    "data": [
        {
            "key": "allocated_licenses",
            "value": "0",
            "created_at": "2024-07-03T14:37:41.885Z",
            "updated_at": "2024-07-03T14:37:41.885Z",
            "id": "668562353027ac4aec89ec66"
        },
        {
            "key": "event_reminders",
            "value": "[60]",
            "created_at": "2024-07-03T14:37:41.903Z",
            "updated_at": "2024-07-03T14:37:41.903Z",
            "id": "668562353027ac4aec89ec67"
        }
    ]
}
🟢200Success (key)
Modified at 2024-12-16 05:58:15
Previous
Get Permissions
Next
Add Update Config
Built with