POST api/lgt/EleaveInsert?langcode={langcode}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
langcode

string

Required

Body Parameters

ELeave
NameDescriptionTypeAdditional information
employeeid

string

None.

eleavetype

string

None.

datedaytype

string

None.

fromtime

string

None.

totime

string

None.

reason

string

None.

duration

string

None.

attachment

Collection of byte

None.

AttachmentBase64

string

None.

userid

string

None.

Request Formats

application/json, text/json

Sample:
{
  "employeeid": "sample string 1",
  "eleavetype": "sample string 2",
  "datedaytype": "sample string 3",
  "fromtime": "sample string 4",
  "totime": "sample string 5",
  "reason": "sample string 6",
  "duration": "sample string 7",
  "attachment": "QEA=",
  "AttachmentBase64": "sample string 8",
  "userid": "sample string 9"
}

application/xml, text/xml

Sample:
<ELeave xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Lgt.MobileApp.API.Models">
  <AttachmentBase64>sample string 8</AttachmentBase64>
  <attachment>QEA=</attachment>
  <datedaytype>sample string 3</datedaytype>
  <duration>sample string 7</duration>
  <eleavetype>sample string 2</eleavetype>
  <employeeid>sample string 1</employeeid>
  <fromtime>sample string 4</fromtime>
  <reason>sample string 6</reason>
  <totime>sample string 5</totime>
  <userid>sample string 9</userid>
</ELeave>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.