paziresh24 Booking
  1. Core booking
paziresh24 Booking
  • Central Booking
    • provider schedules (workhours)
      GET
  • Core booking
    • provider data
      • Get provider services
      • Get provider availability status
    • Availability data
      • Get first availability status
    • Available slots for provider service
      GET
    • Create Appointment
      POST
    • Appointmets
      GET
    • Appointment
      GET
    • Cancel an Appointment
      DELETE
  1. Core booking

Create Appointment

POST
https://apigw.paziresh24.com/core-booking/v1/appointments
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://apigw.paziresh24.com/core-booking/v1/appointments' \
--header 'Content-Type: application/json' \
--data-raw '{
    "start_time": "2019-08-24T14:15:22Z",
    "end_time": "2019-08-24T14:15:22Z",
    "provider_id": "fe3d49af-4061-436b-ae60-f7044f252a44",
    "center_id": "fa11ab6f-1ec7-40d5-8635-c1fc884d5bda",
    "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0",
    "attendee": {
        "name": "string",
        "family": "string",
        "national_code": "string",
        "cell": "string"
    },
    "user_id": "string",
    "description": "string"
}'
Response Response Example
{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "start_time": "2019-08-24T14:15:22Z",
  "end_time": "2019-08-24T14:15:22Z",
  "description": "string",
  "attendee": {
    "name": "string",
    "family": "string",
    "national_code": "string",
    "cell": "string"
  },
  "setter_id": 0,
  "user_id": 0,
  "provider_id": "fe3d49af-4061-436b-ae60-f7044f252a44",
  "center_id": "fa11ab6f-1ec7-40d5-8635-c1fc884d5bda",
  "service_id": "641e839f-864e-4cce-98f9-40f6cbb3e9e0",
  "status": "not-show",
  "is_canceled": true,
  "type": "string",
  "reference_code": "string"
}

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json
start_time
string <date-time>
required
end_time
string <date-time>
required
provider_id
string <uuid>
required
center_id
string <uuid>
required
service_id
string <uuid>
required
attendee
object (Attendee) 
required
name
string 
required
family
string 
required
national_code
string 
required
cell
string 
required
user_id
string 
required
description
string 
required
Examples

Responses

🟢200Success
application/json
Body
id
string <uuid>
required
start_time
string <date-time>
required
end_time
string <date-time>
required
description
string  | null 
required
attendee
object (Attendee) 
required
name
string 
required
family
string 
required
national_code
string 
required
cell
string 
required
setter_id
integer 
required
user_id
integer 
required
provider_id
string <uuid>
required
center_id
string <uuid>
required
service_id
string <uuid>
required
status
enum<string> 
required
Allowed values:
not-showattendedcompleted
is_canceled
boolean 
required
type
string 
required
reference_code
string 
required
Previous
Available slots for provider service
Next
Appointmets
Built with