GET api/Student/GetYouthBatchList/{userid}/{role}/{pgid}?whr={whr}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| userid | string |
Required |
|
| role | string |
Required |
|
| pgid | string |
Required |
|
| whr | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of GetYouthBatchList_Result| Name | Description | Type | Additional information |
|---|---|---|---|
| batchid | string |
None. |
|
| centid | string |
None. |
|
| centname | string |
None. |
|
| batname | string |
None. |
|
| startdate | date |
None. |
|
| enddate | date |
None. |
|
| academicyear | string |
None. |
|
| createdby | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"batchid": "sample string 1",
"centid": "sample string 2",
"centname": "sample string 3",
"batname": "sample string 4",
"startdate": "2026-05-03T17:28:39.80937+05:30",
"enddate": "2026-05-03T17:28:39.80937+05:30",
"academicyear": "sample string 5",
"createdby": "sample string 6"
},
{
"batchid": "sample string 1",
"centid": "sample string 2",
"centname": "sample string 3",
"batname": "sample string 4",
"startdate": "2026-05-03T17:28:39.80937+05:30",
"enddate": "2026-05-03T17:28:39.80937+05:30",
"academicyear": "sample string 5",
"createdby": "sample string 6"
}
]
application/xml, text/xml
Sample:
<ArrayOfGetYouthBatchList_Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JankariPortalPIFAPI.Models">
<GetYouthBatchList_Result>
<academicyear>sample string 5</academicyear>
<batchid>sample string 1</batchid>
<batname>sample string 4</batname>
<centid>sample string 2</centid>
<centname>sample string 3</centname>
<createdby>sample string 6</createdby>
<enddate>2026-05-03T17:28:39.80937+05:30</enddate>
<startdate>2026-05-03T17:28:39.80937+05:30</startdate>
</GetYouthBatchList_Result>
<GetYouthBatchList_Result>
<academicyear>sample string 5</academicyear>
<batchid>sample string 1</batchid>
<batname>sample string 4</batname>
<centid>sample string 2</centid>
<centname>sample string 3</centname>
<createdby>sample string 6</createdby>
<enddate>2026-05-03T17:28:39.80937+05:30</enddate>
<startdate>2026-05-03T17:28:39.80937+05:30</startdate>
</GetYouthBatchList_Result>
</ArrayOfGetYouthBatchList_Result>