- Auth
- ForgotPassword
- Profile
- Family Members
- Address
- Languages
- Products
- Permissions
- Config
- Appointment Schedule
- Test Tags
- Test Parameters
- Category
- Device
- File
- Appointment
- Reports
- Staff
- Patient
- Notifications
Get Test Tags
Developing
GET
/api/service/v1/test-tags
Request
Query Params
sc_id
string
optional
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-tags?sc_id' \
--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 {5}]
required
is_deleted
integer
required
title
object
required
created_at
string
required
updated_at
string
required
id
string
required
Example
{
"error": false,
"status_code": 200,
"message": "",
"data": [
{
"is_deleted": 0,
"title": {
"en": "en title test",
"ar": "ar title edit"
},
"created_at": "2025-01-01T10:03:12.814Z",
"updated_at": "2025-01-01T10:03:12.814Z",
"id": "677512e0af93c427bbbd2f4b"
},
{
"is_deleted": 0,
"title": {
"en": "en title edit",
"ar": "ar title edit"
},
"created_at": "2025-01-01T10:03:13.816Z",
"updated_at": "2025-01-01T10:03:13.816Z",
"id": "677512e1af93c427bbbd2f4e"
},
{
"is_deleted": 0,
"title": {
"en": "en title edit",
"ar": "ar title edit"
},
"created_at": "2025-01-01T10:03:52.332Z",
"updated_at": "2025-01-01T10:03:52.332Z",
"id": "67751308af93c427bbbd2f51"
}
]
}