POST api/AttendanceDetailsAPI/ApplyForLeaveByStudentCode

Documentation for 'ApplyForLeaveByStudentCode'.

Request Information

Parameters

NameDescriptionAdditional information
appParmData
Documentation for 'appParmData'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "StudentCode": 1,
  "DataStudentCode": 2,
  "StudentCodeString": "sample string 3",
  "SMSMobile": "sample string 4",
  "RegistrationNo": "sample string 5",
  "AlbumId": 6,
  "SearchKey": "sample string 7",
  "ClassCode": 8,
  "SubjectCode": 9,
  "TopicId": 10,
  "FileQuestion": "sample string 11",
  "Dqid": 12,
  "Answer": "sample string 13",
  "DepartmentCode": 14,
  "DepartmentCodeString": "sample string 15",
  "AbsentCodeString": "sample string 16",
  "ClassSection": "sample string 17",
  "AuthorityType": "sample string 18",
  "ExamName": "sample string 19",
  "ExamCode": 20,
  "AppOTP": "sample string 21",
  "AppPin": "sample string 22",
  "TokenId": "sample string 23",
  "State": "sample string 24",
  "FeedBack": "sample string 25",
  "Date": "2024-12-22T15:06:59.220077-07:00",
  "DateFrom": "2024-12-22T15:06:59.220077-07:00",
  "DateTo": "2024-12-22T15:06:59.220077-07:00",
  "APKId": 29,
  "AuthenticationKey": "sample string 30",
  "DataAuthenticationKey": "sample string 31",
  "Status": "sample string 32",
  "Response": true,
  "ErrorMsg": "sample string 34",
  "BrandName": "sample string 35",
  "ModelName": "sample string 36",
  "DeviceId": "sample string 37",
  "CompanyCode": 38,
  "FYCode": 39,
  "Message": "sample string 40",
  "ActivityCode": 41,
  "ActivityName": "sample string 42",
  "OnDate": "2024-12-22T15:06:59.220077-07:00",
  "ItemFound": "sample string 44",
  "ActionTaken": "sample string 45",
  "Category": "sample string 46",
  "Misbehave": "sample string 47",
  "UserName": "sample string 48",
  "PageNo": 49,
  "FilesBaseURL": "sample string 50",
  "PermanentAddress1": "sample string 51",
  "PermanentArea": "sample string 52",
  "PermanentCity": "sample string 53",
  "PermanentPinCode": "sample string 54",
  "PermanentState": "sample string 55",
  "EnquiryNo": "sample string 56"
}

application/xml, text/xml

Sample:
<AppParmData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fastup.SLWebAPI.Models">
  <APKId>29</APKId>
  <AbsentCodeString>sample string 16</AbsentCodeString>
  <ActionTaken>sample string 45</ActionTaken>
  <ActivityCode>41</ActivityCode>
  <ActivityName>sample string 42</ActivityName>
  <AlbumId>6</AlbumId>
  <Answer>sample string 13</Answer>
  <AppOTP>sample string 21</AppOTP>
  <AppPin>sample string 22</AppPin>
  <AuthenticationKey>sample string 30</AuthenticationKey>
  <AuthorityType>sample string 18</AuthorityType>
  <BrandName>sample string 35</BrandName>
  <Category>sample string 46</Category>
  <ClassCode>8</ClassCode>
  <ClassSection>sample string 17</ClassSection>
  <CompanyCode>38</CompanyCode>
  <DataAuthenticationKey>sample string 31</DataAuthenticationKey>
  <DataStudentCode>2</DataStudentCode>
  <Date>2024-12-22T15:06:59.220077-07:00</Date>
  <DateFrom>2024-12-22T15:06:59.220077-07:00</DateFrom>
  <DateTo>2024-12-22T15:06:59.220077-07:00</DateTo>
  <DepartmentCode>14</DepartmentCode>
  <DepartmentCodeString>sample string 15</DepartmentCodeString>
  <DeviceId>sample string 37</DeviceId>
  <Dqid>12</Dqid>
  <EnquiryNo>sample string 56</EnquiryNo>
  <ErrorMsg>sample string 34</ErrorMsg>
  <ExamCode>20</ExamCode>
  <ExamName>sample string 19</ExamName>
  <FYCode>39</FYCode>
  <FeedBack>sample string 25</FeedBack>
  <FileQuestion>sample string 11</FileQuestion>
  <FilesBaseURL>sample string 50</FilesBaseURL>
  <ItemFound>sample string 44</ItemFound>
  <Message>sample string 40</Message>
  <Misbehave>sample string 47</Misbehave>
  <ModelName>sample string 36</ModelName>
  <OnDate>2024-12-22T15:06:59.220077-07:00</OnDate>
  <PageNo>49</PageNo>
  <PermanentAddress1>sample string 51</PermanentAddress1>
  <PermanentArea>sample string 52</PermanentArea>
  <PermanentCity>sample string 53</PermanentCity>
  <PermanentPinCode>sample string 54</PermanentPinCode>
  <PermanentState>sample string 55</PermanentState>
  <RegistrationNo>sample string 5</RegistrationNo>
  <Response>true</Response>
  <SMSMobile>sample string 4</SMSMobile>
  <SearchKey>sample string 7</SearchKey>
  <State>sample string 24</State>
  <Status>sample string 32</Status>
  <StudentCode>1</StudentCode>
  <StudentCodeString>sample string 3</StudentCodeString>
  <SubjectCode>9</SubjectCode>
  <TokenId>sample string 23</TokenId>
  <TopicId>10</TopicId>
  <UserName>sample string 48</UserName>
