0% found this document useful (0 votes)
47 views2 pages

API Endpoint for Patient Data Submission

This document summarizes an API endpoint for recording patient health data. It includes a POST method that returns a 200 OK status with either a "success" or exception message. It then lists 13 fields requiring patient identification and health information like fever, cough, temperature, and exposure history, along with each field's expected type and a short description.

Uploaded by

Sarang Agrawal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
47 views2 pages

API Endpoint for Patient Data Submission

This document summarizes an API endpoint for recording patient health data. It includes a POST method that returns a 200 OK status with either a "success" or exception message. It then lists 13 fields requiring patient identification and health information like fever, cough, temperature, and exposure history, along with each field's expected type and a short description.

Uploaded by

Sarang Agrawal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd

API: /dosomething

Method: POST
Response
200 OK {"status": "success"}
{ "status": "Exceptions if
200 OK SQL constraints are
violated"}
{ "status": "Invalid
200 OK request"}
Field Name Type

patientId String

rec boolean

temp float

Cough boolean

fggg boolean

qq boolean

aaaaqq boolean

aaa float

aaaa boolean

aaa boolean

aa boolean
Description
REQUIRED. The String must be unique
Patient Id of the patient
REQUIRED. Determines whether patient
has recent fever (10 days)
REQUIRED. Determines temperature of
the patient. Unit should be Fahrenheit.
REQUIRED. Determines whether patient
has dry cough.
REQUIRED. Determines whether patient
has aa.
REQUIRED. Determines whether patient
has aa.
REQUIRED. Determines whether patient
has aa.
REQUIRED. Determines the oa) of the
patient.
REQUIRED. Determines whether patient
Was in aa.
REQUIRED. Determines whether patient
Stays in a aa aa.
REQUIRED. Determines whether patient
has a a history.

You might also like