POST api/v1/hR_EmployeeNextOfKin

Request Information

URI Parameters

None.

Body Parameters

HR_EmployeeNextOfKinVM
NameDescriptionTypeAdditional information
employeeNextOfKinId

integer

None.

firstName

string

None.

lastName

string

None.

phoneNumber

string

None.

address

string

None.

emailAddress

string

None.

relationshipId

integer

None.

tenantId

integer

None.

employeeId

integer

None.

titleId

integer

None.

createdBy

integer

None.

relationshipName

string

None.

name

string

None.

Request Formats

application/json, text/json

Sample:
{
  "employeeNextOfKinId": 1,
  "firstName": "sample string 2",
  "lastName": "sample string 3",
  "phoneNumber": "sample string 4",
  "address": "sample string 5",
  "emailAddress": "sample string 6",
  "relationshipId": 1,
  "tenantId": 1,
  "employeeId": 1,
  "titleId": 1,
  "createdBy": 7,
  "relationshipName": "sample string 8",
  "name": "sample string 9"
}

application/xml, text/xml

Sample:
<HR_EmployeeNextOfKinVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Data.TransferObject.ViewModel">
  <address>sample string 5</address>
  <createdBy>7</createdBy>
  <emailAddress>sample string 6</emailAddress>
  <employeeId>1</employeeId>
  <employeeNextOfKinId>1</employeeNextOfKinId>
  <firstName>sample string 2</firstName>
  <lastName>sample string 3</lastName>
  <name>sample string 9</name>
  <phoneNumber>sample string 4</phoneNumber>
  <relationshipId>1</relationshipId>
  <relationshipName>sample string 8</relationshipName>
  <tenantId>1</tenantId>
  <titleId>1</titleId>
</HR_EmployeeNextOfKinVM>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.