{"activeVersionTag":"latest","latestAvailableVersionTag":"latest","collection":{"info":{"_postman_id":"34204340-b04c-4e1a-b3ab-1db5a7ec8e49","name":"Wibbi  EMR API Documentation","description":"# WHAT IS IT?\n\nThis version of the API allows implementers to connect to version 3’s endpoints while  \nusing the upcoming 4th versions’ security schemes.\n\nThis allows application developers to get up and running quickly and securely while  \nincrementations on the new API continue to occur.\n\nAPI requests are authenticated using a JSON Web Token (JWT) bearer in the  \nrequest’s authorization headers.\n\n# AUTHENTICATION\n\n## Obtaining a token\n\nTo obtain a new JWT, applications connecting to the API are expected to  \nauthenticate with a licensee's login information (eg. not a patient’s).  \nThe token is valid for a period of one hour.  \nThe exact expiration time is returned  \nalongside the token value when requesting a token.  \nWe recommend using this  \ndynamic value when coding token reissue logic as the token lifespan duration may  \nbe subject to change.\n\nRequired fields by this request are :\n\n- username: A licence admin’s username\n    \n- password: A licence admin’s password\n    \n\n---\n\nQuery\n\n```\ncurl -X POST \\\nhttps://v4.api.wibbi.com/api/v4/authentication/login \\\n-H 'Content-Type: application/json' \\\n-d '{\n    \"username\": \"your_username\",\n    \"password\": \"your_password\",\n}'\n\n ```\n\nResponse\n\n```\n{\n    \"token\":\n    \"xxxxxx\",\n    \"expires\": \"2018-09-18T20:35:17+00:00\"\n}\n\n ```\n\n## Performing an authenticated request\n\nOnce your application has a valid token, it can start querying API endpoints by  \nsetting the Bearer in the subsequent requests’ authentication header.\n\n---\n\nQuery\n\n```\ncurl -X GET \\\n'https://v4.api.wibbi.com/api/v3/?action=GetUsers&entity=EN\nITTY_ID&clm_id=CLM_ID' \\\n-H 'Authorization: Bearer xxxxxx'\n\n ```\n\n# GETTING STARTED\n\nGenerally, the 3 main workflows implemented using this API are launching Physiotec,\n\nobtaining a program in PDF format or launching the patient portal.\n\nBellow is the proposed sequence of calls you may perform to achieve your  \nimplementation goals.\n\n#### Launching Physiotec\n\n1. AddUser\n    \n2. AddClient\n    \n3. Obtaining a PDF\n    \n4. GetClientPrograms\n    \n5. Patient Portal\n    \n6. GetClientPrograms\n    \n7. LogClient or LogClientLink\n    \n\n# ENDPOINTS\n\nParameters definition\n\n- entity ​– The “entity” is a unique ID provided by Physiotec upon the creation of  \n    your account or after. It identifies the client that will use Physiotec API. This  \n    parameter is always required in the API command.\n    \n- clm_id ​– The “clm_id” identifies the license holder (clinic) that belongs to the  \n    Entity or the master clinic. You may have as many \"clm_id\" as you have clinics  \n    to attach to the “entity”. This parameter is always required in the API  \n    command.\n    \n- client_id ​– The “client_id” is your unique patient ID used to create a patient  \n    entry in the Physiotec database.\n    \n- user_id ​– The “user_id” is your unique user ID used to create a user entry in  \n    the Physiotec database.\n    \n- output_format ​– The type of formatting for the result of the call. Available  \n    output: xml, json Default output is json. In case of an error, the error message  \n    shown will also be in the selected format.","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","isPublicCollection":false,"owner":"9606131","collectionId":"34204340-b04c-4e1a-b3ab-1db5a7ec8e49","publishedId":"2s9YsGjDgt","public":true,"publicUrl":"https://documentation.wibbi.com","privateUrl":"https://go.postman.co/documentation/9606131-34204340-b04c-4e1a-b3ab-1db5a7ec8e49","customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"documentationLayout":"classic-double-column","customisation":{"metaTags":[{"name":"description","value":""},{"name":"title","value":""}],"appearance":{"default":"light","themes":[{"name":"dark","logo":"https://content.pstmn.io/3c8258f0-fa76-439c-b08a-e36b0b1622f6/bGFuZHNjYXBfZGFya19sYXJnZS5wbmc=","colors":{"top-bar":"212121","right-sidebar":"303030","highlight":"FF6C37"}},{"name":"light","logo":"https://content.pstmn.io/82938e1f-33bb-4a0b-8dc4-7e2b9e6278b5/bGFuZHNjYXBlX3NtYWxsLmpwZw==","colors":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"}}]}},"version":"8.10.1","publishDate":"2024-01-05T16:05:16.000Z","activeVersionTag":"latest","documentationTheme":"light","metaTags":{"title":"","description":""},"logos":{"logoLight":"https://content.pstmn.io/82938e1f-33bb-4a0b-8dc4-7e2b9e6278b5/bGFuZHNjYXBlX3NtYWxsLmpwZw==","logoDark":"https://content.pstmn.io/3c8258f0-fa76-439c-b08a-e36b0b1622f6/bGFuZHNjYXBfZGFya19sYXJnZS5wbmc="}},"statusCode":200},"environments":[{"name":"Production - wibbi.com","id":"702ce95a-ae3d-42f0-beff-4df856e7b0db","owner":"9606131","values":[{"key":"url","value":"https://v4.api.wibbi.com","enabled":true},{"key":"token","value":"123","enabled":false},{"key":"API-URL","value":"https://v4.api.wibbi.com","enabled":true,"type":"default"},{"key":"refreshToken","value":"0","enabled":false},{"key":"api-token","value":"NjczMzViZTQzMDI2YUpXbEtHY3c2ZG9MZmlkUjdiajlqZ1dGOVI4Wmt6cw==","enabled":false,"type":"secret"},{"key":"api-token","value":"Njc4Njk1MjBhY2QwN1B5VkNqQlVCYjB1UURjdGVrdkJFV0xjakRiRDNYSA==","enabled":false,"type":"default"},{"key":"hep-url","value":"https://hep.wibbi.com/","enabled":true,"type":"default"}],"published":true}],"user":{"authenticated":false,"permissions":{"publish":false}},"run":{"button":{"js":"https://run.pstmn.io/button.js","css":"https://run.pstmn.io/button.css"}},"web":"https://www.getpostman.com/","team":{"logo":"https://res.cloudinary.com/postman/image/upload/t_team_logo_pubdoc/v1/team/768118b36f06c94b0306958b980558e6915839447e859fe16906e29d683976f0","favicon":"https://wibbi.com/favicon.ico"},"isEnvFetchError":false,"languages":"[{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"HttpClient\"},{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"RestSharp\"},{\"key\":\"curl\",\"label\":\"cURL\",\"variant\":\"cURL\"},{\"key\":\"dart\",\"label\":\"Dart\",\"variant\":\"http\"},{\"key\":\"go\",\"label\":\"Go\",\"variant\":\"Native\"},{\"key\":\"http\",\"label\":\"HTTP\",\"variant\":\"HTTP\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"OkHttp\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"Unirest\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"Fetch\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"jQuery\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"XHR\"},{\"key\":\"c\",\"label\":\"C\",\"variant\":\"libcurl\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Axios\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Native\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Request\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Unirest\"},{\"key\":\"objective-c\",\"label\":\"Objective-C\",\"variant\":\"NSURLSession\"},{\"key\":\"ocaml\",\"label\":\"OCaml\",\"variant\":\"Cohttp\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"cURL\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"Guzzle\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"HTTP_Request2\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"pecl_http\"},{\"key\":\"powershell\",\"label\":\"PowerShell\",\"variant\":\"RestMethod\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"http.client\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"Requests\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"httr\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"RCurl\"},{\"key\":\"ruby\",\"label\":\"Ruby\",\"variant\":\"Net::HTTP\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"Httpie\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"wget\"},{\"key\":\"swift\",\"label\":\"Swift\",\"variant\":\"URLSession\"}]","languageSettings":[{"key":"csharp","label":"C#","variant":"HttpClient"},{"key":"csharp","label":"C#","variant":"RestSharp"},{"key":"curl","label":"cURL","variant":"cURL"},{"key":"dart","label":"Dart","variant":"http"},{"key":"go","label":"Go","variant":"Native"},{"key":"http","label":"HTTP","variant":"HTTP"},{"key":"java","label":"Java","variant":"OkHttp"},{"key":"java","label":"Java","variant":"Unirest"},{"key":"javascript","label":"JavaScript","variant":"Fetch"},{"key":"javascript","label":"JavaScript","variant":"jQuery"},{"key":"javascript","label":"JavaScript","variant":"XHR"},{"key":"c","label":"C","variant":"libcurl"},{"key":"nodejs","label":"NodeJs","variant":"Axios"},{"key":"nodejs","label":"NodeJs","variant":"Native"},{"key":"nodejs","label":"NodeJs","variant":"Request"},{"key":"nodejs","label":"NodeJs","variant":"Unirest"},{"key":"objective-c","label":"Objective-C","variant":"NSURLSession"},{"key":"ocaml","label":"OCaml","variant":"Cohttp"},{"key":"php","label":"PHP","variant":"cURL"},{"key":"php","label":"PHP","variant":"Guzzle"},{"key":"php","label":"PHP","variant":"HTTP_Request2"},{"key":"php","label":"PHP","variant":"pecl_http"},{"key":"powershell","label":"PowerShell","variant":"RestMethod"},{"key":"python","label":"Python","variant":"http.client"},{"key":"python","label":"Python","variant":"Requests"},{"key":"r","label":"R","variant":"httr"},{"key":"r","label":"R","variant":"RCurl"},{"key":"ruby","label":"Ruby","variant":"Net::HTTP"},{"key":"shell","label":"Shell","variant":"Httpie"},{"key":"shell","label":"Shell","variant":"wget"},{"key":"swift","label":"Swift","variant":"URLSession"}],"languageOptions":[{"label":"C# - HttpClient","value":"csharp - HttpClient - C#"},{"label":"C# - RestSharp","value":"csharp - RestSharp - C#"},{"label":"cURL - cURL","value":"curl - cURL - cURL"},{"label":"Dart - http","value":"dart - http - Dart"},{"label":"Go - Native","value":"go - Native - Go"},{"label":"HTTP - HTTP","value":"http - HTTP - HTTP"},{"label":"Java - OkHttp","value":"java - OkHttp - Java"},{"label":"Java - Unirest","value":"java - Unirest - Java"},{"label":"JavaScript - Fetch","value":"javascript - Fetch - JavaScript"},{"label":"JavaScript - jQuery","value":"javascript - jQuery - JavaScript"},{"label":"JavaScript - XHR","value":"javascript - XHR - JavaScript"},{"label":"C - libcurl","value":"c - libcurl - C"},{"label":"NodeJs - Axios","value":"nodejs - Axios - NodeJs"},{"label":"NodeJs - Native","value":"nodejs - Native - NodeJs"},{"label":"NodeJs - Request","value":"nodejs - Request - NodeJs"},{"label":"NodeJs - Unirest","value":"nodejs - Unirest - NodeJs"},{"label":"Objective-C - NSURLSession","value":"objective-c - NSURLSession - Objective-C"},{"label":"OCaml - Cohttp","value":"ocaml - Cohttp - OCaml"},{"label":"PHP - cURL","value":"php - cURL - PHP"},{"label":"PHP - Guzzle","value":"php - Guzzle - PHP"},{"label":"PHP - HTTP_Request2","value":"php - HTTP_Request2 - PHP"},{"label":"PHP - pecl_http","value":"php - pecl_http - PHP"},{"label":"PowerShell - RestMethod","value":"powershell - RestMethod - PowerShell"},{"label":"Python - http.client","value":"python - http.client - Python"},{"label":"Python - Requests","value":"python - Requests - Python"},{"label":"R - httr","value":"r - httr - R"},{"label":"R - RCurl","value":"r - RCurl - R"},{"label":"Ruby - Net::HTTP","value":"ruby - Net::HTTP - Ruby"},{"label":"Shell - Httpie","value":"shell - Httpie - Shell"},{"label":"Shell - wget","value":"shell - wget - Shell"},{"label":"Swift - URLSession","value":"swift - URLSession - Swift"}],"layoutOptions":[{"value":"classic-single-column","label":"Single Column"},{"value":"classic-double-column","label":"Double Column"}],"versionOptions":[],"environmentOptions":[{"value":"0","label":"No Environment"},{"label":"Production - wibbi.com","value":"9606131-702ce95a-ae3d-42f0-beff-4df856e7b0db"}],"canonicalUrl":"https://documentation.wibbi.com/view/metadata/2s9YsGjDgt"}