GET api/EmployeeSummary?companycode={companycode}&staff={staff}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
companycode

string

Required

staff

string

Required

Body Parameters

None.

Response Information

Resource Description

StaffSummary
NameDescriptionTypeAdditional information
TodayTotal

decimal number

None.

ThisMonthTotal

decimal number

None.

LastMonthTotal

decimal number

None.

LastMonthWorkTime

integer

None.

ThisMonthWorkTime

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "LastMonthWorkTime": 1,
  "ThisMonthWorkTime": 2,
  "TodayTotal": 1.0,
  "ThisMonthTotal": 2.0,
  "LastMonthTotal": 3.0
}

text/xml

Sample:
<StaffSummary xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CloudSysPOSWeb.Models">
  <LastMonthTotal>3</LastMonthTotal>
  <LastMonthWorkTime>1</LastMonthWorkTime>
  <ThisMonthTotal>2</ThisMonthTotal>
  <ThisMonthWorkTime>2</ThisMonthWorkTime>
  <TodayTotal>1</TodayTotal>
</StaffSummary>