Books
DevelopingGET
https://apigw.paziresh24.com/booking/booksRetrieve books which any one of the entered filters
Request
Query Params
nezam_code
string
optional
Doctor's nezam code
patient
integer
optional
Patient's user_id
Example:
{% faker datatype.number %}
doctor
integer
optional
Doctor's user_id
Example:
{% faker address.buildingNumber %}
date
string
optional
Date of book
status
string
optional
completed | canceled | InProgress(default filtter)
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
array of:
id
string
required
ID
reference_id
string
required
time
string
required
doctor
string
required
medical_code
string
required
patient
string
required
patient_national_code
string | null
required
Null for foreigner
center
string
required
cost
integer
required
status
enum<string>
required
Allowed values:
completedcanceledInProgress
Default:
InProgress
Example
[
{
"id": "8e70deca-f9f2-44fd-9640-4dbc935bcf92",
"reference_id": "3121206677",
"time": "2061-08-05T01:41:47.528Z",
"doctor": "آنیتا محجوب",
"medical_code": "12345",
"patient": "کاوه علی عسگری",
"patient_national_code": "1234567890",
"center": "مطب دکتر محجوب",
"cost": 52,
"status": "InProgress"
},
{
"id": "8f35d436-8bc9-4efa-9eab-8e2d327e6ccd",
"reference_id": "4175314429",
"time": "2069-11-22T10:16:03.077Z",
"doctor": "هستی لوکس",
"medical_code": "12345",
"patient": "آقای نیلوفر فرشیدورد",
"patient_national_code": "1234567890",
"center": "بیمارستان سیدالشهدا",
"cost": 979,
"status": "InProgress"
},
{
"id": "8aa60705-1d07-4dc2-b33a-7f177f3ce1fc",
"reference_id": "3405346777",
"time": "2008-05-14T19:50:42.459Z",
"doctor": "شیدا کاملی",
"medical_code": "12345",
"patient": "امیرسینا کاشی",
"patient_national_code": "1234567890",
"center": "بیمارستان امام",
"cost": 574,
"status": "completed"
}
]
Last modified: 6 months ago