Created
May 16, 2025 14:04
-
-
Save serkansepil/737951580a1fca61186c185c2fc73865 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"collection": { | |
"info": { | |
"_postman_id": "5d317670-3668-47b0-b833-a5f2e34bcc8a", | |
"name": "Okadoc ADH", | |
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", | |
"updatedAt": "2025-05-14T09:10:19.000Z", | |
"createdAt": "2025-05-14T09:10:19.000Z", | |
"lastUpdatedBy": "686744", | |
"uid": "686744-5d317670-3668-47b0-b833-a5f2e34bcc8a" | |
}, | |
"item": [ | |
{ | |
"name": "List Providers", | |
"id": "7fba9858-9579-4c8f-b55e-8cbb0fea8de1", | |
"protocolProfileBehavior": { | |
"disableBodyPruning": true | |
}, | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "okadoc-auth-key", | |
"value": "04Yumurta92Helva!", | |
"type": "text" | |
} | |
], | |
"url": { | |
"raw": "{{BASE_URL}}/doctors", | |
"host": [ | |
"{{BASE_URL}}" | |
], | |
"path": [ | |
"doctors" | |
] | |
} | |
}, | |
"response": [], | |
"uid": "686744-7fba9858-9579-4c8f-b55e-8cbb0fea8de1" | |
}, | |
{ | |
"name": "List Provider Services", | |
"id": "616efbb4-880e-4a23-b2d4-6395425e0dc0", | |
"protocolProfileBehavior": { | |
"disableBodyPruning": true | |
}, | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "okadoc-auth-key", | |
"value": "04Yumurta92Helva!", | |
"type": "text" | |
} | |
], | |
"url": { | |
"raw": "{{BASE_URL}}/services?doctorID=112&facilityID=5", | |
"host": [ | |
"{{BASE_URL}}" | |
], | |
"path": [ | |
"services" | |
], | |
"query": [ | |
{ | |
"key": "doctorID", | |
"value": "112" | |
}, | |
{ | |
"key": "facilityID", | |
"value": "5" | |
} | |
] | |
} | |
}, | |
"response": [], | |
"uid": "686744-616efbb4-880e-4a23-b2d4-6395425e0dc0" | |
}, | |
{ | |
"name": "Find Provider Availabilities Stg", | |
"id": "aaea2773-ebaf-45be-8ed2-82848aad506a", | |
"protocolProfileBehavior": { | |
"disableBodyPruning": true | |
}, | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "okadoc-auth-key", | |
"value": "{{API_KEY}}", | |
"type": "text" | |
} | |
], | |
"url": { | |
"raw": "{{BASE_URL}}/availability?doctorID=112&facilityID=5&from=2025-05-15&to=2025-05-19", | |
"host": [ | |
"{{BASE_URL}}" | |
], | |
"path": [ | |
"availability" | |
], | |
"query": [ | |
{ | |
"key": "doctorID", | |
"value": "112" | |
}, | |
{ | |
"key": "facilityID", | |
"value": "5" | |
}, | |
{ | |
"key": "from", | |
"value": "2025-05-15" | |
}, | |
{ | |
"key": "to", | |
"value": "2025-05-19" | |
} | |
] | |
} | |
}, | |
"response": [], | |
"uid": "686744-aaea2773-ebaf-45be-8ed2-82848aad506a" | |
}, | |
{ | |
"name": "Find Patient", | |
"id": "25451a79-ba68-4f0f-a5a2-2dcb4fb70424", | |
"protocolProfileBehavior": { | |
"disableBodyPruning": true | |
}, | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "okadoc-auth-key", | |
"value": "{{API_KEY}}", | |
"type": "text" | |
} | |
], | |
"url": { | |
"raw": "{{BASE_URL}}/findPatient?document_type_id=0&patient_document_id=518254452520657938&mobile_number=%2b97100091904&birthday=1986-05-20", | |
"host": [ | |
"{{BASE_URL}}" | |
], | |
"path": [ | |
"findPatient" | |
], | |
"query": [ | |
{ | |
"key": "document_type_id", | |
"value": "0" | |
}, | |
{ | |
"key": "patient_document_id", | |
"value": "518254452520657938" | |
}, | |
{ | |
"key": "mobile_number", | |
"value": "%2b97100091904" | |
}, | |
{ | |
"key": "birthday", | |
"value": "1986-05-20" | |
} | |
] | |
} | |
}, | |
"response": [], | |
"uid": "686744-25451a79-ba68-4f0f-a5a2-2dcb4fb70424" | |
}, | |
{ | |
"name": "Book Appointment Stg New Patient", | |
"id": "c7ef7b22-bcc8-4089-b38a-ad4d84eb0748", | |
"protocolProfileBehavior": { | |
"disableBodyPruning": true | |
}, | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "okadoc-auth-key", | |
"value": "04Yumurta92Helva!", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"doctorID\": \"112\",\n \"clinicID\": \"5\",\n \"serviceID\": \"1\",\n \"time\": \"2025-05-16 11:20:00\",\n \"source\": \"Okadoc\",\n \"patient\": {\n \"gender\": \"female\",\n \"firstname\": \"Aisha\",\n \"lastname\": \"Test\",\n \"email\": \"test-mrn-12@test.com\",\n \"phone\": \"+965000912\",\n \"dateofbirth\": \"1957/19/03\",\n \"document_type_id\": \"1\",\n \"patient_document_id\": \"829515246694\"\n },\n \"patientAddress\": {\n \"city\": \"Dubai\",\n \"area\": \"Al Barsha\",\n \"address1\": \"Okadoc Building\",\n \"address2\": \"Floor 1, Room 101\",\n \"latitude\": \"25.19768220373967\",\n \"longitude\": \"55.273844179395624\",\n \"address_notes\": \"Near Carrefour Supermarket\"\n },\n \"notes\": \"TPA is MEDNET and insurance member id is 11111\",\n \"telemedicine_url\": \"https://okadoc.com\"\n}\n", | |
"options": { | |
"raw": { | |
"language": "json" | |
} | |
} | |
}, | |
"url": { | |
"raw": "{{BASE_URL}}/book", | |
"host": [ | |
"{{BASE_URL}}" | |
], | |
"path": [ | |
"book" | |
] | |
} | |
}, | |
"response": [], | |
"uid": "686744-c7ef7b22-bcc8-4089-b38a-ad4d84eb0748" | |
}, | |
{ | |
"name": "Book Appointment Stg Existing Patient", | |
"id": "f281cd49-6eae-438c-a0cf-c27f28adc894", | |
"protocolProfileBehavior": { | |
"disableBodyPruning": true | |
}, | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "okadoc-auth-key", | |
"value": "04Yumurta92Helva!", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"doctorID\": \"112\",\n \"clinicID\": \"5\",\n \"serviceID\": \"2\",\n \"time\": \"2025-05-16 11:20:00\",\n \"source\": \"Okadoc\",\n \"patient\": {\n \"id\": 87844\n },\n \"telemedicine_url\": \"https://okadoc.com\",\n \"notes\": \"Please check the insurance for AXA and member id as 11223344\"\n}\n", | |
"options": { | |
"raw": { | |
"language": "json" | |
} | |
} | |
}, | |
"url": { | |
"raw": "{{BASE_URL}}/book", | |
"host": [ | |
"{{BASE_URL}}" | |
], | |
"path": [ | |
"book" | |
] | |
} | |
}, | |
"response": [], | |
"uid": "686744-f281cd49-6eae-438c-a0cf-c27f28adc894" | |
}, | |
{ | |
"name": "Cancel Appointment Stg", | |
"id": "8e504f1d-5098-4765-841e-2497ba50377b", | |
"protocolProfileBehavior": { | |
"disableBodyPruning": true | |
}, | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "okadoc-auth-key", | |
"value": "04Yumurta92Helva!", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"bookingID\": \"25108\"\n}\n", | |
"options": { | |
"raw": { | |
"language": "json" | |
} | |
} | |
}, | |
"url": { | |
"raw": "{{BASE_URL}}/cancel", | |
"host": [ | |
"{{BASE_URL}}" | |
], | |
"path": [ | |
"cancel" | |
] | |
} | |
}, | |
"response": [], | |
"uid": "686744-8e504f1d-5098-4765-841e-2497ba50377b" | |
}, | |
{ | |
"name": "Reschedule Appointment Stg", | |
"id": "cf72f7d0-205e-4a7b-8eca-db35e9929a4e", | |
"protocolProfileBehavior": { | |
"disableBodyPruning": true | |
}, | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "okadoc-auth-key", | |
"value": "04Yumurta92Helva!", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\"bookingID\":\"221045\",\"time\":\"2025-03-09 20:00:00\"}", | |
"options": { | |
"raw": { | |
"language": "json" | |
} | |
} | |
}, | |
"url": { | |
"raw": "{{BASE_URL}}/reschedule", | |
"host": [ | |
"{{BASE_URL}}" | |
], | |
"path": [ | |
"reschedule" | |
] | |
} | |
}, | |
"response": [], | |
"uid": "686744-cf72f7d0-205e-4a7b-8eca-db35e9929a4e" | |
}, | |
{ | |
"name": "Update Payment Status Stg", | |
"id": "bd0f997c-a716-4ebf-87f6-c9e0860547b6", | |
"protocolProfileBehavior": { | |
"disableBodyPruning": true | |
}, | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "okadoc-auth-key", | |
"value": "04Yumurta92Helva!", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"bookingID\": \"215159\",\n \"status\": 1,\n \"amount\": 0,\n \"comment\": \"\"\n}\n", | |
"options": { | |
"raw": { | |
"language": "json" | |
} | |
} | |
}, | |
"url": { | |
"raw": "{{BASE_URL}}/updatePaymentStatus", | |
"host": [ | |
"{{BASE_URL}}" | |
], | |
"path": [ | |
"updatePaymentStatus" | |
] | |
} | |
}, | |
"response": [], | |
"uid": "686744-bd0f997c-a716-4ebf-87f6-c9e0860547b6" | |
} | |
], | |
"event": [ | |
{ | |
"listen": "prerequest", | |
"script": { | |
"type": "text/javascript", | |
"packages": {}, | |
"exec": [ | |
"" | |
], | |
"id": "ada734fe-3e7b-4e9c-b682-b17852bb039e" | |
} | |
}, | |
{ | |
"listen": "test", | |
"script": { | |
"type": "text/javascript", | |
"packages": {}, | |
"exec": [ | |
"" | |
], | |
"id": "4e5a876b-6c64-4018-851e-5298303caeea" | |
} | |
} | |
], | |
"variable": [ | |
{ | |
"key": "BASE_URL", | |
"value": "https://staging-adh.disc-me.cloud/okadoc/api", | |
"type": "string" | |
}, | |
{ | |
"key": "API_KEY", | |
"value": "04Yumurta92Helva!", | |
"type": "string" | |
}, | |
{ | |
"key": "LOCAL_BASE_URL", | |
"value": "http://localhost:8080/okadoc/api", | |
"type": "string" | |
}, | |
{ | |
"key": "LOCAL_API_KEY", | |
"value": "test1234", | |
"type": "string" | |
} | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment