POST api/Student/UpdateYouthBatch/{userid}/{role}/{pgid}/{batchid}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| userid | string |
Required |
|
| role | string |
Required |
|
| batchid | string |
Required |
|
| pgid | string |
None. |
Body Parameters
YouthBatch| Name | Description | Type | Additional information |
|---|---|---|---|
| batchid | string |
None. |
|
| batname | string |
None. |
|
| centid | string |
None. |
|
| startdate | date |
None. |
|
| enddate | date |
None. |
|
| status | integer |
None. |
|
| plancount | integer |
None. |
|
| academicyear | string |
None. |
|
| seqno | integer |
None. |
|
| createdby | string |
None. |
|
| createdon | date |
None. |
|
| updateby | string |
None. |
|
| updateon | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"batchid": "sample string 1",
"batname": "sample string 2",
"centid": "sample string 3",
"startdate": "2026-05-03T17:28:41.7486667+05:30",
"enddate": "2026-05-03T17:28:41.7486667+05:30",
"status": 1,
"plancount": 1,
"academicyear": "sample string 4",
"seqno": 5,
"createdby": "sample string 6",
"createdon": "2026-05-03T17:28:41.7486667+05:30",
"updateby": "sample string 7",
"updateon": "2026-05-03T17:28:41.7486667+05:30"
}
application/xml, text/xml
Sample:
<YouthBatch xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JankariPortalPIFAPI.Models"> <academicyear>sample string 4</academicyear> <batchid>sample string 1</batchid> <batname>sample string 2</batname> <centid>sample string 3</centid> <createdby>sample string 6</createdby> <createdon>2026-05-03T17:28:41.7486667+05:30</createdon> <enddate>2026-05-03T17:28:41.7486667+05:30</enddate> <plancount>1</plancount> <seqno>5</seqno> <startdate>2026-05-03T17:28:41.7486667+05:30</startdate> <status>1</status> <updateby>sample string 7</updateby> <updateon>2026-05-03T17:28:41.7486667+05:30</updateon> </YouthBatch>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>