Get List
GET/api/patients
Retrieve Patient Information
This endpoint allows you to retrieve a list of patients from the UdyogX application. It is designed to provide access to patient data for further processing or display in client applications.
Request Parameters
This is a GET request and does not require any input parameters in the request body. However, you may include query parameters to filter or paginate the results if supported by the API.
Response Structure
The response will be in JSON format and will typically include the following fields:
patients
: An array of patient objects, each containing details such as:id
: Unique identifier for the patient.name
: Name of the patient.age
: Age of the patient.gender
: Gender of the patient.contact
: Contact information for the patient.- Additional patient-related fields as applicable.
Example Response
{
"patients": [
{
"id": "123",
"name": "John Doe",
"age": 30,
"gender": "Male",
"contact": "123-456-7890"
},
{
"id": "124",
"name": "Jane Smith",
"age": 28,
"gender": "Female",
"contact": "987-654-3210"
}
]
}
This structure allows clients to easily access and utilize patient data as needed.
Responses
- 200