</AppParmData>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "AttendanceDataList": [
    {
      "TrnDate": "2024-12-22T15:06:59.220077-07:00",
      "Id": 2,
      "ApplicationNo": 3,
      "StudentCode": 4,
      "CompanyCode": 5,
      "FYCode": 6,
      "LeaveDate": "2024-12-22T15:06:59.220077-07:00",
      "LeaveReason": "sample string 8",
      "LeaveType": "sample string 9",
      "AddUser": "sample string 10",
      "ApproveUser": "sample string 11",
      "ApproveDate": "2024-12-22T15:06:59.220077-07:00",
      "LeaveApproved": true,
      "RegistrationNo": "sample string 12",
      "Name": "sample string 13",
      "FatherName": "sample string 14",
      "MotherName": "sample string 15",
      "SMSMobile": "sample string 16",
      "ClassName": "sample string 17",
      "ClassSection": "sample string 18"
    },
    {
      "TrnDate": "2024-12-22T15:06:59.220077-07:00",
      "Id": 2,
      "ApplicationNo": 3,
      "StudentCode": 4,
      "CompanyCode": 5,
      "FYCode": 6,
      "LeaveDate": "2024-12-22T15:06:59.220077-07:00",
      "LeaveReason": "sample string 8",
      "LeaveType": "sample string 9",
      "AddUser": "sample string 10",
      "ApproveUser": "sample string 11",
      "ApproveDate": "2024-12-22T15:06:59.220077-07:00",
      "LeaveApproved": true,
      "RegistrationNo": "sample string 12",
      "Name": "sample string 13",
      "FatherName": "sample string 14",
      "MotherName": "sample string 15",
      "SMSMobile": "sample string 16",
      "ClassName": "sample string 17",
      "ClassSection": "sample string 18"
    },
    {
      "TrnDate": "2024-12-22T15:06:59.220077-07:00",
      "Id": 2,
      "ApplicationNo": 3,
      "StudentCode": 4,
      "CompanyCode": 5,
      "FYCode": 6,
      "LeaveDate": "2024-12-22T15:06:59.220077-07:00",
      "LeaveReason": "sample string 8",
      "LeaveType": "sample string 9",
      "AddUser": "sample string 10",
      "ApproveUser": "sample string 11",
      "ApproveDate": "2024-12-22T15:06:59.220077-07:00",
      "LeaveApproved": true,
      "RegistrationNo": "sample string 12",
      "Name": "sample string 13",
      "FatherName": "sample string 14",
      "MotherName": "sample string 15",
      "SMSMobile": "sample string 16",
      "ClassName": "sample string 17",
      "ClassSection": "sample string 18"
    }
  ],
  "Status": "sample string 1",
  "Response": true,
  "ErrorMsg": "sample string 3"
}

