POST employee-benefit/save
Request Information
URI Parameters
None.
Body Parameters
EmployeeBenefitOptionVm| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId | string |
None. |
|
| Employee | string |
None. |
|
| BenefitOptionId | string |
None. |
|
| BenefitOptionDescription | string |
None. |
|
| EffectiveDate | date |
None. |
|
| EffectiveDateDisplay | string |
None. |
|
| EffectiveDateCalendar | string |
None. |
|
| EffectiveDateInput | string |
None. |
|
| Year | integer |
None. |
|
| Type | string |
None. |
|
| ModifiedBy | string |
None. |
|
| ModifiedDate | date |
None. |
|
| ModifiedDateDisplay | string |
None. |
|
| BenefitItems | Collection of EmployeeBenefitItemVm |
None. |
|
| IsChangeAllowForEmployee | boolean |
None. |
|
| Token | string |
None. |
|
| Id | string |
None. |
|
| IsActive | boolean |
None. |
|
| Company | string |
None. |
|
| Search | string |
None. |
|
| CurrentPage | integer |
None. |
|
| TotalPage | integer |
None. |
|
| SizePerPage | integer |
None. |
|
| SortBy | string |
None. |
|
| searchFilter | Collection of ColFilter |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserId": "sample string 1",
"Employee": "sample string 2",
"BenefitOptionId": "sample string 3",
"BenefitOptionDescription": "sample string 4",
"EffectiveDate": "2025-12-22T19:03:43.7827036+08:00",
"EffectiveDateDisplay": "22 December 2025",
"EffectiveDateCalendar": "2025-12-22",
"EffectiveDateInput": "sample string 5",
"Year": 6,
"Type": "sample string 7",
"ModifiedBy": "sample string 8",
"ModifiedDate": "2025-12-22T19:03:43.7827036+08:00",
"ModifiedDateDisplay": "22 December 2025 19:03:43",
"BenefitItems": [
{
"BenefitItem": "sample string 1",
"DataType": "sample string 2",
"Value": "sample string 3",
"Sequence": 4
},
{
"BenefitItem": "sample string 1",
"DataType": "sample string 2",
"Value": "sample string 3",
"Sequence": 4
}
],
"IsChangeAllowForEmployee": true,
"Token": "sample string 11",
"Id": "sample string 12",
"IsActive": true,
"Company": "sample string 14",
"Search": "sample string 15",
"CurrentPage": 16,
"TotalPage": 17,
"SizePerPage": 18,
"SortBy": "sample string 19",
"searchFilter": [
{
"name": "sample string 1",
"val": [
"sample string 1",
"sample string 2"
]
},
{
"name": "sample string 1",
"val": [
"sample string 1",
"sample string 2"
]
}
]
}
application/xml, text/xml
Sample:
<EmployeeBenefitOptionVm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BoardRoom.ViewModels">
<Company>sample string 14</Company>
<CurrentPage>16</CurrentPage>
<Id>sample string 12</Id>
<IsActive>true</IsActive>
<Search>sample string 15</Search>
<SizePerPage>18</SizePerPage>
<SortBy>sample string 19</SortBy>
<Token>sample string 11</Token>
<TotalPage>17</TotalPage>
<searchFilter>
<ColFilter>
<name>sample string 1</name>
<val xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:string>sample string 1</d4p1:string>
<d4p1:string>sample string 2</d4p1:string>
</val>
</ColFilter>
<ColFilter>
<name>sample string 1</name>
<val xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:string>sample string 1</d4p1:string>
<d4p1:string>sample string 2</d4p1:string>
</val>
</ColFilter>
</searchFilter>
<BenefitItems>
<EmployeeBenefitItemVm>
<BenefitItem>sample string 1</BenefitItem>
<DataType>sample string 2</DataType>
<Sequence>4</Sequence>
<Value>sample string 3</Value>
</EmployeeBenefitItemVm>
<EmployeeBenefitItemVm>
<BenefitItem>sample string 1</BenefitItem>
<DataType>sample string 2</DataType>
<Sequence>4</Sequence>
<Value>sample string 3</Value>
</EmployeeBenefitItemVm>
</BenefitItems>
<BenefitOptionDescription>sample string 4</BenefitOptionDescription>
<BenefitOptionId>sample string 3</BenefitOptionId>
<EffectiveDate>2025-12-22T19:03:43.7827036+08:00</EffectiveDate>
<EffectiveDateInput>sample string 5</EffectiveDateInput>
<Employee>sample string 2</Employee>
<IsChangeAllowForEmployee>true</IsChangeAllowForEmployee>
<ModifiedBy>sample string 8</ModifiedBy>
<ModifiedDate>2025-12-22T19:03:43.7827036+08:00</ModifiedDate>
<Type>sample string 7</Type>
<UserId>sample string 1</UserId>
<Year>6</Year>
</EmployeeBenefitOptionVm>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |