POST UMS/CreateLeaveApplicationAsync

Request Information

URI Parameters

None.

Body Parameters

ApiModelLeaveApplicationModel
NameDescriptionTypeAdditional information
AttachmentExt

string

None.

AttachmentName

string

None.

PeriodPorfileId

string

None.

LeaveMasterId

string

None.

EmployeeCode

string

None.

StartDate

string

None.

EndDate

string

None.

Attachmentpath

string

None.

ReasonofLeave

string

None.

Longitude

string

None.

Latitude

string

None.

LeaveApplicationLocation

string

None.

LeaveApplicationFrom

string

None.

CreatedBy

string

None.

GetLeaveDetailListDataLists

Collection of GetLeaveDetailListData

None.

Request Formats

application/json, text/json

Sample:
{
  "AttachmentExt": "sample string 1",
  "AttachmentName": "sample string 2",
  "PeriodPorfileId": "sample string 3",
  "LeaveMasterId": "sample string 4",
  "EmployeeCode": "sample string 5",
  "StartDate": "sample string 6",
  "EndDate": "sample string 7",
  "Attachmentpath": "sample string 8",
  "ReasonofLeave": "sample string 9",
  "Longitude": "sample string 10",
  "Latitude": "sample string 11",
  "LeaveApplicationLocation": "sample string 12",
  "LeaveApplicationFrom": "sample string 13",
  "CreatedBy": "sample string 14",
  "GetLeaveDetailListDataLists": [
    {
      "LeaveDate": "sample string 1",
      "NameOfDay": "sample string 2",
      "IsFullDay": "sample string 3",
      "IsHalfDay": "sample string 4",
      "IsWeekOff": "sample string 5",
      "IsHoliday": "sample string 6",
      "LeaveNo": "sample string 7",
      "TotalLeave": "sample string 8",
      "EndMonthYear": "sample string 9",
      "EndMonthYearBalance": "sample string 10",
      "Booked": "sample string 11",
      "BookedBalance": "sample string 12",
      "ProfileEnd": "sample string 13",
      "ProfileEndBalance": "sample string 14",
      "FirstHalfSecondHalf": "sample string 15",
      "IsCertificate": "sample string 16"
    },
    {
      "LeaveDate": "sample string 1",
      "NameOfDay": "sample string 2",
      "IsFullDay": "sample string 3",
      "IsHalfDay": "sample string 4",
      "IsWeekOff": "sample string 5",
      "IsHoliday": "sample string 6",
      "LeaveNo": "sample string 7",
      "TotalLeave": "sample string 8",
      "EndMonthYear": "sample string 9",
      "EndMonthYearBalance": "sample string 10",
      "Booked": "sample string 11",
      "BookedBalance": "sample string 12",
      "ProfileEnd": "sample string 13",
      "ProfileEndBalance": "sample string 14",
      "FirstHalfSecondHalf": "sample string 15",
      "IsCertificate": "sample string 16"
    }
  ]
}

application/xml, text/xml

Sample:
<ApiModelLeaveApplicationModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MicroWebUMS.ReportsModel.EntityModels.HumanResource">
  <AttachmentExt>sample string 1</AttachmentExt>
  <AttachmentName>sample string 2</AttachmentName>
  <Attachmentpath>sample string 8</Attachmentpath>
  <CreatedBy>sample string 14</CreatedBy>
  <EmployeeCode>sample string 5</EmployeeCode>
  <EndDate>sample string 7</EndDate>
  <GetLeaveDetailListDataLists>
    <GetLeaveDetailListData>
      <Booked>sample string 11</Booked>
      <BookedBalance>sample string 12</BookedBalance>
      <EndMonthYear>sample string 9</EndMonthYear>
      <EndMonthYearBalance>sample string 10</EndMonthYearBalance>
      <FirstHalfSecondHalf>sample string 15</FirstHalfSecondHalf>
      <IsCertificate>sample string 16</IsCertificate>
      <IsFullDay>sample string 3</IsFullDay>
      <IsHalfDay>sample string 4</IsHalfDay>
      <IsHoliday>sample string 6</IsHoliday>
      <IsWeekOff>sample string 5</IsWeekOff>
      <LeaveDate>sample string 1</LeaveDate>
      <LeaveNo>sample string 7</LeaveNo>
      <NameOfDay>sample string 2</NameOfDay>
      <ProfileEnd>sample string 13</ProfileEnd>
      <ProfileEndBalance>sample string 14</ProfileEndBalance>
      <TotalLeave>sample string 8</TotalLeave>
    </GetLeaveDetailListData>
    <GetLeaveDetailListData>
      <Booked>sample string 11</Booked>
      <BookedBalance>sample string 12</BookedBalance>
      <EndMonthYear>sample string 9</EndMonthYear>
      <EndMonthYearBalance>sample string 10</EndMonthYearBalance>
      <FirstHalfSecondHalf>sample string 15</FirstHalfSecondHalf>
      <IsCertificate>sample string 16</IsCertificate>
      <IsFullDay>sample string 3</IsFullDay>
      <IsHalfDay>sample string 4</IsHalfDay>
      <IsHoliday>sample string 6</IsHoliday>
      <IsWeekOff>sample string 5</IsWeekOff>
      <LeaveDate>sample string 1</LeaveDate>
      <LeaveNo>sample string 7</LeaveNo>
      <NameOfDay>sample string 2</NameOfDay>
      <ProfileEnd>sample string 13</ProfileEnd>
      <ProfileEndBalance>sample string 14</ProfileEndBalance>
      <TotalLeave>sample string 8</TotalLeave>
    </GetLeaveDetailListData>
  </GetLeaveDetailListDataLists>
  <Latitude>sample string 11</Latitude>
  <LeaveApplicationFrom>sample string 13</LeaveApplicationFrom>
  <LeaveApplicationLocation>sample string 12</LeaveApplicationLocation>
  <LeaveMasterId>sample string 4</LeaveMasterId>
  <Longitude>sample string 10</Longitude>
  <PeriodPorfileId>sample string 3</PeriodPorfileId>
  <ReasonofLeave>sample string 9</ReasonofLeave>
  <StartDate>sample string 6</StartDate>
</ApiModelLeaveApplicationModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

DbResult
NameDescriptionTypeAdditional information
DbResultId

DbResultType

None.

Message

string

None.

TableId

integer

None.

CustomReturn

string

None.

ErrorCode

string

None.

Response Formats

application/json, text/json

Sample:
{
  "DbResultId": 1,
  "Message": "sample string 1",
  "TableId": 2,
  "CustomReturn": "sample string 3",
  "ErrorCode": "sample string 4"
}

application/xml, text/xml

Sample:
<DbResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MicroWebUMS.ReportsCommon">
  <CustomReturn>sample string 3</CustomReturn>
  <DbResultId>Inserted</DbResultId>
  <ErrorCode>sample string 4</ErrorCode>
  <Message>sample string 1</Message>
  <TableId>2</TableId>
</DbResult>