pimplesushant-pere

Appointment GET API Response

Jan 16th, 2019
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 23.58 KB | None | 0 0
  1. {
  2.     "success": true,
  3.     "message": null,
  4.     "data": {
  5.         "id": 71,
  6.         "type": "N",
  7.         "date": "2019-01-13 00:00:00",
  8.         "status_id": 11,
  9.         "appointment_time": "2019-01-13 15:15:00",
  10.         "charges": null,
  11.         "qr_scan_date_time": null,
  12.         "completed_date_time": null,
  13.         "clinic_id": 315,
  14.         "user_id": 437,
  15.         "doctor_id": 317,
  16.         "patient_id": 437,
  17.         "speciality_id": 1,
  18.         "service_id": 1,
  19.         "patient_type": "U",
  20.         "start_time": "00:00",
  21.         "end_time": "02:00",
  22.         "rft_charge": 0,
  23.         "invoice": "path/to/invoice.pdf",
  24.         "medical_certificate": "path/to/medical_certificate.pdf",
  25.         "digital_signature": null,
  26.         "reschedule_count": 0,
  27.         "total_charge": 0,
  28.         "additional_charge": 1,
  29.         "additional_charge_tax": 0,
  30.         "total_additional_charge": 1,
  31.         "tax": 0,
  32.         "insurance_amount": 0,
  33.         "patient_amount": 1,
  34.         "remark": "sda sadsada",
  35.         "insurance_company_id": null,
  36.         "appointment_start_time": "2019-01-12 16:00:00",
  37.         "appointment_end_time": "2019-01-12 18:00:00",
  38.         "doctor_reviews_ratings": {
  39.             "reviews_count": 2,
  40.             "average_rating": 3.5
  41.         },
  42.         "appointment_status_history": [
  43.             {
  44.                 "id": 121,
  45.                 "appointment_id": 71,
  46.                 "status": "Completed",
  47.                 "doctor_id": 317,
  48.                 "doctor_name": "Antony Westwood Gardner",
  49.                 "doctor_time": "2019-01-13 15:15:00",
  50.                 "clinic": null,
  51.                 "location": "Singapore 228510",
  52.                 "reason": "",
  53.                 "speciality_name": "General practitioner",
  54.                 "service_name": "Lower Back Pain",
  55.                 "charges": "1",
  56.                 "distance": 5.414686722522924,
  57.                 "deleted_at": null,
  58.                 "doctor": {
  59.                     "id": 317,
  60.                     "title": "Mr.",
  61.                     "name": "Antony Westwood Gardner",
  62.                     "name_secondary": null,
  63.                     "email": "demodoctor49+2@gmail.com",
  64.                     "mobile": "+6565321017",
  65.                     "gender": "M",
  66.                     "dob": null,
  67.                     "profile_image": "/img/profile_images/image_1546258254.png",
  68.                     "location": null,
  69.                     "lat": null,
  70.                     "long": null,
  71.                     "country_id": null,
  72.                     "role": "D",
  73.                     "social_type": null,
  74.                     "forget_password_token": "MoWTGRLrNVYt",
  75.                     "referral_code": null,
  76.                     "referred_by": null,
  77.                     "device_type": null,
  78.                     "device_token": null,
  79.                     "apply_tax": 0,
  80.                     "is_payment_due": 0,
  81.                     "email_verified": 0,
  82.                     "phone_verified": 0,
  83.                     "nok_updated": 0,
  84.                     "do_not_show": 0,
  85.                     "is_active": 1,
  86.                     "otp": 98891,
  87.                     "otp_expired_at": "2018-11-23 17:45:10",
  88.                     "secondary_language": null,
  89.                     "deleted_at": null,
  90.                     "created_at": "2018-11-16T14:11:12+00:00",
  91.                     "updated_at": "2019-01-02T16:53:18+00:00",
  92.                     "social_token": null,
  93.                     "social_id": null,
  94.                     "certificates": [
  95.                         {
  96.                             "id": 21,
  97.                             "user_doctor_id": 317,
  98.                             "name": "MD",
  99.                             "name_secondary": null,
  100.                             "date": "2018-11-13 00:00:00",
  101.                             "deleted_at": null
  102.                         },
  103.                         {
  104.                             "id": 25,
  105.                             "user_doctor_id": 317,
  106.                             "name": "BBA",
  107.                             "name_secondary": null,
  108.                             "date": "2013-06-19 00:00:00",
  109.                             "deleted_at": null
  110.                         },
  111.                         {
  112.                             "id": 45,
  113.                             "user_doctor_id": 317,
  114.                             "name": "bdd",
  115.                             "name_secondary": null,
  116.                             "date": "2018-11-27 00:00:00",
  117.                             "deleted_at": null
  118.                         }
  119.                     ],
  120.                     "qualifications": [
  121.                         {
  122.                             "id": 1,
  123.                             "degree": "MD",
  124.                             "degree_secondary": null,
  125.                             "from_to_year": "2014",
  126.                             "user_doctor_id": 317,
  127.                             "deleted_at": null
  128.                         },
  129.                         {
  130.                             "id": 6,
  131.                             "degree": "BBAD",
  132.                             "degree_secondary": null,
  133.                             "from_to_year": "2004",
  134.                             "user_doctor_id": 317,
  135.                             "deleted_at": null
  136.                         },
  137.                         {
  138.                             "id": 54,
  139.                             "degree": "mba",
  140.                             "degree_secondary": null,
  141.                             "from_to_year": "2003",
  142.                             "user_doctor_id": 317,
  143.                             "deleted_at": null
  144.                         }
  145.                     ],
  146.                     "tags": [
  147.                         {
  148.                             "id": 6,
  149.                             "name": "General Physician",
  150.                             "deleted_at": null,
  151.                             "language_id": 1
  152.                         },
  153.                         {
  154.                             "id": 2,
  155.                             "name": "Dental Essence",
  156.                             "deleted_at": null,
  157.                             "language_id": 1
  158.                         },
  159.                         {
  160.                             "id": 12,
  161.                             "name": "hfjghjfdk",
  162.                             "deleted_at": null,
  163.                             "language_id": 1
  164.                         },
  165.                         {
  166.                             "id": 13,
  167.                             "name": "dfjkdfk",
  168.                             "deleted_at": null,
  169.                             "language_id": 1
  170.                         },
  171.                         {
  172.                             "id": 14,
  173.                             "name": "fhdfdfdf",
  174.                             "deleted_at": null,
  175.                             "language_id": 1
  176.                         }
  177.                     ],
  178.                     "languages": [
  179.                         {
  180.                             "id": 2,
  181.                             "name": "Chinese"
  182.                         }
  183.                     ],
  184.                     "doctor_details": [
  185.                         {
  186.                             "id": 1,
  187.                             "ratings": null,
  188.                             "reviews": null,
  189.                             "user_doctor_id": 317,
  190.                             "user_clinic_id": 315,
  191.                             "speciality_id": 1,
  192.                             "professional_statement": "Antony Westwood Gardner",
  193.                             "professional_statement_secondary": null,
  194.                             "awards": null,
  195.                             "membership": null,
  196.                             "document_proof": null,
  197.                             "year_of_experience": 0,
  198.                             "start_date_of_practice": "2018-11-08",
  199.                             "deleted_at": null,
  200.                             "qr_code": "/img/qr/doctor/317.png",
  201.                             "clinic": {
  202.                                 "id": 315,
  203.                                 "title": "Mr.",
  204.                                 "name": "Mount Elizabeth Hospital",
  205.                                 "name_secondary": null,
  206.                                 "email": "demodoctor49@gmail.com",
  207.                                 "mobile": null,
  208.                                 "gender": "M",
  209.                                 "dob": "1995-11-16",
  210.                                 "profile_image": "/img/clinic_logo/image_0.57805000 1547127599.png",
  211.                                 "location": "Singapore 228510",
  212.                                 "lat": "1.3538618",
  213.                                 "long": "103.81905899999992",
  214.                                 "country_id": 1,
  215.                                 "role": "C",
  216.                                 "social_type": "normal",
  217.                                 "forget_password_token": "umxen3DoD8S3",
  218.                                 "referral_code": null,
  219.                                 "referred_by": null,
  220.                                 "device_type": null,
  221.                                 "device_token": null,
  222.                                 "apply_tax": 0,
  223.                                 "is_payment_due": 0,
  224.                                 "email_verified": 1,
  225.                                 "phone_verified": 1,
  226.                                 "nok_updated": 1,
  227.                                 "do_not_show": 0,
  228.                                 "is_active": 1,
  229.                                 "otp": 31085,
  230.                                 "otp_expired_at": "2018-11-27 13:49:12",
  231.                                 "secondary_language": null,
  232.                                 "deleted_at": null,
  233.                                 "created_at": "2018-11-16T13:07:13+00:00",
  234.                                 "updated_at": "2019-01-10T13:39:59+00:00",
  235.                                 "social_token": null,
  236.                                 "social_id": null,
  237.                                 "certificates": [],
  238.                                 "qualifications": [],
  239.                                 "tags": [],
  240.                                 "languages": [],
  241.                                 "doctor_details": [],
  242.                                 "services": [],
  243.                                 "clinic_detail": null,
  244.                                 "clinic_images": [
  245.                                     {
  246.                                         "id": 11,
  247.                                         "user_clinic_id": 315,
  248.                                         "image": "/img/clinic_images/image_0.09082000 1542363185.png",
  249.                                         "deleted_at": null
  250.                                     },
  251.                                     {
  252.                                         "id": 12,
  253.                                         "user_clinic_id": 315,
  254.                                         "image": "/img/clinic_images/image_0.70484000 1542715720.png",
  255.                                         "deleted_at": null
  256.                                     },
  257.                                     {
  258.                                         "id": 13,
  259.                                         "user_clinic_id": 315,
  260.                                         "image": "/img/clinic_images/image_0.70568800 1542715720.png",
  261.                                         "deleted_at": null
  262.                                     },
  263.                                     {
  264.                                         "id": 14,
  265.                                         "user_clinic_id": 315,
  266.                                         "image": "/img/clinic_images/image_0.70630400 1542715720.png",
  267.                                         "deleted_at": null
  268.                                     },
  269.                                     {
  270.                                         "id": 15,
  271.                                         "user_clinic_id": 315,
  272.                                         "image": "/img/clinic_images/image_0.70691600 1542715720.png",
  273.                                         "deleted_at": null
  274.                                     },
  275.                                     {
  276.                                         "id": 69,
  277.                                         "user_clinic_id": 315,
  278.                                         "image": "/img/clinic_images/image_0.58702500 1547127599.png",
  279.                                         "deleted_at": null
  280.                                     },
  281.                                     {
  282.                                         "id": 70,
  283.                                         "user_clinic_id": 315,
  284.                                         "image": "/img/clinic_images/image_0.58737000 1547127599.png",
  285.                                         "deleted_at": null
  286.                                     }
  287.                                 ],
  288.                                 "countries": {
  289.                                     "id": 1,
  290.                                     "name": "Singapore",
  291.                                     "code": "SG",
  292.                                     "currency_symbol": "$",
  293.                                     "deleted_at": null,
  294.                                     "currency_abbrivation": "SGD",
  295.                                     "timezone": "UTC+08:00",
  296.                                     "flag": "https://restcountries.eu/data/sgp.svg",
  297.                                     "tax_percentage": 11,
  298.                                     "is_active": 1
  299.                                 }
  300.                             },
  301.                             "speciality": {
  302.                                 "id": 1,
  303.                                 "name": "General practitioner",
  304.                                 "image_url": "General.png",
  305.                                 "deleted_at": null,
  306.                                 "services": [
  307.                                     {
  308.                                         "id": 1,
  309.                                         "name": "Lower Back Pain",
  310.                                         "speciality_id": 1,
  311.                                         "deleted_at": null
  312.                                     },
  313.                                     {
  314.                                         "id": 2,
  315.                                         "name": "Shoulder Pain",
  316.                                         "speciality_id": 1,
  317.                                         "deleted_at": null
  318.                                     },
  319.                                     {
  320.                                         "id": 3,
  321.                                         "name": "Strengthening Exercise",
  322.                                         "speciality_id": 1,
  323.                                         "deleted_at": null
  324.                                     },
  325.                                     {
  326.                                         "id": 11,
  327.                                         "name": "Migraine",
  328.                                         "speciality_id": 1,
  329.                                         "deleted_at": null
  330.                                     },
  331.                                     {
  332.                                         "id": 48,
  333.                                         "name": "General Medical Check up",
  334.                                         "speciality_id": 1,
  335.                                         "deleted_at": null
  336.                                     }
  337.                                 ]
  338.                             }
  339.                         }
  340.                     ],
  341.                     "services": [
  342.                         {
  343.                             "id": 1,
  344.                             "name": "Lower Back Pain",
  345.                             "speciality_id": 1,
  346.                             "deleted_at": null
  347.                         },
  348.                         {
  349.                             "id": 2,
  350.                             "name": "Shoulder Pain",
  351.                             "speciality_id": 1,
  352.                             "deleted_at": null
  353.                         },
  354.                         {
  355.                             "id": 3,
  356.                             "name": "Strengthening Exercise",
  357.                             "speciality_id": 1,
  358.                             "deleted_at": null
  359.                         },
  360.                         {
  361.                             "id": 11,
  362.                             "name": "Migraine",
  363.                             "speciality_id": 1,
  364.                             "deleted_at": null
  365.                         }
  366.                     ],
  367.                     "clinic_detail": null,
  368.                     "clinic_images": [],
  369.                     "countries": null
  370.                 }
  371.             }
  372.         ],
  373.         "patient": {
  374.             "id": 437,
  375.             "title": "Mr.",
  376.             "name": "test",
  377.             "name_secondary": null,
  378.             "email": "ui@ui.com",
  379.             "mobile": "+919822599007",
  380.             "gender": "M",
  381.             "dob": "2018-11-27",
  382.             "profile_image": null,
  383.             "location": null,
  384.             "lat": null,
  385.             "long": null,
  386.             "country_id": null,
  387.             "role": "P",
  388.             "social_type": "normal",
  389.             "forget_password_token": null,
  390.             "referral_code": "xYsVwpt",
  391.             "referred_by": null,
  392.             "device_type": "Android",
  393.             "device_token": "c7yVd5Ov-N8:APA91bGNsgpGfSLJFNPZ_c6lbbsqCbmxg667E3vsKes-i2nQfSKwBjjeyE7OoJQSoQ6R4N9nqz7PuTp1ALjwnMaxd2w3191lohKVeWg7k8J6uopLvG9BzHBHb5hcoMfBAxkGSUpofp2m",
  394.             "apply_tax": 0,
  395.             "is_payment_due": 1,
  396.             "email_verified": 1,
  397.             "phone_verified": 1,
  398.             "nok_updated": 1,
  399.             "do_not_show": 0,
  400.             "is_active": 0,
  401.             "otp": 88166,
  402.             "otp_expired_at": "2019-01-04 17:54:04",
  403.             "secondary_language": null,
  404.             "deleted_at": null,
  405.             "created_at": "2018-11-27T16:01:30+00:00",
  406.             "updated_at": "2019-01-16T11:05:43+00:00",
  407.             "social_token": null,
  408.             "social_id": null,
  409.             "certificates": [],
  410.             "qualifications": [],
  411.             "tags": [],
  412.             "languages": [],
  413.             "doctor_details": [],
  414.             "services": [],
  415.             "clinic_detail": null,
  416.             "clinic_images": [],
  417.             "countries": null
  418.         },
  419.         "someone": null,
  420.         "rating": null,
  421.         "additional_charges": [
  422.             {
  423.                 "id": 1,
  424.                 "appointment_id": 71,
  425.                 "service_id": 11,
  426.                 "service_name": "Migraine",
  427.                 "charges": 1,
  428.                 "tax": 0
  429.             },
  430.             {
  431.                 "id": 2,
  432.                 "appointment_id": 71,
  433.                 "service_id": 3,
  434.                 "service_name": "Strengthening Exercise",
  435.                 "charges": 1,
  436.                 "tax": 0
  437.             },
  438.             {
  439.                 "id": 3,
  440.                 "appointment_id": 71,
  441.                 "service_id": 2,
  442.                 "service_name": "Shoulder Pain",
  443.                 "charges": 1,
  444.                 "tax": 0
  445.             },
  446.             {
  447.                 "id": 4,
  448.                 "appointment_id": 71,
  449.                 "service_id": 1,
  450.                 "service_name": "Lower Back Pain",
  451.                 "charges": 1,
  452.                 "tax": 0
  453.             },
  454.             {
  455.                 "id": 9,
  456.                 "appointment_id": 71,
  457.                 "service_id": 2,
  458.                 "service_name": "Shoulder Pain",
  459.                 "charges": 1,
  460.                 "tax": 0
  461.             },
  462.             {
  463.                 "id": 10,
  464.                 "appointment_id": 71,
  465.                 "service_id": 1,
  466.                 "service_name": "Lower Back Pain",
  467.                 "charges": 1,
  468.                 "tax": 0
  469.             },
  470.             {
  471.                 "id": 11,
  472.                 "appointment_id": 71,
  473.                 "service_id": 11,
  474.                 "service_name": "Migraine",
  475.                 "charges": 400,
  476.                 "tax": 0
  477.             },
  478.             {
  479.                 "id": 12,
  480.                 "appointment_id": 71,
  481.                 "service_id": 2,
  482.                 "service_name": "Shoulder Pain",
  483.                 "charges": 300,
  484.                 "tax": 0
  485.             },
  486.             {
  487.                 "id": 13,
  488.                 "appointment_id": 71,
  489.                 "service_id": 2,
  490.                 "service_name": "Shoulder Pain",
  491.                 "charges": 200,
  492.                 "tax": 0
  493.             },
  494.             {
  495.                 "id": 14,
  496.                 "appointment_id": 71,
  497.                 "service_id": 1,
  498.                 "service_name": "Lower Back Pain",
  499.                 "charges": 100,
  500.                 "tax": 0
  501.             },
  502.             {
  503.                 "id": 15,
  504.                 "appointment_id": 71,
  505.                 "service_id": 1,
  506.                 "service_name": "Lower Back Pain",
  507.                 "charges": 1,
  508.                 "tax": 0
  509.             },
  510.             {
  511.                 "id": 16,
  512.                 "appointment_id": 71,
  513.                 "service_id": 1,
  514.                 "service_name": "Lower Back Pain",
  515.                 "charges": 1,
  516.                 "tax": 0
  517.             },
  518.             {
  519.                 "id": 17,
  520.                 "appointment_id": 71,
  521.                 "service_id": 2,
  522.                 "service_name": "Shoulder Pain",
  523.                 "charges": 5000,
  524.                 "tax": 0
  525.             },
  526.             {
  527.                 "id": 18,
  528.                 "appointment_id": 71,
  529.                 "service_id": 2,
  530.                 "service_name": "Shoulder Pain",
  531.                 "charges": 1,
  532.                 "tax": 0
  533.             },
  534.             {
  535.                 "id": 19,
  536.                 "appointment_id": 71,
  537.                 "service_id": 1,
  538.                 "service_name": "Lower Back Pain",
  539.                 "charges": 1,
  540.                 "tax": 0
  541.             },
  542.             {
  543.                 "id": 20,
  544.                 "appointment_id": 71,
  545.                 "service_id": 2,
  546.                 "service_name": "Shoulder Pain",
  547.                 "charges": 1,
  548.                 "tax": 0
  549.             },
  550.             {
  551.                 "id": 21,
  552.                 "appointment_id": 71,
  553.                 "service_id": 1,
  554.                 "service_name": "Lower Back Pain",
  555.                 "charges": 1,
  556.                 "tax": 0
  557.             },
  558.             {
  559.                 "id": 22,
  560.                 "appointment_id": 71,
  561.                 "service_id": 11,
  562.                 "service_name": "Migraine",
  563.                 "charges": 1,
  564.                 "tax": 0
  565.             },
  566.             {
  567.                 "id": 23,
  568.                 "appointment_id": 71,
  569.                 "service_id": 1,
  570.                 "service_name": "Lower Back Pain",
  571.                 "charges": 1,
  572.                 "tax": 0
  573.             },
  574.             {
  575.                 "id": 24,
  576.                 "appointment_id": 71,
  577.                 "service_id": 11,
  578.                 "service_name": "Migraine",
  579.                 "charges": 1,
  580.                 "tax": 0
  581.             },
  582.             {
  583.                 "id": 25,
  584.                 "appointment_id": 71,
  585.                 "service_id": 3,
  586.                 "service_name": "Strengthening Exercise",
  587.                 "charges": 1,
  588.                 "tax": 0
  589.             },
  590.             {
  591.                 "id": 26,
  592.                 "appointment_id": 71,
  593.                 "service_id": 3,
  594.                 "service_name": "Strengthening Exercise",
  595.                 "charges": 1,
  596.                 "tax": 0
  597.             }
  598.         ]
  599.     }
  600. }
Add Comment
Please, Sign In to add comment