POST api/Batch?APIKEY={APIKEY}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| APIKEY | string |
Required |
Body Parameters
Batch| Name | Description | Type | Additional information |
|---|---|---|---|
| BatchID | integer |
None. |
|
| BatchCode | string |
None. |
|
| BatchName | string |
None. |
|
| Description | string |
None. |
|
| courseid | string |
None. |
|
| batch_banner | string |
None. |
|
| duration_type | integer |
None. |
|
| duration | integer |
None. |
|
| StartDate | date |
None. |
|
| EndDate | date |
None. |
|
| BatchCapacity | integer |
None. |
|
| BatchStatus | integer |
None. |
|
| ModeOfStudy | integer |
None. |
|
| FacultyID | Collection of integer |
None. |
|
| batch_level | integer |
None. |
|
| Payment_type | integer |
None. |
|
| sponsorid | integer |
None. |
|
| min_qualification | integer |
None. |
|
| CreatedDate | date |
None. |
|
| CreatedBy | string |
None. |
|
| batch_locations | Collection of batch_location |
None. |
|
| batch_fees | Collection of batch_fees |
None. |
|
| batch_students | Collection of batch_student |
None. |
|
| installments_details | Collection of batch_installments |
None. |
Request Formats
application/json, text/json
Sample:
{
"BatchID": 1,
"BatchCode": "sample string 2",
"BatchName": "sample string 3",
"Description": "sample string 4",
"courseid": "sample string 5",
"batch_banner": "sample string 6",
"duration_type": 7,
"duration": 8,
"StartDate": "2025-12-11T20:11:18.6476906+05:30",
"EndDate": "2025-12-11T20:11:18.6476906+05:30",
"BatchCapacity": 11,
"BatchStatus": 12,
"ModeOfStudy": 13,
"FacultyID": [
1,
2
],
"batch_level": 14,
"Payment_type": 15,
"sponsorid": 16,
"min_qualification": 17,
"CreatedDate": "2025-12-11T20:11:18.6486887+05:30",
"CreatedBy": "sample string 19",
"batch_locations": [
{
"id": "sample string 1",
"BatchID": "sample string 2",
"branchid": "sample string 3",
"venue": "sample string 4"
},
{
"id": "sample string 1",
"BatchID": "sample string 2",
"branchid": "sample string 3",
"venue": "sample string 4"
}
],
"batch_fees": [
{
"id": "sample string 1",
"BatchID": "sample string 2",
"headid": "sample string 3",
"headname": "sample string 4",
"amount": "sample string 5"
},
{
"id": "sample string 1",
"BatchID": "sample string 2",
"headid": "sample string 3",
"headname": "sample string 4",
"amount": "sample string 5"
}
],
"batch_students": [
{
"id": "sample string 1",
"name": "sample string 2",
"email": "sample string 3",
"mobileno": "sample string 4",
"BatchID": "sample string 5",
"enrollmentid": "sample string 6",
"admission_no": "sample string 7",
"studentid": "sample string 8",
"createdon": "sample string 9"
},
{
"id": "sample string 1",
"name": "sample string 2",
"email": "sample string 3",
"mobileno": "sample string 4",
"BatchID": "sample string 5",
"enrollmentid": "sample string 6",
"admission_no": "sample string 7",
"studentid": "sample string 8",
"createdon": "sample string 9"
}
],
"installments_details": [
{
"id": "sample string 1",
"BatchID": "sample string 2",
"batch_Student_id": "sample string 3",
"installment_title": "sample string 4",
"installment_description": "sample string 5",
"part_amount": "sample string 6",
"due_date": "sample string 7",
"fine": "sample string 8",
"ispaid": 9
},
{
"id": "sample string 1",
"BatchID": "sample string 2",
"batch_Student_id": "sample string 3",
"installment_title": "sample string 4",
"installment_description": "sample string 5",
"part_amount": "sample string 6",
"due_date": "sample string 7",
"fine": "sample string 8",
"ispaid": 9
}
]
}
application/xml, text/xml
Sample:
<Enquiry.Batch xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/InventoryAPI.Models">
<BatchCapacity>11</BatchCapacity>
<BatchCode>sample string 2</BatchCode>
<BatchID>1</BatchID>
<BatchName>sample string 3</BatchName>
<BatchStatus>12</BatchStatus>
<CreatedBy>sample string 19</CreatedBy>
<CreatedDate>2025-12-11T20:11:18.6486887+05:30</CreatedDate>
<Description>sample string 4</Description>
<EndDate>2025-12-11T20:11:18.6476906+05:30</EndDate>
<FacultyID xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</FacultyID>
<ModeOfStudy>13</ModeOfStudy>
<Payment_type>15</Payment_type>
<StartDate>2025-12-11T20:11:18.6476906+05:30</StartDate>
<batch_banner>sample string 6</batch_banner>
<batch_fees>
<Enquiry.batch_fees>
<BatchID>sample string 2</BatchID>
<amount>sample string 5</amount>
<headid>sample string 3</headid>
<headname>sample string 4</headname>
<id>sample string 1</id>
</Enquiry.batch_fees>
<Enquiry.batch_fees>
<BatchID>sample string 2</BatchID>
<amount>sample string 5</amount>
<headid>sample string 3</headid>
<headname>sample string 4</headname>
<id>sample string 1</id>
</Enquiry.batch_fees>
</batch_fees>
<batch_level>14</batch_level>
<batch_locations>
<Enquiry.batch_location>
<BatchID>sample string 2</BatchID>
<branchid>sample string 3</branchid>
<id>sample string 1</id>
<venue>sample string 4</venue>
</Enquiry.batch_location>
<Enquiry.batch_location>
<BatchID>sample string 2</BatchID>
<branchid>sample string 3</branchid>
<id>sample string 1</id>
<venue>sample string 4</venue>
</Enquiry.batch_location>
</batch_locations>
<batch_students>
<Enquiry.batch_student>
<BatchID>sample string 5</BatchID>
<admission_no>sample string 7</admission_no>
<createdon>sample string 9</createdon>
<email>sample string 3</email>
<enrollmentid>sample string 6</enrollmentid>
<id>sample string 1</id>
<mobileno>sample string 4</mobileno>
<name>sample string 2</name>
<studentid>sample string 8</studentid>
</Enquiry.batch_student>
<Enquiry.batch_student>
<BatchID>sample string 5</BatchID>
<admission_no>sample string 7</admission_no>
<createdon>sample string 9</createdon>
<email>sample string 3</email>
<enrollmentid>sample string 6</enrollmentid>
<id>sample string 1</id>
<mobileno>sample string 4</mobileno>
<name>sample string 2</name>
<studentid>sample string 8</studentid>
</Enquiry.batch_student>
</batch_students>
<courseid>sample string 5</courseid>
<duration>8</duration>
<duration_type>7</duration_type>
<installments_details>
<Enquiry.batch_installments>
<BatchID>sample string 2</BatchID>
<batch_Student_id>sample string 3</batch_Student_id>
<due_date>sample string 7</due_date>
<fine>sample string 8</fine>
<id>sample string 1</id>
<installment_description>sample string 5</installment_description>
<installment_title>sample string 4</installment_title>
<ispaid>9</ispaid>
<part_amount>sample string 6</part_amount>
</Enquiry.batch_installments>
<Enquiry.batch_installments>
<BatchID>sample string 2</BatchID>
<batch_Student_id>sample string 3</batch_Student_id>
<due_date>sample string 7</due_date>
<fine>sample string 8</fine>
<id>sample string 1</id>
<installment_description>sample string 5</installment_description>
<installment_title>sample string 4</installment_title>
<ispaid>9</ispaid>
<part_amount>sample string 6</part_amount>
</Enquiry.batch_installments>
</installments_details>
<min_qualification>17</min_qualification>
<sponsorid>16</sponsorid>
</Enquiry.Batch>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |