Diagnosis API tutorial

API Reference

Tests

GET /GetTests/
    https://diagnosisapi.azurewebsites.net/api/DDxItems/GetTests?AuthenticationID=DEMO_AuthenticationID
    Returns all tests as JSON format in TestType datatype

GET /GetPanels/
    https://diagnosisapi.azurewebsites.net/api/DDxItems/GetPanels?AuthenticationID=DEMO_AuthenticationID
    Returns all panels (groups of tests) as JSON format, List of Strings

Symptoms

GET /GetSymptoms/
    https://diagnosisapi.azurewebsites.net/api/DDxItems/GetSymptoms?AuthenticationID=DEMO_AuthenticationID
    Returns all Symptoms as JSON format in SymptomType datatype

GET /GetCategories/
    https://diagnosisapi.azurewebsites.net/api/DDxItems/GetCategories?AuthenticationID=DEMO_AuthenticationID
    Returns all Symptom Categories (Breathing, Muscles, Blood and so on) as JSON format, List of Strings

DDxItems

POST /DDxItems/
    https://diagnosisapi.azurewebsites.net/api/DDxItems/?AuthenticationID=DEMO_AuthenticationID
    POST as JSON DDxItem structure:
    string Id - A unique number as a client browser's fingerprinting identifier.
    string Tests ??? JSON format of entered Test Procedures in TestPostType datatype.
    string Symptoms ??? JSON format of entered Symptoms in SymptomPostType datatype.

GET /DDxItems/{id}
    https://diagnosisapi.azurewebsites.net/api/DDxItems/999999?AuthenticationID=DEMO_AuthenticationID
    Returns calculated diagnosis based on entered Tests and Symptoms as JSON format, List of Disorder datatype.
    Where 999999 is {id}, a unique number created as a client's fingerprinting identifier. It must be unique because several different users may run Diagnosis API calculation simultaneously. If you decide to use just a constant like itemID = "1", the data entered by your different clients can be intercepted and mixed.



?? All rights reserved 2022 Rustemsoft LLC