Afya-Health
  1. Test Parameters
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
    • Add Update Config
    • List Master Config
    • Add Update Master Config
  • 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
      GET
    • Create Test Parameters
      POST
    • Update Test Parameters
      PUT
    • Delete Test Parameters
      DELETE
  • 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. Test Parameters

Get Test Parameters

Developing
GET
/api/service/v1/test-parameters

Request

Header Params
Accept
string 
optional
Example:
application/json
Content-Type
string 
optional
Example:
application/json
practice-code
string 
optional
Example:
DEFAULT
Authorization
string 
optional
Example:
{{token}}

Request 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/test-parameters' \
--header 'Accept: application/json' \
--header 'practice-code: DEFAULT' \
--header 'Authorization: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY3YjJkZmZlNWJmMjdlMzk1NTUzMjE0MyIsImVtYWlsIjoiZGVlcC5tYXJzb25pYUBwbGVuYXJ0ZWNoLmNvbSIsInN1YiI6IjY3YjJkZmZlNWJmMjdlMzk1NTUzMjE0MyIsImlhdCI6MTc0MTc4MjA4NCwiZXhwIjoxNzQ5NTU4MDg0fQ.KAMsweSbJPDxpLijKdjgp3YEFauw8KYLLumCBpqQfAA' \
--header 'Content-Type: application/json'

Responses

🟢200Success
application/json
Body
error
boolean 
required
status_code
integer 
required
message
string 
required
data
array [object {9}] 
required
tags
array [object {5}] 
required
is_deleted
integer 
required
title
object 
required
description
object 
required
created_at
string 
required
updated_at
string 
required
id
string 
required
service_category
object 
required
image
object 
required
Example
{
    "error": false,
    "status_code": 200,
    "message": "",
    "data": [
        {
            "tags": [],
            "is_deleted": 0,
            "title": {
                "en": "this is en title",
                "ar": "this is ar title"
            },
            "description": {
                "en": "this is en title",
                "ar": "this is ar title"
            },
            "created_at": "2025-01-16T06:46:36.360Z",
            "updated_at": "2025-01-16T06:46:36.360Z",
            "id": "6788ab4c3fd2424ae6a4db7d"
        },
        {
            "tags": [
                {
                    "is_deleted": 0,
                    "title": {
                        "en": "en title edit",
                        "ar": "ar title edit"
                    },
                    "created_at": "2025-01-16T06:49:07.666Z",
                    "updated_at": "2025-01-16T06:49:07.666Z",
                    "id": "6788abe33fd2424ae6a4db87"
                }
            ],
            "is_deleted": 0,
            "title": {
                "en": "this is en title edited",
                "ar": "this is ar title"
            },
            "description": {
                "en": "this is en title",
                "ar": "this is ar title"
            },
            "created_at": "2025-01-16T09:54:38.435Z",
            "updated_at": "2025-01-16T09:54:38.435Z",
            "id": "6788d75e4a28065d658e0033"
        },
        {
            "tags": [
                {
                    "is_deleted": 0,
                    "title": {
                        "en": "en title edit",
                        "ar": "ar title edit"
                    },
                    "created_at": "2025-01-16T06:49:07.666Z",
                    "updated_at": "2025-01-16T06:49:07.666Z",
                    "id": "6788abe33fd2424ae6a4db87"
                }
            ],
            "is_deleted": 0,
            "title": {
                "en": "this is en title edited",
                "ar": "this is ar title"
            },
            "description": {
                "en": "this is en title edited",
                "ar": "this is ar title"
            },
            "service_category": {
                "parent": null,
                "is_deleted": 0,
                "title": {
                    "en": "english title editred",
                    "ar": "ar title"
                },
                "type": "service",
                "color": "#FF7689",
                "created_at": "2025-01-16T08:53:44.021Z",
                "updated_at": "2025-01-16T08:53:44.021Z",
                "id": "6788c918d798f459e8c8d7c5"
            },
            "image": {
                "original_name": "Screenshot from 2025-01-27 12-28-57.png",
                "file_name": "c1db738b-8e3c-4af2-ad43-297cceea1740_1737970715849_Screenshot_from_2025-01-27_12-28-57.png",
                "path": "https://afyahealth.doctodoor.com.s3.us-east-1.amazonaws.com/c1db738b-8e3c-4af2-ad43-297cceea1740_1737970715849_Screenshot_from_2025-01-27_12-28-57.png",
                "size": 3002,
                "mimeType": "image/png",
                "created_at": "2025-01-27T09:38:37.457Z",
                "updated_at": "2025-01-27T09:38:37.457Z",
                "id": "6797541deb8b1053d7d780c1",
                "media_url": "https://d3ektmb2e4ajpb.cloudfront.net/c1db738b-8e3c-4af2-ad43-297cceea1740_1737970715849_Screenshot_from_2025-01-27_12-28-57.png"
            },
            "created_at": "2025-01-29T09:41:29.333Z",
            "updated_at": "2025-01-29T09:41:29.333Z",
            "id": "6799f7c90fcdc42e5b3c0f2b"
        },
        {
            "tags": [
                {
                    "is_deleted": 0,
                    "title": {
                        "en": "en title edit",
                        "ar": "ar title edit"
                    },
                    "created_at": "2025-01-16T06:49:07.666Z",
                    "updated_at": "2025-01-16T06:49:07.666Z",
                    "id": "6788abe33fd2424ae6a4db87"
                }
            ],
            "is_deleted": 0,
            "title": {
                "en": "this is en title edited",
                "ar": "this is ar title"
            },
            "description": {
                "en": "this is en title edited",
                "ar": "this is ar title"
            },
            "service_category": {
                "parent": null,
                "is_deleted": 0,
                "title": {
                    "en": "english title editred",
                    "ar": "ar title"
                },
                "type": "service",
                "color": "#FF7689",
                "created_at": "2025-01-16T08:53:44.021Z",
                "updated_at": "2025-01-16T08:53:44.021Z",
                "id": "6788c918d798f459e8c8d7c5"
            },
            "image": {
                "original_name": "Screenshot from 2025-01-27 12-28-57.png",
                "file_name": "c1db738b-8e3c-4af2-ad43-297cceea1740_1737970715849_Screenshot_from_2025-01-27_12-28-57.png",
                "path": "https://afyahealth.doctodoor.com.s3.us-east-1.amazonaws.com/c1db738b-8e3c-4af2-ad43-297cceea1740_1737970715849_Screenshot_from_2025-01-27_12-28-57.png",
                "size": 3002,
                "mimeType": "image/png",
                "created_at": "2025-01-27T09:38:37.457Z",
                "updated_at": "2025-01-27T09:38:37.457Z",
                "id": "6797541deb8b1053d7d780c1",
                "media_url": "https://d3ektmb2e4ajpb.cloudfront.net/c1db738b-8e3c-4af2-ad43-297cceea1740_1737970715849_Screenshot_from_2025-01-27_12-28-57.png"
            },
            "created_at": "2025-01-29T09:41:31.359Z",
            "updated_at": "2025-01-29T09:41:31.359Z",
            "id": "6799f7cb0fcdc42e5b3c0f35"
        }
    ]
}
Previous
Delete Test Tag
Next
Create Test Parameters
Built with