POST api/AddAttendanceForEmployee

Request Information

URI Parameters

None.

Body Parameters

SvcAttendanceRequestMDL
NameDescriptionTypeAdditional information
CompanyId

integer

None.

EmployeeId

integer

None.

AddressTypeId

integer

None.

AddressId

integer

None.

AddressLocation

string

None.

AddressLat

string

None.

AddressLong

string

None.

PunchType

string

None.

Language

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CompanyId": 1,
  "EmployeeId": 2,
  "AddressTypeId": 3,
  "AddressId": 4,
  "AddressLocation": "sample string 5",
  "AddressLat": "sample string 6",
  "AddressLong": "sample string 7",
  "PunchType": "sample string 8",
  "Language": "sample string 9"
}

application/xml, text/xml

Sample:
<SvcAttendanceRequestMDL xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FTSMDLClassLibrary.WebAPIMDL">
  <AddressId>4</AddressId>
  <AddressLat>sample string 6</AddressLat>
  <AddressLocation>sample string 5</AddressLocation>
  <AddressLong>sample string 7</AddressLong>
  <AddressTypeId>3</AddressTypeId>
  <CompanyId>1</CompanyId>
  <EmployeeId>2</EmployeeId>
  <Language>sample string 9</Language>
  <PunchType>sample string 8</PunchType>
</SvcAttendanceRequestMDL>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ServiceResultOfString
NameDescriptionTypeAdditional information
Message

string

None.

Description

string

None.

Result

boolean

None.

Data

string

None.

status

integer

None.

TotalCount

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Message": "sample string 1",
  "Description": "sample string 2",
  "Result": true,
  "Data": "sample string 4",
  "status": 5,
  "TotalCount": 6
}

application/xml, text/xml

Sample:
<ServiceResultOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FTSMDLClassLibrary.FTSServices">
  <Data>sample string 4</Data>
  <Description>sample string 2</Description>
  <Message>sample string 1</Message>
  <Result>true</Result>
  <TotalCount>6</TotalCount>
  <status>5</status>
</ServiceResultOfstring>