{"info":{"_postman_id":"1206ca09-4a53-43fa-b772-fccd923d2424","name":"MIA","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json"},"item":[{"name":"PDF Signature","item":[{"name":"CC Auth SX (request from SalesForce)","id":"ffea6118-8441-467d-b9a6-b986d64651cf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"recipients\": [\"gavrilenko.php@gmail.com\"],\n\t\"opportunityId\": \"0061M000012nd32QAA\",\n\t\"userId\": \"0051M000007Y5LD\",\n\t\"sessionId\": \"hKo7X6CuyMblxt4mR5tXdL4DeU8nB9VtCP139oPXMn2Z1noqnD\",\n\t\"message_subject\": \"CC for Sergey\",\n\t\"message_body\": \"Thank you for choosing Mia Aesthetics\",\n\t\"signed_document_id\": \"a0r1M00000FLORpQAP\",\n\t\"document_title\": \"Creditka documento\",\n\t\"clinic_address\": \"Miami Clinic 9300 sw 72nd St Miami, FL 33173\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/pdf-document/opportunity/cc-auth"},"response":[],"_postman_id":"ffea6118-8441-467d-b9a6-b986d64651cf"},{"name":"Get predefined Info","id":"68d061aa-d462-4b23-a712-9c9a864a89fe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"11775a3e9a0404f91f55ec7901d59644","type":"text"}],"url":"{{base_url}}/pdf-document/predefined-data"},"response":[{"id":"ec4910cd-3e10-42b8-9e2c-a4424fe1956a","name":"Get predefined Info","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"cc3b2d82d64124564b11aaf8737dddde","type":"text"}],"url":"{{base_url}}/crm-predefined-data"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 20 Feb 2020 17:03:37 GMT"},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)"},{"key":"Vary","value":"Authorization"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"300"},{"key":"X-RateLimit-Remaining","value":"297"},{"key":"Content-Length","value":"433"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"full_name\": \"sergey Sergey Havrylenko\",\n        \"first_name\": \"sergey\",\n        \"last_name\": \"Sergey Havrylenko\",\n        \"state\": \"Utah\",\n        \"mobile_phone\": \"+380966614887\",\n        \"email\": \"gavrilenko.php@gmail.com\",\n        \"surgery_date\": \"01/08/2020\",\n        \"surgeon\": \"Alvarez\",\n        \"coordinator\": \"Layla Espinel\",\n        \"document_title\": \"Surgery document title\",\n        \"clinic_address\": \"Austin Clinic 6929 Airport Blvd #103, Austin, TX 78752\",\n        \"document_language\": \"en\"\n    },\n    \"meta\": {\n        \"status\": \"success\"\n    }\n}"}],"_postman_id":"68d061aa-d462-4b23-a712-9c9a864a89fe"},{"name":"CC Auth Make Unsigned PDF","id":"f838744c-148a-4b63-b0f0-ea56ac5fca9b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"03f6d5b750405e35ce9ae895cf4c770a","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"full_name\": \"Serhii Havrylenko\",\n\t\"amount\": \"100\",\n\t\"description_of_services\": \"Description of service\",\n\t\"billing_address\": \"Otakara Yarosha 51\",\n\t\"phone\": \"380966614887\",\n\t\"city_state_zip\": \"Kharkov\",\n\t\"email\": \"gavrilenko.php@gmail.com\",\n\t\"account_type\": \"Mastercard\",\n\t\"cardholder_name\": \"Serhii\",\n\t\"account_number\": \"777\",\n\t\"expiration_date\": \"02/02/2022\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/pdf-document/cc-auth"},"response":[{"id":"4e48f1c2-c1f5-416f-aa66-a53e82db7afc","name":"Get predefined Info SUCCESS RESPONSE EXAMPLE","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{base_url}}/crm-patient-data?token=65554de6e2c9fa7db0fedd0c666a8323","host":["{{base_url}}"],"path":["crm-patient-data"],"query":[{"key":"token","value":"65554de6e2c9fa7db0fedd0c666a8323"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 28 Nov 2019 12:56:31 GMT"},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Content-Length","value":"145"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"Name\": \"sergey havrylenko\",\n        \"State\": \"Utah\",\n        \"MobilePhone\": \"+380966614887\",\n        \"Email\": \"gavrilenko.php@gmail.com\"\n    },\n    \"meta\": {\n        \"status\": \"success\"\n    }\n}"}],"_postman_id":"f838744c-148a-4b63-b0f0-ea56ac5fca9b"},{"name":"Save audit info","id":"9a775515-fd2d-4ecc-84fe-a45a9d5b10aa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"11775a3e9a0404f91f55ec7901d59644","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"ip\": \"192.168.0.3\",\n\t\"time\": \"1574844470\",\n\t\"accept_language\": \"fr-CH, fr;q=0.9, en;q=0.8, de;q=0.7, *;q=0.5\",\n\t\"user_agent\": \"Chrome/27.0.1453.90 Safari/537.36\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/pdf-document/audit-info"},"response":[{"id":"63bdfd9a-0b32-4089-984e-f8b51d50f13b","name":"Save audit info EXAMPLE ERROR RESPONSE","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"token\": \"4c9514bd780d26374b4909fb0acfdc75\",\n\t\"ip\": \"192.168\",\n\t\"time\": \"1574844470\",\n\t\"accept_language\": \"fr-CH, fr;q=0.9, en;q=0.8, de;q=0.7, *;q=0.5\",\n\t\"user_agent\": \"Chrome/27.0.1453.90 Safari/537.36\"\n}","options":{"raw":{"language":"json"}}},"url":"http://mia.local/api/pdf-signature-audit-info"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 27 Nov 2019 13:52:52 GMT"},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Content-Length","value":"120"},{"key":"Connection","value":"close"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"meta\": {\n        \"status\": \"error\",\n        \"message\": \"The given data was invalid.\",\n        \"errors\": {\n            \"ip\": \"The ip must be a valid IP address.\"\n        }\n    }\n}"},{"id":"f8077cbe-38f1-44da-8adb-30a414e17d68","name":"Save audit info EXAMPLE RESPONSE","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"token\": \"4c9514bd780d26374b4909fb0acfdc75\",\n\t\"ip\": \"192.168.0.3\",\n\t\"time\": \"1574844470\",\n\t\"accept_language\": \"fr-CH, fr;q=0.9, en;q=0.8, de;q=0.7, *;q=0.5\",\n\t\"user_agent\": \"Chrome/27.0.1453.90 Safari/537.36\"\n}","options":{"raw":{"language":"json"}}},"url":"http://mia.local/api/pdf-signature-audit-info"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 27 Nov 2019 13:52:18 GMT"},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Content-Length","value":"193"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"ip\": \"192.168.0.3\",\n        \"time\": \"1574844470\",\n        \"accept_language\": \"fr-CH, fr;q=0.9, en;q=0.8, de;q=0.7, *;q=0.5\",\n        \"user_agent\": \"Chrome/27.0.1453.90 Safari/537.36\"\n    },\n    \"meta\": {\n        \"status\": \"success\"\n    }\n}"}],"_postman_id":"9a775515-fd2d-4ecc-84fe-a45a9d5b10aa"},{"name":"CC Auth PDF (sign)","id":"c015bad8-a0ce-42f3-ad06-c576fbc3ac10","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"03f6d5b750405e35ce9ae895cf4c770a"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Snigga\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/pdf-document/cc-auth"},"response":[{"id":"92a3ff9d-fc5d-4ed9-94b8-f8fa9073cd8b","name":"Get predefined Info SUCCESS RESPONSE EXAMPLE","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{base_url}}/crm-patient-data?token=65554de6e2c9fa7db0fedd0c666a8323","host":["{{base_url}}"],"path":["crm-patient-data"],"query":[{"key":"token","value":"65554de6e2c9fa7db0fedd0c666a8323"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 28 Nov 2019 12:56:31 GMT"},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Content-Length","value":"145"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"Name\": \"sergey havrylenko\",\n        \"State\": \"Utah\",\n        \"MobilePhone\": \"+380966614887\",\n        \"Email\": \"gavrilenko.php@gmail.com\"\n    },\n    \"meta\": {\n        \"status\": \"success\"\n    }\n}"}],"_postman_id":"c015bad8-a0ce-42f3-ad06-c576fbc3ac10"},{"name":"Surgery contract (request from SalesForce)","id":"c85b673c-cc37-42b6-baae-594ee10066df","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"recipients\": [\"gavrilenko.php@gmail.com\"],\n\t\"opportunityId\": \"0061M000012nd32QAA\",\n\t\"userId\": \"0051M000007Y5LD\",\n\t\"sessionId\": \"hKo7X6CuyMblxt4mR5tXdL4DeU8nB9VtCP139oPXMn2Z1noqnD\",\n\t\"message_subject\": \"Surgery Contract for Sergey\",\n\t\"message_body\": \"Thank you for choosing Mia Aesthetics!In order to secure your surgery date please sign and return this agreement at your earliest convenience.\",\n\t\"signed_document_id\": \"a0r1M00000FLOO2QAP\",\n\t\"document_title\": \"Surgery document title\",\n\t\"clinic_address\": \"Austin Clinic 6929 Airport Blvd #103, Austin, TX 78752\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/pdf-document/opportunity/surgery"},"response":[],"_postman_id":"c85b673c-cc37-42b6-baae-594ee10066df"},{"name":"Surgery contract Spanish (request from SalesForce)","id":"87f3426d-1a9d-4f55-be2b-0b1d4b2c3fcf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"recipients\": [\"gavrilenko.php@gmail.com\"],\n\t\"opportunityId\": \"0061M000012nd32QAA\",\n\t\"userId\": \"0051M000007Y5LD\",\n\t\"sessionId\": \"hKo7X6CuyMblxt4mR5tXdL4DeU8nB9VtCP139oPXMn2Z1noqnD\",\n\t\"message_subject\": \"Surgery Contract for Sergey\",\n\t\"message_body\": \"Thank you for choosing Mia Aesthetics!In order to secure your surgery date please sign and return this agreement at your earliest convenience.\",\n\t\"signed_document_id\": \"a0r1M00000FLOO2QAP\",\n\t\"document_title\": \"Surgery document title\",\n\t\"clinic_address\": \"Austin Clinic 6929 Airport Blvd #103, Austin, TX 78752\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/pdf-document/opportunity/surgery/spanish"},"response":[],"_postman_id":"87f3426d-1a9d-4f55-be2b-0b1d4b2c3fcf"},{"name":"Surgery Contract Make Unsigned PDF","id":"8a05cc68-b893-49f6-ad43-7bc39e506052","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"fd138eca20676e8b44bb9a6d43980660","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"template_name\": \"Mia_AUSTIN_SX_Contract_english.docx\",\n\t\"first_name\": \"Serhii\",\n\t\"last_name\": \"Havrylenko\",\n\t\"email\": \"gavrilenko.php@gmail.com\",\n\t\"surgery_date\": \"01-01-2020\",\n\t\"surgeon\": \"Deadpool\",\n\t\"coordinator\": \"Dr.House\",\n\t\"description_of_services\": [\n\t\t{\n\t\t\t\"Brazillian butt lift w TT\": \"100\"\n\t\t},\n\t\t{\n\t\t\t\"Chin implant\": \"200\"\n\t\t},\n\t\t{\n\t\t\t\"Revision\": \"300\"\n\t\t},\n\t\t{\n\t\t\t\"Liposuction\": \"400\"\n\t\t},\n\t\t{\n\t\t\t\"Otoplasty\": \"500\"\n\t\t},\n\t\t{\n\t\t\t\"Rhinoplasty\": \"600\"\n\t\t},\n\t\t{\n\t\t\t\"Tummy Tuck\": \"700\"\n\t\t},\n\t\t{\n\t\t\t\"Circumferential Lift\": \"800\"\n\t\t}\n\t]\n\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/pdf-document/surgery"},"response":[{"id":"654cf40b-d27c-4339-8228-3e8651fed7d8","name":"Surgery Contract Make Unsigned PDF","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"14a78ad206c5f1c275d14fe52bf0d1c8","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"first_name\": \"Serhii\",\n\t\"last_name\": \"Havrylenko\",\n\t\"email\": \"gavrilenko.php@gmail.com\",\n\t\"surgery_date\": \"01-01-2020\",\n\t\"surgeon\": \"Deadpool\",\n\t\"coordinator\": \"Dr.House\",\n\t\"description_of_services\": [\n\t\t{\n\t\t\t\"Brazillian butt lift w TT\": \"100\"\n\t\t},\n\t\t{\n\t\t\t\"Chin implant\": \"200\"\n\t\t},\n\t\t{\n\t\t\t\"Revision\": \"300\"\n\t\t},\n\t\t{\n\t\t\t\"Liposuction\": \"400\"\n\t\t},\n\t\t{\n\t\t\t\"Otoplasty\": \"500\"\n\t\t},\n\t\t{\n\t\t\t\"Rhinoplasty\": \"600\"\n\t\t},\n\t\t{\n\t\t\t\"Tummy Tuck\": \"700\"\n\t\t},\n\t\t{\n\t\t\t\"Circumferential Lift\": \"800\"\n\t\t}\n\t]\n\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/surgery-contract-not-signed-pdf"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 23 Dec 2019 14:36:52 GMT"},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)"},{"key":"Vary","value":"Authorization"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"300"},{"key":"X-RateLimit-Remaining","value":"297"},{"key":"Content-Length","value":"81"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"token\": \"14a78ad206c5f1c275d14fe52bf0d1c8\"\n    },\n    \"meta\": {\n        \"status\": \"success\"\n    }\n}"}],"_postman_id":"8a05cc68-b893-49f6-ad43-7bc39e506052"},{"name":"Surgery contract PDF (sign)","id":"a59c9e56-35cd-4bbc-85b7-d011f09605bb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"fd138eca20676e8b44bb9a6d43980660"}],"body":{"mode":"raw","raw":"{\n\t\"signature\": \"Snigger\",\n\t\"initials\": \"S.H.\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/pdf-document/surgery"},"response":[{"id":"5331fc04-dc63-4f9b-a55e-5c3b0ca743d0","name":"Surgery contract PDF (sign) ","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"fc6362d88655874cf28c7ab97517e32d"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Snigger\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/surgery-contract-pdf"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.1"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.2.18"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 20 Dec 2019 14:32:07 GMT"},{"key":"X-RateLimit-Limit","value":"300"},{"key":"X-RateLimit-Remaining","value":"298"},{"key":"Strict-Transport-Security","value":"max-age=16070400; includeSubdomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"surgery_contract_pdf_link\": \"https://pdf-contracts.s3.us-east-2.amazonaws.com/fc6362d88655874cf28c7ab97517e32d/Surgery_Contract_Mia_Aesthetics.pdf\"\n    },\n    \"meta\": {\n        \"status\": \"success\"\n    }\n}"}],"_postman_id":"a59c9e56-35cd-4bbc-85b7-d011f09605bb"},{"name":"Med Q (request from Salesforce)","id":"71d2f4ac-23f0-49b8-80ae-eec41177fe87","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"recipients\": [\"gavrilenko.php@gmail.com\"],\n\t\"opportunityId\": \"0061M000012nd32QAA\",\n\t\"userId\": \"0051M000007Y5LD\",\n\t\"sessionId\": \"hKo7X6CuyMblxt4mR5tXdL4DeU8nB9VtCP139oPXMn2Z1noqnD\",\n\t\"message_subject\": \"Surgery Contract for Sergey\",\n\t\"message_body\": \"Thank you for choosing Mia Aesthetics!In order to secure your surgery date please sign and return this agreement at your earliest convenience.\",\n\t\"signed_document_id\": \"a0r1M00000FLKhDQAX\",\n\t\"document_title\": \"Surgery document title\",\n\t\"clinic_address\": \"Austin Clinic 6929 Airport Blvd #103, Austin, TX 78752\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/pdf-document/opportunity/medical-questions"},"response":[],"_postman_id":"71d2f4ac-23f0-49b8-80ae-eec41177fe87"},{"name":"Medical questions Make PDF","id":"eead051a-15c7-4aea-9bdb-92b835aa0634","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"fd138eca20676e8b44bb9a6d43980660","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"mh-name\": \"Serhii\",\n\t\"mh-email\": \"gavrilenko.php@gmail.com\",\n\t\"mh-cell-number\": \"380966614887\",\n\t\"mh-adress\": \"Otaka Yarosha 51\",\n\t\"mh-state\": \"Kharkiv\",\n\t\"mh-em-contact\": \"911\",\n\t\"mh-height\": \"180\",\n\t\"mh-marital-status\": \"marital status\",\n\t\"mh-p-c-d\": \"dr.House\",\n\t\"mh-date-last-e\": \"12-12-2012\",\n\t\"mh-gender\": \"female\",\n\t\"mh-dob\": \"dob\",\n\t\"mh-home-number\": \"777\",\n\t\"mh-city\": \"Kharkiv\",\n\t\"mh-zip-code\": \"3303\",\n\t\"mh-phone\": \"380966614887\",\n\t\"mh-weight\": \"85\",\n\t\"mh-occupation\": \"occupation\",\n\t\"mh-office-phone\": \"123, 321\",\n\t\"mh-redered-by\": \"Daria Batkovna\",\n\t\"hh-good-health\": \"yes\",\n\t\"hh-under-medical-treatment\": \"no\",\n\t\"hh-hospitalized-5-years\": \"no\",\n\t\"hh-hospitalized-5-years-explain\": \"explained\",\n\t\"hh-taking-medication\": \"no\",\n\t\"hh-taking-redux\": \"yes\",\n\t\"hh-use-tobacco\": \"no\",\n\t\"hh-use-substances\": \"no\",\n\t\"hh-contact-lenses\": \"no\",\n\t\"hh-following\": \"yes\",\n    \"hh-you-pregnant\": \"no\",\n    \"hh-you-nursing\": \"yes\",\n    \"hh-oral-contraceptives\": \"no\",\n    \"hh-local-anesthetics\": \"no\",\n    \"hh-penicillin-antibiotics\": \"no\",\n    \"hh-sulfa-drugs\": \"no\",\n    \"hh-barbiturates\": \"yes\",\n    \"hh-sedatives\": \"yes\",\n    \"hh-iodine\": \"yes\",\n    \"hh-aspirin\": \"yes\",\n    \"hh-any-metals\": \"yes\",\n    \"hh-any-latex\": \"yes\",\n    \"hh-other-please-list\": \"no\",\n    \"hh-other-please-list-text\": \"I'm allergic to dumb people\",\n    \"chp-high-blood-pressure\": \"no\",\n    \"chp-heart-disease\": \"no\",\n    \"chp-chest-pains\": \"no\",\n    \"chp-heart-attack\": \"no\",\n    \"chp-cardiac-pacemaker\": \"no\",\n    \"chp-easily-winded\": \"no\",\n    \"chp-rheumatic-fever\": \"no\",\n    \"chp-heart-murmur\": \"no\",\n    \"chp-stroke\": \"no\",\n    \"chp-swollen-ankles\": \"no\",\n    \"chp-angina\": \"yes\",\n    \"chp-fever-allergies\": \"no\",\n    \"chp-fainting-seizures\": \"no\",\n    \"chp-frequently-tired\": \"no\",\n    \"chp-tuberculosis\": \"no\",\n    \"chp-asthma\": \"yes\",\n    \"chp-anemia\": \"no\",\n    \"chp-radiation-therapy\": \"no\",\n    \"chp-low-blood-pressure\": \"yes\",\n    \"chp-emphysema\": \"no\",\n    \"chp-glaucoma\": \"no\",\n    \"chp-epilepsy-convulsions\": \"no\",\n    \"chp-cancer\": \"no\",\n    \"chp-recent-weight-lass\": \"no\",\n    \"chp-leukemia\": \"no\",\n    \"chp-arthritis\": \"no\",\n    \"chp-liver-disease\": \"no\",\n    \"chp-diabetes\": \"no\",\n    \"chp-replacement-implant\": \"no\",\n    \"chp-heart-trouble\": \"no\",\n    \"chp-kidney-diseases\": \"no\",\n    \"chp-hepatitis-jaundice\": \"no\",\n    \"chp-respiratory-problems\": \"no\",\n    \"chp-aids-hiv\": \"no\",\n    \"chp-std\": \"no\",\n    \"chp-thyroid-problem\": \"no\",\n    \"chp-stomach-ulcers\": \"no\",\n    \"chp-other-text\": \"other text\",\n    \"chp-other\": \"yes\",\n    \"other-abnormal-bleeding\": \"no\",\n    \"other-blood-transfusion\": \"no\",\n    \"other-disorder-anemia\": \"no\",\n    \"other-tumor-growth\": \"no\",\n    \"other-trouble-treatment-text\": \"treatment\",\n    \"other-trouble-treatment\": \"no\",\n    \"other-condition-disease-text\": \"disease\",\n    \"other-condition-disease\": \"no\",\n    \"other-surgical-procedures-text\": \"surgical procedures\",\n    \"other-surgical-procedures\": \"no\",\n    \"other-smoke-text\": \"too much\",\n    \"other-smoke\": \"no\",\n    \"other-alcohol-text\": \"alcoholic\",\n    \"other-alcohol\": \"no\",\n    \"other-complaint\": \"complaint\",\n    \"aar-x\": \"Havrylenko\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/pdf-document/medical-questions"},"response":[{"id":"504dce17-4cdf-41bd-bd40-aa07d62aa080","name":"Surgery Contract Make Unsigned PDF","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"14a78ad206c5f1c275d14fe52bf0d1c8","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"first_name\": \"Serhii\",\n\t\"last_name\": \"Havrylenko\",\n\t\"email\": \"gavrilenko.php@gmail.com\",\n\t\"surgery_date\": \"01-01-2020\",\n\t\"surgeon\": \"Deadpool\",\n\t\"coordinator\": \"Dr.House\",\n\t\"description_of_services\": [\n\t\t{\n\t\t\t\"Brazillian butt lift w TT\": \"100\"\n\t\t},\n\t\t{\n\t\t\t\"Chin implant\": \"200\"\n\t\t},\n\t\t{\n\t\t\t\"Revision\": \"300\"\n\t\t},\n\t\t{\n\t\t\t\"Liposuction\": \"400\"\n\t\t},\n\t\t{\n\t\t\t\"Otoplasty\": \"500\"\n\t\t},\n\t\t{\n\t\t\t\"Rhinoplasty\": \"600\"\n\t\t},\n\t\t{\n\t\t\t\"Tummy Tuck\": \"700\"\n\t\t},\n\t\t{\n\t\t\t\"Circumferential Lift\": \"800\"\n\t\t}\n\t]\n\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/surgery-contract-not-signed-pdf"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 23 Dec 2019 14:36:52 GMT"},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)"},{"key":"Vary","value":"Authorization"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"300"},{"key":"X-RateLimit-Remaining","value":"297"},{"key":"Content-Length","value":"81"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"token\": \"14a78ad206c5f1c275d14fe52bf0d1c8\"\n    },\n    \"meta\": {\n        \"status\": \"success\"\n    }\n}"}],"_postman_id":"eead051a-15c7-4aea-9bdb-92b835aa0634"},{"name":"Get PDF from word document","id":"eece82e2-4524-47bb-90ff-a818111cf5bf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"a3be05b8ce44dfa6e42bac856423eea7"}],"url":{"raw":"{{base_url}}/pdf-document/template?word_document_name=Mia_AUSTIN_SX_Contract_english.docx","host":["{{base_url}}"],"path":["pdf-document","template"],"query":[{"key":"word_document_name","value":"Mia_AUSTIN_SX_Contract_english.docx"}]}},"response":[{"id":"e13ed99d-b5c4-4158-b378-620bae726251","name":"Get PDF from word document","originalRequest":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"551abf533f0821d9f1505c4fd328e03b"}],"url":{"raw":"{{base_url}}/pdf-template?word_document_name=Mia_AUSTIN_SX_Contract_english.docx","host":["{{base_url}}"],"path":["pdf-template"],"query":[{"key":"word_document_name","value":"Mia_AUSTIN_SX_Contract_english.docx"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 26 Feb 2020 14:51:05 GMT"},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)"},{"key":"Vary","value":"Authorization"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"300"},{"key":"X-RateLimit-Remaining","value":"299"},{"key":"Content-Length","value":"186"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"document_url\": \"https://temporary-pdf-contracts.s3.us-east-2.amazonaws.com/f6094a61216b65031d193671df9e4555/Mia_AUSTIN_SX_Contract_english.pdf\"\n    },\n    \"meta\": {\n        \"status\": \"success\"\n    }\n}"}],"_postman_id":"eece82e2-4524-47bb-90ff-a818111cf5bf"}],"id":"0793a760-8c9d-4c26-83bd-343878f94bc8","_postman_id":"0793a760-8c9d-4c26-83bd-343878f94bc8"},{"name":"Mobile","item":[{"name":"contact-us (mobile))","id":"1ff368dd-4e73-480a-954e-92e3393ae271","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-Auth-Token","value":"21aab516d69b32bfbcf9992aa0bd8d31c83eaad4","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"qwe","type":"text"},{"key":"lang","value":"English","type":"text"},{"key":"email","value":"gavrilenko.php@gmail.com","type":"text"},{"key":"type","value":"1","type":"text"},{"key":"images","type":"file","src":"/home/user/Downloads/44.jpg"},{"key":"phone","value":"38096614887","type":"text"},{"key":"message","value":"qweqweq","type":"text"}]},"url":"{{base_url}}/contact-us"},"response":[{"id":"714c7522-4c3d-400d-911a-b7295db5cc50","name":"Get predefined Info SUCCESS RESPONSE EXAMPLE","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{base_url}}/crm-patient-data?token=65554de6e2c9fa7db0fedd0c666a8323","host":["{{base_url}}"],"path":["crm-patient-data"],"query":[{"key":"token","value":"65554de6e2c9fa7db0fedd0c666a8323"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 28 Nov 2019 12:56:31 GMT"},{"key":"Server","value":"Apache/2.4.18 (Ubuntu)"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Content-Length","value":"145"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"Name\": \"sergey havrylenko\",\n        \"State\": \"Utah\",\n        \"MobilePhone\": \"+380966614887\",\n        \"Email\": \"gavrilenko.php@gmail.com\"\n    },\n    \"meta\": {\n        \"status\": \"success\"\n    }\n}"}],"_postman_id":"1ff368dd-4e73-480a-954e-92e3393ae271"}],"id":"6857e242-0845-43e8-8615-184c1ec41726","_postman_id":"6857e242-0845-43e8-8615-184c1ec41726"},{"name":"SalesForce","item":[{"name":"(Salesforce) select from lead where email. example","id":"3d1bdc20-7816-487a-b525-3559cbff85d6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth"},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://mia.my.salesforce.com/services/data/v47.0/query?q=SELECT+Id+FROM+Lead+WHERE+email+%3D+%27gavrilenko.php%40gmail.com%27","protocol":"https","host":["mia","my","salesforce","com"],"path":["services","data","v47.0","query"],"query":[{"key":"q","value":"SELECT+Id+FROM+Lead+WHERE+email+%3D+%27gavrilenko.php%40gmail.com%27"}]}},"response":[],"_postman_id":"3d1bdc20-7816-487a-b525-3559cbff85d6"},{"name":"(Salesforce) select from lead where email. example Copy","id":"62cd1f15-7ca5-4898-932c-818c2f12a5ae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth"},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://mia.my.salesforce.com/services/data/v47.0/query?q=SELECT+Id+FROM+Lead+WHERE+email+%3D+%27gavrilenko.php%40gmail.com%27","protocol":"https","host":["mia","my","salesforce","com"],"path":["services","data","v47.0","query"],"query":[{"key":"q","value":"SELECT+Id+FROM+Lead+WHERE+email+%3D+%27gavrilenko.php%40gmail.com%27"}]}},"response":[],"_postman_id":"62cd1f15-7ca5-4898-932c-818c2f12a5ae"}],"id":"88721ded-8484-45a7-8287-03a76eb76b50","_postman_id":"88721ded-8484-45a7-8287-03a76eb76b50"},{"name":"AWS","item":[{"name":"gateway_lambda PRODUCTION","id":"32ea7715-83f3-4acc-b248-1f02297ee00d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{ \n  \"Email\": \"brason.imani@oolloo.org\",\n  \"Date_of_Birth__c\": \"2010-01-01\",\n  \"Weight__c\": \"40\",\n  \"MDQ_Height__c\": \"4'5\",\n  \"Excluding_Conditions__c\": \"B-Beta Thalassemia DISEASE\",\n  \"Have_any_other_medical_conditions__c\": \"Yes\",\n  \"Which_Other_Medical_Conditions__c\": \"SSSSSSSSS\",\n  \"Medications__c\": \"Yes\",\n  \"Which_Medication_s__c\": \"medisions\",\n  \"Had_a_Previous_Procedure__c\": \"Yes\",\n  \"Type_of_Procedure__c\": \"type\",\n  \"Previous_Procedure_Date__c\": \"2001-01-01\",\n  \"Hospitalized_for_any_procedure_or_illnes__c\": \"Yes\",\n  \"Type_of_Hospitalization__c\": \"pop\",\n  \"Fat_burners_or_Diet_pills__c\": \"Yes\",\n  \"Drug_allergies__c\": \"Yes\",\n  \"Which_Allergies__c\": \"Allergies\",\n  \"Nicotine__c\": \"Yes\",\n  \"controlled_substances_use__c\": \"Yes\",\n  \"Sex__c\": \"Female\",\n  \"Abortions__c\": \"Yes\",\n  \"Currently_Pregnant__c\": \"Yes\",\n  \"Currently_Nursing__c\": \"Yes\",\n  \"Taking_oral_contraceptives__c\": \"Yes\",\n  \"Procedure_Interest__c\": \"Liposuction\",\n  \"Expected_Procedure_Date__c\": \"Within 3 months\",\n  \"body_pics\": \"Yes\",\n  \"Front_Pic__c\": \"https://seethefullpicture.ca/wp-content/uploads/2019/06/Alcon_SeeTheFullPicture_Website_1901x11252.jpg\",\n  \"Back_Pic__c\": \"https://seethefullpicture.ca/wp-content/uploads/2019/06/Alcon_SeeTheFullPicture_Website_1901x11252.jpg\",\n  \"Left_Side_Pic__c\": \"https://seethefullpicture.ca/wp-content/uploads/2019/06/Alcon_SeeTheFullPicture_Website_1901x11252.jpg\",\n  \"Right_Side_Pic__c\": \"https://seethefullpicture.ca/wp-content/uploads/2019/06/Alcon_SeeTheFullPicture_Website_1901x11252.jpg\"\n}"},"url":"https://f53n63f3u9.execute-api.us-east-2.amazonaws.com/staging/mia-saveUserDataFromGateway"},"response":[],"_postman_id":"32ea7715-83f3-4acc-b248-1f02297ee00d"},{"name":"gateway_lambda PRODUCTION Copy","id":"02d4996c-cbd1-407f-b685-4e64ca24db1e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{ \n  \"Email\": \"daria.bakhtyr@gmail.com\",\n  \"Date_of_Birth__c\": \"2000-01-02\",\n  \"Weight__c\": \"40\",\n  \"MDQ_Height__c\": \"4'5\",\n  \"Excluding_Conditions__c\": \"B-Beta Thalassemia DISEASE\",\n  \"Have_any_other_medical_conditions__c\": \"No\",\n  \"Which_Other_Medical_Conditions__c\": \"SSSSSSSSS\",\n  \"Medications__c\": \"No\",\n  \"Which_Medication_s__c\": \"medisions\",\n  \"Had_a_Previous_Procedure__c\": \"No\",\n  \"Type_of_Procedure__c\": \"21\",\n  \"Previous_Procedure_Date__c\": \"2019-11-11\",\n  \"Hospitalized_for_any_procedure_or_illnes__c\": \"No\",\n  \"Type_of_Hospitalization__c\": \"pop\",\n  \"Fat_burners_or_Diet_pills__c\": \"No\",\n  \"Drug_allergies__c\": \"No\",\n  \"Which_Allergies__c\": \"Allergies\",\n  \"Nicotine__c\": \"No\",\n  \"controlled_substances_use__c\": \"No\",\n  \"Sex__c\": \"Male\",\n  \"Abortions__c\": \"No\",\n  \"Currently_Pregnant__c\": \"No\",\n  \"Currently_Nursing__c\": \"No\",\n  \"Taking_oral_contraceptives__c\": \"No\",\n  \"Procedure_Interest__c\": \"Liposuction\",\n  \"Expected_Procedure_Date__c\": \"Within 3 months\",\n  \"body_pics\": \"Yes\",\n  \"Front_Pic__c\": \"http://www.meguiars.co.uk/wp-content/uploads/2017/06/IMG_8683.jpg\",\n  \"Back_Pic__c\": \"http://www.meguiars.co.uk/wp-content/uploads/2017/06/IMG_8683.jpg\",\n  \"Left_Side_Pic__c\": \"http://www.meguiars.co.uk/wp-content/uploads/2017/06/IMG_8683.jpg\",\n  \"Right_Side_Pic__c\": \"http://www.meguiars.co.uk/wp-content/uploads/2017/06/IMG_8683.jpg\"\n}"},"url":"https://f53n63f3u9.execute-api.us-east-2.amazonaws.com/staging/mia-saveUserDataFromGateway"},"response":[],"_postman_id":"02d4996c-cbd1-407f-b685-4e64ca24db1e"},{"name":"Medical pictures","id":"7244e89b-9fa1-461e-bbac-132bbc2fe5e5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":{"raw":"{{base_url}}/medical-pictures?path=2019/12/10/G2IkjbUXBp2Ki0QmFYmZ6c6HvEewUvHXje2ulF8HO9EUYbnFuj.jpeg","host":["{{base_url}}"],"path":["medical-pictures"],"query":[{"key":"path","value":"2019/12/10/G2IkjbUXBp2Ki0QmFYmZ6c6HvEewUvHXje2ulF8HO9EUYbnFuj.jpeg"}]}},"response":[],"_postman_id":"7244e89b-9fa1-461e-bbac-132bbc2fe5e5"}],"id":"9ca9a5f5-975f-4c2f-9568-f3a5478770fd","_postman_id":"9ca9a5f5-975f-4c2f-9568-f3a5478770fd"}]}