POST api/savePunchStaffAttendance

Request Information

URI Parameters

None.

Body Parameters

BOMyInfoStaffAttendanceAPI
NameDescriptionTypeAdditional information
InOutId

integer

None.

StaffId

integer

None.

InTime

string

None.

OutTime

string

None.

AttendanceDate

string

None.

WarningMessage

string

None.

Remarks

string

None.

IsApproved

boolean

None.

UserId

string

None.

AttendanceLocation

string

None.

Request Formats

application/json, text/json

Sample:
{
  "InOutId": 1,
  "StaffId": 2,
  "InTime": "sample string 3",
  "OutTime": "sample string 4",
  "AttendanceDate": "sample string 5",
  "WarningMessage": "sample string 6",
  "Remarks": "sample string 7",
  "IsApproved": true,
  "UserId": "sample string 9",
  "AttendanceLocation": "sample string 10"
}

application/xml, text/xml

Sample:
<BOMyInfoStaffAttendanceAPI xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PSASAttendanceMobileAPI.Models.BOL">
  <AttendanceDate>sample string 5</AttendanceDate>
  <AttendanceLocation>sample string 10</AttendanceLocation>
  <InOutId>1</InOutId>
  <InTime>sample string 3</InTime>
  <IsApproved>true</IsApproved>
  <OutTime>sample string 4</OutTime>
  <Remarks>sample string 7</Remarks>
  <StaffId>2</StaffId>
  <UserId>sample string 9</UserId>
  <WarningMessage>sample string 6</WarningMessage>
</BOMyInfoStaffAttendanceAPI>

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.