Paziresh24-Booking
  1. Booking
Paziresh24-Booking
  • Booking
    • Availability
      GET
    • Reserve
      PATCH
    • Book
      POST
    • Book
      GET
    • Books
      GET
    • Books/{id}
      DELETE
    • Price
      GET
    • Books/{id}
      PATCH
  1. Booking

Book

Developing
GET
https://prod.your-api-server.comhttps://apigw.paziresh24.com/booking/book
Fetch the book with one of the id or reference_id (default is id)
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://apigw.paziresh24.com/booking/book?id&reference_id&national_code'
Response Response Example
{
    "id": "1413af4d-1454-4223-ade0-b693257aaab3",
    "reference_id": "8348502377",
    "time": "2026-05-15T14:56:03.961Z",
    "doctor": "رز قانعی",
    "medical_code": "12345",
    "patient": "پارمیس کردبچه",
    "patient_national_code": "1234567890",
    "center": "محمدرضایی-کاشی",
    "cost": 485,
    "status": "completed"
}

Request

Query Params
id
string 
optional
ID
reference_id
string 
optional
book's reference id
national_code
string 
optional

Responses

🟢200Success
application/json
Body
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
Modified at 2024-08-17 09:57:30
Previous
Book
Next
Books
Built with