POST api/v1/hR_EmployeeSpouse

Request Information

URI Parameters

None.

Body Parameters

HR_EmployeeSpouseVM
NameDescriptionTypeAdditional information
spouseId

integer

None.

firstName

string

None.

middleName

string

None.

lastName

string

None.

gender

string

None.

email

string

None.

phoneNumber

string

None.

address

string

None.

tenantId

integer

None.

dateMidified

date

None.

relationshipId

integer

None.

createdBy

integer

None.

employeeId

integer

None.

relationshipName

string

None.

name

string

None.

Request Formats

application/json, text/json

Sample:
{
  "spouseId": 1,
  "firstName": "sample string 2",
  "middleName": "sample string 3",
  "lastName": "sample string 4",
  "gender": "sample string 5",
  "email": "sample string 6",
  "phoneNumber": "sample string 7",
  "address": "sample string 8",
  "tenantId": 1,
  "dateMidified": "2024-11-24T09:44:15.224297-08:00",
  "relationshipId": 1,
  "createdBy": 9,
  "employeeId": 1,
  "relationshipName": "sample string 10",
  "name": "sample string 11"
}

application/xml, text/xml

Sample:
<HR_EmployeeSpouseVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Data.TransferObject.ViewModel">
  <address>sample string 8</address>
  <createdBy>9</createdBy>
  <dateMidified>2024-11-24T09:44:15.224297-08:00</dateMidified>
  <email>sample string 6</email>
  <employeeId>1</employeeId>
  <firstName>sample string 2</firstName>
  <gender>sample string 5</gender>
  <lastName>sample string 4</lastName>
  <middleName>sample string 3</middleName>
  <name>sample string 11</name>
  <phoneNumber>sample string 7</phoneNumber>
  <relationshipId>1</relationshipId>
  <relationshipName>sample string 10</relationshipName>
  <spouseId>1</spouseId>
  <tenantId>1</tenantId>
</HR_EmployeeSpouseVM>

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.