POST api/Benefits/ManageBenefitsRecord

Request Information

URI Parameters

None.

Body Parameters

BenefitsRecord_model
NameDescriptionTypeAdditional information
Id

integer

None.

EmpId

integer

None.

EmployeeName

string

None.

BenefitTypeId

integer

None.

BenefitType

string

None.

BenefitClassId

integer

None.

BenefitClass

string

None.

BenefitCatId

integer

None.

BenefitCategory

string

None.

AdjustmentId

integer

None.

AdjustmentDescription

string

None.

ClientId

integer

None.

ClientName

string

None.

Amount

decimal number

None.

EffectiveDate

date

None.

StartDate

date

None.

IsTaxable

boolean

None.

Taxable

string

None.

IsBillable

boolean

None.

Billable

string

None.

Status

boolean

None.

Remarks

string

None.

UserCreatedId

integer

None.

CreatedBy

string

None.

DateCreated

string

None.

UserModifiedId

integer

None.

ModifiedBy

string

None.

DateModified

string

None.

Mode

integer

None.

ErrorMessage

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "EmpId": 2,
  "EmployeeName": "sample string 3",
  "BenefitTypeId": 4,
  "BenefitType": "sample string 5",
  "BenefitClassId": 6,
  "BenefitClass": "sample string 7",
  "BenefitCatId": 8,
  "BenefitCategory": "sample string 9",
  "AdjustmentId": 10,
  "AdjustmentDescription": "sample string 11",
  "ClientId": 12,
  "ClientName": "sample string 13",
  "Amount": 14.0,
  "EffectiveDate": "2026-11-21T12:46:45.7745008+08:00",
  "StartDate": "2026-11-21T12:46:45.7745008+08:00",
  "IsTaxable": true,
  "Taxable": "sample string 18",
  "IsBillable": true,
  "Billable": "sample string 20",
  "Status": true,
  "Remarks": "sample string 22",
  "UserCreatedId": 23,
  "CreatedBy": "sample string 24",
  "DateCreated": "sample string 25",
  "UserModifiedId": 26,
  "ModifiedBy": "sample string 27",
  "DateModified": "sample string 28",
  "Mode": 29,
  "ErrorMessage": "sample string 30"
}

application/xml, text/xml

Sample:
<Benefits_model.BenefitsRecord_model xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HRModel.ViewModel.Employees.Benefits">
  <AdjustmentDescription>sample string 11</AdjustmentDescription>
  <AdjustmentId>10</AdjustmentId>
  <Amount>14</Amount>
  <BenefitCatId>8</BenefitCatId>
  <BenefitCategory>sample string 9</BenefitCategory>
  <BenefitClass>sample string 7</BenefitClass>
  <BenefitClassId>6</BenefitClassId>
  <BenefitType>sample string 5</BenefitType>
  <BenefitTypeId>4</BenefitTypeId>
  <Billable>sample string 20</Billable>
  <ClientId>12</ClientId>
  <ClientName>sample string 13</ClientName>
  <CreatedBy>sample string 24</CreatedBy>
  <DateCreated>sample string 25</DateCreated>
  <DateModified>sample string 28</DateModified>
  <EffectiveDate>2026-11-21T12:46:45.7745008+08:00</EffectiveDate>
  <EmpId>2</EmpId>
  <EmployeeName>sample string 3</EmployeeName>
  <ErrorMessage>sample string 30</ErrorMessage>
  <Id>1</Id>
  <IsBillable>true</IsBillable>
  <IsTaxable>true</IsTaxable>
  <Mode>29</Mode>
  <ModifiedBy>sample string 27</ModifiedBy>
  <Remarks>sample string 22</Remarks>
  <StartDate>2026-11-21T12:46:45.7745008+08:00</StartDate>
  <Status>true</Status>
  <Taxable>sample string 18</Taxable>
  <UserCreatedId>23</UserCreatedId>
  <UserModifiedId>26</UserModifiedId>
</Benefits_model.BenefitsRecord_model>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.