POST saveawhdailyattendance

Request Information

URI Parameters

None.

Body Parameters

AWTAWHAttendance
NameDescriptionTypeAdditional information
InchargeOrRegular

string

None.

EMP_ID

integer

None.

YesNo

integer

None.

AbcentReason

integer

None.

AbscentRemarks

string

None.

IfLeaveType

integer

None.

AWC_ID

integer

None.

Sector_ID

integer

None.

Project_ID

integer

None.

District_Id

integer

None.

Desig

integer

None.

AttendedDays

integer

None.

Holidays

integer

None.

PaidOfficialLeaves

integer

None.

UnpaidOfficialLeaves

integer

None.

UnOfficialLeave

integer

None.

SecMeetings

integer

None.

OtherDeptWork

integer

None.

ProjMeeting

integer

None.

Training

integer

None.

MaternityLv

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "InchargeOrRegular": "sample string 1",
  "EMP_ID": 2,
  "YesNo": 3,
  "AbcentReason": 4,
  "AbscentRemarks": "sample string 5",
  "IfLeaveType": 6,
  "AWC_ID": 7,
  "Sector_ID": 8,
  "Project_ID": 9,
  "District_Id": 10,
  "Desig": 11,
  "AttendedDays": 12,
  "Holidays": 13,
  "PaidOfficialLeaves": 14,
  "UnpaidOfficialLeaves": 15,
  "UnOfficialLeave": 16,
  "SecMeetings": 17,
  "OtherDeptWork": 18,
  "ProjMeeting": 19,
  "Training": 20,
  "MaternityLv": 21
}

application/xml, text/xml

Sample:
<AWTAWHAttendance xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/commonlib.DataAccess">
  <AWC_ID>7</AWC_ID>
  <AbcentReason>4</AbcentReason>
  <AbscentRemarks>sample string 5</AbscentRemarks>
  <AttendedDays>12</AttendedDays>
  <Desig>11</Desig>
  <District_Id>10</District_Id>
  <EMP_ID>2</EMP_ID>
  <Holidays>13</Holidays>
  <IfLeaveType>6</IfLeaveType>
  <InchargeOrRegular>sample string 1</InchargeOrRegular>
  <MaternityLv>21</MaternityLv>
  <OtherDeptWork>18</OtherDeptWork>
  <PaidOfficialLeaves>14</PaidOfficialLeaves>
  <ProjMeeting>19</ProjMeeting>
  <Project_ID>9</Project_ID>
  <SecMeetings>17</SecMeetings>
  <Sector_ID>8</Sector_ID>
  <Training>20</Training>
  <UnOfficialLeave>16</UnOfficialLeave>
  <UnpaidOfficialLeaves>15</UnpaidOfficialLeaves>
  <YesNo>3</YesNo>
</AWTAWHAttendance>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'AWTAWHAttendance'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.