POST api/DiaryAttendanceApi
Request Information
URI Parameters
None.
Body Parameters
DiaryLeavesRequestName | Description | Type | Additional information |
---|---|---|---|
Id | decimal number |
None. |
|
HdId | decimal number |
None. |
|
BrId | decimal number |
None. |
|
StudentId | decimal number |
None. |
|
ClassId | decimal number |
None. |
|
LeavesType | string |
None. |
|
StartDate | date |
None. |
|
EndDate | date |
None. |
|
Reason | string |
None. |
|
CreatedDate | date |
None. |
|
UpdatedDate | date |
None. |
|
CreatedBy | decimal number |
None. |
|
UpdateBy | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1.0, "HdId": 1.0, "BrId": 1.0, "StudentId": 1.0, "ClassId": 1.0, "LeavesType": "sample string 2", "StartDate": "2025-01-09T01:15:14.3718976+05:00", "EndDate": "2025-01-09T01:15:14.3718976+05:00", "Reason": "sample string 3", "CreatedDate": "2025-01-09T01:15:14.3718976+05:00", "UpdatedDate": "2025-01-09T01:15:14.3718976+05:00", "CreatedBy": 1.0, "UpdateBy": 1.0 }
application/xml, text/xml
Sample:
<DiaryLeavesRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataModels"> <BrId>1</BrId> <ClassId>1</ClassId> <CreatedBy>1</CreatedBy> <CreatedDate>2025-01-09T01:15:14.3718976+05:00</CreatedDate> <EndDate>2025-01-09T01:15:14.3718976+05:00</EndDate> <HdId>1</HdId> <Id>1</Id> <LeavesType>sample string 2</LeavesType> <Reason>sample string 3</Reason> <StartDate>2025-01-09T01:15:14.3718976+05:00</StartDate> <StudentId>1</StudentId> <UpdateBy>1</UpdateBy> <UpdatedDate>2025-01-09T01:15:14.3718976+05:00</UpdatedDate> </DiaryLeavesRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | 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. |