{
	"info": {
		"_postman_id": "1bbe6c90-10d8-4260-baf8-97fbe3e5f0aa",
		"name": "Health Lab",
		"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
		"_exporter_id": "8724969"
	},
	"item": [
		{
			"name": "Auth",
			"item": [
				{
					"name": "register",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"full_name\": \"Ahmed Daas\",\r\n    \"email\": \"facebook@email.com\",\r\n    \"phone_number\": \"+971505230888\",\r\n    \"address_line_1\": \"Dubai\",\r\n    \"address_line_2\": \"Sports City\",\r\n    \"language\": \"en\",\r\n    \"city_id\": 1,\r\n    \"country_id\": 1,\r\n    \"account_type\": \"facebook\",\r\n    \"token\": \"EAAG3e6TZBtcQBAPqiHj1hWD80Fu8UZCG9TUzgSg7qn29JwE09P0ae92ZAPHyY2wBoxTR5ohiq5XHVP3vAAfFNC3Ki31wwDTFD15V5wgwL8J5BHIXdpVZBawuI83NJAcotMITfnC6ZCArbRMcWixurtWQedxHmzxxSqSoMCZAZA5OPlnyONlGsB9cw5mhZCSljdhUjIXBVJZBW057FqzaFTWzITkuNSgIGAu2ZAtgZCeGWQqBcdjkpQeoCPj\"\r\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{local_url}}/{{version}}/users/auth/register",
							"host": [
								"{{local_url}}"
							],
							"path": [
								"{{version}}",
								"users",
								"auth",
								"register"
							]
						}
					},
					"response": []
				},
				{
					"name": "login",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"email\": \"ahmed@email.com\",\r\n    \"password\": \"123456\"\r\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{local_url}}/{{version}}/users/auth/login",
							"host": [
								"{{local_url}}"
							],
							"path": [
								"{{version}}",
								"users",
								"auth",
								"login"
							]
						}
					},
					"response": []
				},
				{
					"name": "logout",
					"request": {
						"auth": {
							"type": "oauth2",
							"oauth2": [
								{
									"key": "addTokenTo",
									"value": "header",
									"type": "string"
								}
							]
						},
						"method": "POST",
						"header": [],
						"url": {
							"raw": "{{local_url}}/{{version}}/users/auth/logout",
							"host": [
								"{{local_url}}"
							],
							"path": [
								"{{version}}",
								"users",
								"auth",
								"logout"
							]
						}
					},
					"response": []
				},
				{
					"name": "change password",
					"request": {
						"auth": {
							"type": "oauth2",
							"oauth2": [
								{
									"key": "addTokenTo",
									"value": "header",
									"type": "string"
								}
							]
						},
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"current_password\": \"123456\",\r\n    \"new_password\": \"1234567\",\r\n    \"new_password_confirm\": \"1234567\"\r\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{local_url}}/{{version}}/users/auth/change-password",
							"host": [
								"{{local_url}}"
							],
							"path": [
								"{{version}}",
								"users",
								"auth",
								"change-password"
							]
						}
					},
					"response": []
				},
				{
					"name": "reset password request",
					"request": {
						"auth": {
							"type": "noauth"
						},
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"email\": \"ahmed@email.com\"\r\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{local_url}}/{{version}}/users/auth/reset-password-request",
							"host": [
								"{{local_url}}"
							],
							"path": [
								"{{version}}",
								"users",
								"auth",
								"reset-password-request"
							]
						}
					},
					"response": []
				},
				{
					"name": "reset password",
					"request": {
						"auth": {
							"type": "noauth"
						},
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"token\": \"tDtvd\",\r\n    \"password\": \"1234567\"\r\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{local_url}}/{{version}}/users/auth/reset-password",
							"host": [
								"{{local_url}}"
							],
							"path": [
								"{{version}}",
								"users",
								"auth",
								"reset-password"
							]
						}
					},
					"response": []
				}
			]
		},
		{
			"name": "User",
			"item": [
				{
					"name": "user profile",
					"request": {
						"auth": {
							"type": "oauth2",
							"oauth2": [
								{
									"key": "addTokenTo",
									"value": "header",
									"type": "string"
								}
							]
						},
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{local_url}}/{{version}}/users/profile",
							"host": [
								"{{local_url}}"
							],
							"path": [
								"{{version}}",
								"users",
								"profile"
							]
						}
					},
					"response": []
				},
				{
					"name": "update user",
					"request": {
						"auth": {
							"type": "oauth2",
							"oauth2": [
								{
									"key": "addTokenTo",
									"value": "header",
									"type": "string"
								}
							]
						},
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"full_name\": \"Ahmed Daas\",\r\n    \"email\": \"facebook@email.com\",\r\n    \"phone_number\": \"+971505230888\",\r\n    \"address_line_1\": \"Dubai\",\r\n    \"address_line_2\": \"Sports City\",\r\n    \"language\": \"en\",\r\n    \"city_id\": 1,\r\n    \"country_id\": 1\r\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{local_url}}/{{version}}/users/update",
							"host": [
								"{{local_url}}"
							],
							"path": [
								"{{version}}",
								"users",
								"update"
							]
						}
					},
					"response": []
				},
				{
					"name": "user notifications",
					"request": {
						"auth": {
							"type": "oauth2",
							"oauth2": [
								{
									"key": "addTokenTo",
									"value": "header",
									"type": "string"
								}
							]
						},
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{local_url}}/{{version}}/users/notifications",
							"host": [
								"{{local_url}}"
							],
							"path": [
								"{{version}}",
								"users",
								"notifications"
							]
						}
					},
					"response": []
				},
				{
					"name": "user results",
					"request": {
						"auth": {
							"type": "oauth2",
							"oauth2": [
								{
									"key": "addTokenTo",
									"value": "header",
									"type": "string"
								}
							]
						},
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{local_url}}/{{version}}/users/results",
							"host": [
								"{{local_url}}"
							],
							"path": [
								"{{version}}",
								"users",
								"results"
							]
						}
					},
					"response": []
				},
				{
					"name": "user bookings",
					"request": {
						"auth": {
							"type": "oauth2",
							"oauth2": [
								{
									"key": "addTokenTo",
									"value": "header",
									"type": "string"
								}
							]
						},
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{local_url}}/{{version}}/users/bookings",
							"host": [
								"{{local_url}}"
							],
							"path": [
								"{{version}}",
								"users",
								"bookings"
							]
						}
					},
					"response": []
				}
			]
		},
		{
			"name": "Services",
			"item": [
				{
					"name": "get services",
					"request": {
						"auth": {
							"type": "oauth2",
							"oauth2": [
								{
									"key": "addTokenTo",
									"value": "header",
									"type": "string"
								}
							]
						},
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{local_url}}/{{version}}/services",
							"host": [
								"{{local_url}}"
							],
							"path": [
								"{{version}}",
								"services"
							]
						}
					},
					"response": []
				},
				{
					"name": "service tests",
					"request": {
						"auth": {
							"type": "oauth2",
							"oauth2": [
								{
									"key": "addTokenTo",
									"value": "header",
									"type": "string"
								}
							]
						},
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{local_url}}/{{version}}/services/service-test?id=1",
							"host": [
								"{{local_url}}"
							],
							"path": [
								"{{version}}",
								"services",
								"service-test"
							],
							"query": [
								{
									"key": "id",
									"value": "1"
								}
							]
						}
					},
					"response": []
				}
			]
		},
		{
			"name": "Appointments",
			"item": [
				{
					"name": "get available appointments for a test by date",
					"request": {
						"auth": {
							"type": "oauth2",
							"oauth2": [
								{
									"key": "addTokenTo",
									"value": "header",
									"type": "string"
								}
							]
						},
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{local_url}}/{{version}}/appointments/test-appointments?id=1&date=2022-10-30",
							"host": [
								"{{local_url}}"
							],
							"path": [
								"{{version}}",
								"appointments",
								"test-appointments"
							],
							"query": [
								{
									"key": "id",
									"value": "1"
								},
								{
									"key": "date",
									"value": "2022-10-30"
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "book appointment",
					"request": {
						"auth": {
							"type": "oauth2",
							"oauth2": [
								{
									"key": "addTokenTo",
									"value": "header",
									"type": "string"
								}
							]
						},
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"time_id\": 1\r\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{local_url}}/{{version}}/appointments/book-appointment",
							"host": [
								"{{local_url}}"
							],
							"path": [
								"{{version}}",
								"appointments",
								"book-appointment"
							]
						}
					},
					"response": []
				},
				{
					"name": "cancel booking",
					"request": {
						"auth": {
							"type": "oauth2",
							"oauth2": [
								{
									"key": "addTokenTo",
									"value": "header",
									"type": "string"
								}
							]
						},
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"book_id\": 1\r\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{local_url}}/{{version}}/appointments/cancel-booking",
							"host": [
								"{{local_url}}"
							],
							"path": [
								"{{version}}",
								"appointments",
								"cancel-booking"
							]
						}
					},
					"response": []
				},
				{
					"name": "reschedule booking",
					"request": {
						"auth": {
							"type": "oauth2",
							"oauth2": [
								{
									"key": "addTokenTo",
									"value": "header",
									"type": "string"
								}
							]
						},
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"book_id\": 1,\r\n    \"new_time_id\": 2\r\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{local_url}}/{{version}}/appointments/reschedule-booking",
							"host": [
								"{{local_url}}"
							],
							"path": [
								"{{version}}",
								"appointments",
								"reschedule-booking"
							]
						}
					},
					"response": []
				}
			]
		},
		{
			"name": "Clinics",
			"item": [
				{
					"name": "clinics by location",
					"request": {
						"auth": {
							"type": "oauth2",
							"oauth2": [
								{
									"key": "addTokenTo",
									"value": "header",
									"type": "string"
								}
							]
						},
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{local_url}}/{{version}}/clinics/location?lat=26.4656&lng=33.2656",
							"host": [
								"{{local_url}}"
							],
							"path": [
								"{{version}}",
								"clinics",
								"location"
							],
							"query": [
								{
									"key": "lat",
									"value": "26.4656"
								},
								{
									"key": "lng",
									"value": "33.2656"
								}
							]
						}
					},
					"response": []
				}
			]
		},
		{
			"name": "home page data",
			"request": {
				"auth": {
					"type": "oauth2",
					"oauth2": [
						{
							"key": "addTokenTo",
							"value": "header",
							"type": "string"
						}
					]
				},
				"method": "GET",
				"header": [],
				"url": {
					"raw": "{{local_url}}/{{version}}/home",
					"host": [
						"{{local_url}}"
					],
					"path": [
						"{{version}}",
						"home"
					]
				}
			},
			"response": []
		}
	],
	"event": [
		{
			"listen": "prerequest",
			"script": {
				"type": "text/javascript",
				"exec": [
					""
				]
			}
		},
		{
			"listen": "test",
			"script": {
				"type": "text/javascript",
				"exec": [
					""
				]
			}
		}
	],
	"variable": [
		{
			"key": "local_url",
			"value": "http://localhost:8000/api",
			"type": "string"
		},
		{
			"key": "remote_url",
			"value": "",
			"type": "string"
		},
		{
			"key": "token",
			"value": "2|VafZcgkW7yOQpy2hhGlFdVJjdfTPSJ85I58v9fuK",
			"type": "string"
		},
		{
			"key": "version",
			"value": "v1",
			"type": "string"
		}
	]
}