POST api/employee/decision

Request Information

URI Parameters

None.

Body Parameters

BonusDecisionInput
NameDescriptionTypeAdditional information
HR_BOND_STAFFNO

integer

None.

LoggedInStaffNo

integer

None.

HR_BOND_ELECT_BONUS_MONTH

integer

None.

HR_BOND_TAX_CHOICE

string

None.

Request Formats

application/json, text/json

Sample:
{
  "HR_BOND_STAFFNO": 1,
  "LoggedInStaffNo": 1,
  "HR_BOND_ELECT_BONUS_MONTH": 1,
  "HR_BOND_TAX_CHOICE": "sample string 2"
}

application/xml, text/xml

Sample:
<BonusDecisionInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HR_COS_Bonus.Dto.BonusDecision">
  <HR_BOND_ELECT_BONUS_MONTH>1</HR_BOND_ELECT_BONUS_MONTH>
  <HR_BOND_STAFFNO>1</HR_BOND_STAFFNO>
  <HR_BOND_TAX_CHOICE>sample string 2</HR_BOND_TAX_CHOICE>
  <LoggedInStaffNo>1</LoggedInStaffNo>
</BonusDecisionInput>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

DBResult
NameDescriptionTypeAdditional information
success

boolean

None.

threwError

boolean

None.

titleText

string

None.

descripText

string

None.

status

string

None.

data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "success": true,
  "threwError": true,
  "titleText": "sample string 3",
  "descripText": "sample string 4",
  "status": "sample string 5",
  "data": {}
}

application/xml, text/xml

Sample:
<DBResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HR_COS_Bonus.Utils.Results">
  <data />
  <descripText>sample string 4</descripText>
  <status>sample string 5</status>
  <success>true</success>
  <threwError>true</threwError>
  <titleText>sample string 3</titleText>
</DBResult>