GET api/Etms/GetEmployeeCode?EmpId={EmpId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
EmpId

integer

Required

Body Parameters

None.

Response Information

Resource Description

ServiceResultOfListOfSvcGetEmployeeCodeMDL
NameDescriptionTypeAdditional information
Message

string

None.

Description

string

None.

Result

boolean

None.

Data

Collection of SvcGetEmployeeCodeMDL

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": [
    {
      "EmployeeId": 1,
      "EmployeeCode": "sample string 2",
      "EmployeeName": "sample string 3"
    },
    {
      "EmployeeId": 1,
      "EmployeeCode": "sample string 2",
      "EmployeeName": "sample string 3"
    }
  ],
  "status": 4,
  "TotalCount": 5
}

application/xml, text/xml

Sample:
<ServiceResultOfArrayOfSvcGetEmployeeCodeMDLZtd1f7XL xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FTSMDLClassLibrary.FTSServices">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/FTSMDLClassLibrary.WebAPIMDL.Etms">
    <d2p1:SvcGetEmployeeCodeMDL>
      <d2p1:EmployeeCode>sample string 2</d2p1:EmployeeCode>
      <d2p1:EmployeeId>1</d2p1:EmployeeId>
      <d2p1:EmployeeName>sample string 3</d2p1:EmployeeName>
    </d2p1:SvcGetEmployeeCodeMDL>
    <d2p1:SvcGetEmployeeCodeMDL>
      <d2p1:EmployeeCode>sample string 2</d2p1:EmployeeCode>
      <d2p1:EmployeeId>1</d2p1:EmployeeId>
      <d2p1:EmployeeName>sample string 3</d2p1:EmployeeName>
    </d2p1:SvcGetEmployeeCodeMDL>
  </Data>
  <Description>sample string 2</Description>
  <Message>sample string 1</Message>
  <Result>true</Result>
  <TotalCount>5</TotalCount>
  <status>4</status>
</ServiceResultOfArrayOfSvcGetEmployeeCodeMDLZtd1f7XL>