POST api/JankariPortal/InsertEmployeeReference

Request Information

URI Parameters

None.

Body Parameters

EmployeeReference
NameDescriptionTypeAdditional information
refid

integer

None.

empid

string

None.

refname

string

None.

designation

string

None.

contactno

string

None.

Request Formats

application/json, text/json

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

application/xml, text/xml

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

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>