POST api/Attendance/ImportAttendence?companyid={companyid}&fromdate={fromdate}&todate={todate}&role={role}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
companyid

integer

Required

fromdate

string

Required

todate

string

Required

role

integer

Required

Body Parameters

Collection of clInsertattendanceimport
NameDescriptionTypeAdditional information
WorkingDays

string

None.

DaysWorked

string

None.

HoursWorked

string

None.

EmpCode

string

None.

Lossofpay

decimal number

None.

fromdate

date

None.

todate

date

None.

companyid

integer

None.

MobileNumber

string

None.

Name

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "WorkingDays": "sample string 1",
    "DaysWorked": "sample string 2",
    "HoursWorked": "sample string 3",
    "EmpCode": "sample string 4",
    "Lossofpay": 5.0,
    "fromdate": "2026-05-18T08:15:30.0957312+00:00",
    "todate": "2026-05-18T08:15:30.0957312+00:00",
    "companyid": 1,
    "MobileNumber": "sample string 6",
    "Name": "sample string 7"
  },
  {
    "$ref": "1"
  }
]

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.