application/xml, text/xml

Sample:
<LeaveDetailsListAppVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fastup.SLWebAPI.Models.Attendance">
  <AttendanceDataList>
    <LeaveDetailsAppVM>
      <AddUser>sample string 10</AddUser>
      <ApplicationNo>3</ApplicationNo>
      <ApproveDate>2024-12-22T15:06:59.220077-07:00</ApproveDate>
      <ApproveUser>sample string 11</ApproveUser>
      <ClassName>sample string 17</ClassName>
      <ClassSection>sample string 18</ClassSection>
      <CompanyCode>5</CompanyCode>
      <FYCode>6</FYCode>
      <FatherName>sample string 14</FatherName>
      <Id>2</Id>
      <LeaveApproved>true</LeaveApproved>
      <LeaveDate>2024-12-22T15:06:59.220077-07:00</LeaveDate>
      <LeaveReason>sample string 8</LeaveReason>
      <LeaveType>sample string 9</LeaveType>
      <MotherName>sample string 15</MotherName>
      <Name>sample string 13</Name>
      <RegistrationNo>sample string 12</RegistrationNo>
      <SMSMobile>sample string 16</SMSMobile>
      <StudentCode>4</StudentCode>
      <TrnDate>2024-12-22T15:06:59.220077-07:00</TrnDate>
    </LeaveDetailsAppVM>
    <LeaveDetailsAppVM>
      <AddUser>sample string 10</AddUser>
      <ApplicationNo>3</ApplicationNo>
      <ApproveDate>2024-12-22T15:06:59.220077-07:00</ApproveDate>
      <ApproveUser>sample string 11</ApproveUser>
      <ClassName>sample string 17</ClassName>
      <ClassSection>sample string 18</ClassSection>
      <CompanyCode>5</CompanyCode>
      <FYCode>6</FYCode>
      <FatherName>sample string 14</FatherName>
      <Id>2</Id>
      <LeaveApproved>true</LeaveApproved>
      <LeaveDate>2024-12-22T15:06:59.220077-07:00</LeaveDate>
      <LeaveReason>sample string 8</LeaveReason>
      <LeaveType>sample string 9</LeaveType>
      <MotherName>sample string 15</MotherName>
      <Name>sample string 13</Name>
      <RegistrationNo>sample string 12</RegistrationNo>
      <SMSMobile>sample string 16</SMSMobile>
      <StudentCode>4</StudentCode>
      <TrnDate>2024-12-22T15:06:59.220077-07:00</TrnDate>
    </LeaveDetailsAppVM>
    <LeaveDetailsAppVM>
      <AddUser>sample string 10</AddUser>
      <ApplicationNo>3</ApplicationNo>
      <ApproveDate>2024-12-22T15:06:59.220077-07:00</ApproveDate>
      <ApproveUser>sample string 11</ApproveUser>
      <ClassName>sample string 17</ClassName>
      <ClassSection>sample string 18</ClassSection>
      <CompanyCode>5</CompanyCode>
      <FYCode>6</FYCode>
      <FatherName>sample string 14</FatherName>
      <Id>2</Id>
      <LeaveApproved>true</LeaveApproved>
      <LeaveDate>2024-12-22T15:06:59.220077-07:00</LeaveDate>
      <LeaveReason>sample string 8</LeaveReason>
      <LeaveType>sample string 9</LeaveType>
      <MotherName>sample string 15</MotherName>
      <Name>sample string 13</Name>
      <RegistrationNo>sample string 12</RegistrationNo>
      <SMSMobile>sample string 16</SMSMobile>
      <StudentCode>4</StudentCode>
      <TrnDate>2024-12-22T15:06:59.220077-07:00</TrnDate>
    </LeaveDetailsAppVM>
  </AttendanceDataList>
  <ErrorMsg>sample string 3</ErrorMsg>
  <Response>true</Response>
  <Status>sample string 1</Status>
</LeaveDetailsListAppVM>