POST api/hrmBenefit/Save

Request Information

URI Parameters

None.

Body Parameters

hrmBenefit
NameDescriptionTypeAdditional information
IsDirect

boolean

None.

PayrolEffect

boolean

None.

AlteredOn

date

None.

CreatedOn

date

None.

ActionTypeId

integer

None.

AlteredById

integer

None.

BenefitId

integer

None.

BenefitTypeProfileId

integer

None.

BranchesId

integer

None.

CompanyId

integer

None.

CreatedById

integer

None.

OrganizationId

integer

None.

UserLogId

integer

None.

BenefitName

string

None.

BenefitPrefix

string

None.

ProfileName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "IsDirect": true,
  "PayrolEffect": true,
  "AlteredOn": "2025-10-29T13:17:00.9631665+05:00",
  "CreatedOn": "2025-10-29T13:17:00.9631665+05:00",
  "ActionTypeId": 5,
  "AlteredById": 6,
  "BenefitId": 7,
  "BenefitTypeProfileId": 8,
  "BranchesId": 9,
  "CompanyId": 10,
  "CreatedById": 11,
  "OrganizationId": 12,
  "UserLogId": 13,
  "BenefitName": "sample string 14",
  "BenefitPrefix": "sample string 15",
  "ProfileName": "sample string 16"
}

application/xml, text/xml

Sample:
<hrmBenefit xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Architecture.Model.HRM.ProfileManagement">
  <ActionTypeId>5</ActionTypeId>
  <AlteredById>6</AlteredById>
  <AlteredOn>2025-10-29T13:17:00.9631665+05:00</AlteredOn>
  <BenefitId>7</BenefitId>
  <BenefitName>sample string 14</BenefitName>
  <BenefitPrefix>sample string 15</BenefitPrefix>
  <BenefitTypeProfileId>8</BenefitTypeProfileId>
  <BranchesId>9</BranchesId>
  <CompanyId>10</CompanyId>
  <CreatedById>11</CreatedById>
  <CreatedOn>2025-10-29T13:17:00.9631665+05:00</CreatedOn>
  <IsDirect>true</IsDirect>
  <OrganizationId>12</OrganizationId>
  <PayrolEffect>true</PayrolEffect>
  <ProfileName>sample string 16</ProfileName>
  <UserLogId>13</UserLogId>
</hrmBenefit>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'hrmBenefit'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.