POST api/DeviceCommunication/GetByEmployeeUniqueId

Request Information

URI Parameters

None.

Body Parameters

DeviceGetByEmployeeUniqueIdRequest
NameDescriptionTypeAdditional information
EmployeeUniqueId

string

None.

CardType

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "employeeUniqueId": "sample string 1",
  "cardType": 2
}

application/xml, text/xml

Sample:
<DeviceGetByEmployeeUniqueIdRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BalDal.Request">
  <CardType>2</CardType>
  <EmployeeUniqueId>sample string 1</EmployeeUniqueId>
</DeviceGetByEmployeeUniqueIdRequest>

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 'DeviceGetByEmployeeUniqueIdRequest'.

Response Information

Resource Description

DeviceGetByEmployeeUniqueIdResponse
NameDescriptionTypeAdditional information
ErrorCode

string

None.

ErrorDescription

string

None.

EmployeeId

integer

None.

Name

string

None.

CardType

integer

None.

EmployeeUniqueId

string

None.

Photo

string

None.

Photo2

string

None.

Photo3

string

None.

authenticationType

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "errorCode": "sample string 1",
  "errorDescription": "sample string 2",
  "employeeId": 3,
  "name": "sample string 4",
  "cardType": 5,
  "employeeUniqueId": "sample string 6",
  "photo": "sample string 7",
  "photo2": "sample string 8",
  "photo3": "sample string 9",
  "authenticationType": 10
}

application/xml, text/xml

Sample:
<DeviceGetByEmployeeUniqueIdResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BalDal.Response">
  <CardType>5</CardType>
  <EmployeeId>3</EmployeeId>
  <EmployeeUniqueId>sample string 6</EmployeeUniqueId>
  <ErrorCode>sample string 1</ErrorCode>
  <ErrorDescription>sample string 2</ErrorDescription>
  <Name>sample string 4</Name>
  <Photo>sample string 7</Photo>
  <Photo2>sample string 8</Photo2>
  <Photo3>sample string 9</Photo3>
  <authenticationType>10</authenticationType>
</DeviceGetByEmployeeUniqueIdResponse>