GET api/JankariPortal/GetEmployeeReference/{empid}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
empid

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of EmployeeReference
NameDescriptionTypeAdditional information
refid

integer

None.

empid

string

None.

refname

string

None.

designation

string

None.

contactno

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "refid": 1,
    "empid": "sample string 2",
    "refname": "sample string 3",
    "designation": "sample string 4",
    "contactno": "sample string 5"
  },
  {
    "refid": 1,
    "empid": "sample string 2",
    "refname": "sample string 3",
    "designation": "sample string 4",
    "contactno": "sample string 5"
  }
]

application/xml, text/xml

Sample:
<ArrayOfEmployeeReference xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JankariPortalPIFAPI.Models">
  <EmployeeReference>
    <contactno>sample string 5</contactno>
    <designation>sample string 4</designation>
    <empid>sample string 2</empid>
    <refid>1</refid>
    <refname>sample string 3</refname>
  </EmployeeReference>
  <EmployeeReference>
    <contactno>sample string 5</contactno>
    <designation>sample string 4</designation>
    <empid>sample string 2</empid>
    <refid>1</refid>
    <refname>sample string 3</refname>
  </EmployeeReference>
</ArrayOfEmployeeReference>