Popular Medical API for web applications reference
Published: 12 Nov 2024
Diagnosis API
* Access the Diagnosis API at: https://diagnosisapi.
azurewebsites.net.
* Supported Azure Storage TLS protocol versions: 1.0, 1.1, and 1.2.
* Error messages are in JSON format.
* Data format supported: JSON only.
* API hosted on Azure Storage.
* HTTPS required for API requests.
* Requests and responses should be UTF-8 encoded.
* API content is read-only.
* API responses are consistent for the same input.
* Use GET requests to retrieve data without sending a request body.
* Use POST requests to send data in the request body (e.g., /api/DDxItems).
* POST actions expect JSON-formatted request bodies.
* API endpoints return JSON objects or lists.
* Supported HTTP methods: DELETE, PUT, GET, and POST.
* Azure Storage generally uses TLS 1.2 for public HTTPS endpoints, but TLS 1.0 and 1.1 are still supported.
* Cross-origin resource sharing (CORS) enabled for client-side code interaction with the Diagnosis API.
HTTP Methods
* Easily integrate the Diagnosis API with HTTP clients.
* After POST request:
* Diagnosis API generates a list of possible health conditions.
* Retrieve suggested diagnoses list using GET request:
- https://diagnosisapi.azurewebsites.net/api/DDxItems/9999?AuthenticationID=DEMO_AuthenticationID
- Replace "9999" with the ID supplied with the POST request.
- Replace "DEMO_AuthenticationID" with your production registered ID.
* Access the Diagnosis API at: https://diagnosisapi.
azurewebsites.net.
* Supported Azure Storage TLS protocol versions: 1.0, 1.1, and 1.2.
* Error messages are in JSON format.
* Data format supported: JSON only.
* API hosted on Azure Storage.
* HTTPS required for API requests.
* Requests and responses should be UTF-8 encoded.
* API content is read-only.
* API responses are consistent for the same input.
* Use GET requests to retrieve data without sending a request body.
* Use POST requests to send data in the request body (e.g., /api/DDxItems).
* POST actions expect JSON-formatted request bodies.
* API endpoints return JSON objects or lists.
* Supported HTTP methods: DELETE, PUT, GET, and POST.
* Azure Storage generally uses TLS 1.2 for public HTTPS endpoints, but TLS 1.0 and 1.1 are still supported.
* Cross-origin resource sharing (CORS) enabled for client-side code interaction with the Diagnosis API.
HTTP Methods
* Easily integrate the Diagnosis API with HTTP clients.
* After POST request:
* Diagnosis API generates a list of possible health conditions.
* Retrieve suggested diagnoses list using GET request:
- https://diagnosisapi.azurewebsites.net/api/DDxItems/9999?AuthenticationID=DEMO_AuthenticationID
- Replace "9999" with the ID supplied with the POST request.
- Replace "DEMO_AuthenticationID" with your production registered ID.