POST api/Account/UpsertLeaves
Request Information
URI Parameters
None.
Body Parameters
UpsertLeaves_DTO| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| student_name | string |
None. |
|
| class | integer |
None. |
|
| roll_no | integer |
None. |
|
| division | string |
None. |
|
| application_date | date |
None. |
|
| academic_year | string |
None. |
|
| from_date | date |
None. |
|
| to_date | date |
None. |
|
| reason | string |
None. |
|
| attachments | string |
None. |
|
| stud_id | string |
None. |
|
| status | integer |
None. |
|
| Created_by | integer |
None. |
|
| is_active | integer |
None. |
|
| is_deleted | integer |
None. |
|
| totaldays | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"student_name": "sample string 2",
"class": 3,
"roll_no": 4,
"division": "sample string 5",
"application_date": "2025-12-22T16:15:12.2547269+05:30",
"academic_year": "sample string 7",
"from_date": "2025-12-22T16:15:12.2547269+05:30",
"to_date": "2025-12-22T16:15:12.2547269+05:30",
"reason": "sample string 10",
"attachments": "sample string 11",
"stud_id": "sample string 12",
"status": 13,
"Created_by": 14,
"is_active": 15,
"is_deleted": 16,
"totaldays": 17
}
application/xml, text/xml
Sample:
<UpsertLeaves_DTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NxModel"> <Created_by>14</Created_by> <academic_year>sample string 7</academic_year> <application_date>2025-12-22T16:15:12.2547269+05:30</application_date> <attachments>sample string 11</attachments> <class>3</class> <division>sample string 5</division> <from_date>2025-12-22T16:15:12.2547269+05:30</from_date> <id>1</id> <is_active>15</is_active> <is_deleted>16</is_deleted> <reason>sample string 10</reason> <roll_no>4</roll_no> <status>13</status> <stud_id>sample string 12</stud_id> <student_name>sample string 2</student_name> <to_date>2025-12-22T16:15:12.2547269+05:30</to_date> <totaldays>17</totaldays> </UpsertLeaves_DTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ObjectNone.
Response Formats
application/json, text/json
Sample:
{}
application/xml, text/xml
Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />