As any RESTfull service, the API supports four HTTP methods: DELETE, PUT, GET, and POST.
Moreover, the POST actions expect request bodies formatted as JSON objects. Azure Storage currently supports three versions of the TLS protocol: 1.0, 1.1, and 1.2. All requests to the API must be made via HTTPS. Error messages are also in JSON. The API hosted on Azure storage. /api/DDxItems).
JSON is the only data format supported by Diagnosis API. The API content is read-only and all of the API responses always return the same output for the same input, no matter how many times you call them. Azure Storage uses TLS 1.2 on public HTTPS endpoints, but TLS 1.0 and TLS 1.1 are still supported for backward compatibility.
Also, that provides cross-origin resource sharing (CORS) to allow client-side code of web applications to interact with the Diagnosis API, but please make sure you never expose your API credentials in any client-side code of public websites.
The Diagnosis API can be easily integrated with any existing HTTP client by using any popular programming languages and frameworks. The Diagnosis API is available at https://diagnosisapi.azurewebsites.net. However, you need to use only two last of them.
Use GET requests to retrieve data that do not require any data to be sent in the requests body.
Use POST requests for actions that require data to be sent in the request's body (e.g. All of our endpoints return JSON objects or lists. Requests, like responses, should be encoded in UTF-8.
Let's assume we have a patient, suffering from strong smell urine, frequent urination and yellow skin. Also the patient has list of implemented Lab Test Procedures: ALT, Amalyse, AST, Total Bilirubin, GT Chlamydia, Appearance Urine, and ABO grouping. By entering and identified the tests values you can send (POST) both Symptoms and Tests lists to https://diagnosisapi.azurewebsites.net. Each observation is represented by a unique ID; in this case the symptom IDs are 164, 151 and 200, respectively. We have created a sample 'Diagnosis API' collection for you. The collection located: https://postman.com/collections/7445d89fda1d633e08dd. Then GET Possible Health Conditions from the Diagnosis API.
In order to achieve best results and enable more features of the API, you have to provide as many test result and symptoms as possible. It allows you to test the API in seconds. The collection includes some endpoints and predefined requests that you can extend. This will depend on the accuracy of the diagnoses obtained. Diagnosis API is available as the Postman collection.