PUT api/EmployeeBenefit
Request Information
URI Parameters
None.
Body Parameters
EmployeeBenefits| Name | Description | Type | Additional information |
|---|---|---|---|
| BenefitItemId | integer |
None. |
|
| EmploeeBenefitItemId | integer |
None. |
|
| DaysFromHire | integer |
None. |
|
| EmployeeId | integer |
None. |
|
| Name | string |
None. |
|
| Shown | string |
None. |
|
| Result | string |
None. |
|
| StartDate | date |
None. |
|
| BenefitOptionName | string |
None. |
|
| BenefitOptionId | integer |
None. |
|
| Accepted | boolean |
None. |
|
| Selected | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"benefitItemId": 1,
"emploeeBenefitItemId": 2,
"daysFromHire": 3,
"employeeId": 4,
"name": "sample string 5",
"shown": "sample string 6",
"result": "sample string 7",
"startDate": "2026-05-06T01:19:39.4900543+02:00",
"benefitOptionName": "sample string 8",
"benefitOptionId": 1,
"accepted": true,
"selected": true
}
text/html
Sample:
{"benefitItemId":1,"emploeeBenefitItemId":2,"daysFromHire":3,"employeeId":4,"name":"sample string 5","shown":"sample string 6","result":"sample string 7","startDate":"2026-05-06T01:19:39.4900543+02:00","benefitOptionName":"sample string 8","benefitOptionId":1,"accepted":true,"selected":true}
application/xml, text/xml
Sample:
<EmployeeBenefits xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UrgentCareExtra.ViewModels.GeneralViewModels"> <Accepted>true</Accepted> <BenefitItemId>1</BenefitItemId> <BenefitOptionId>1</BenefitOptionId> <BenefitOptionName>sample string 8</BenefitOptionName> <DaysFromHire>3</DaysFromHire> <EmploeeBenefitItemId>2</EmploeeBenefitItemId> <EmployeeId>4</EmployeeId> <Name>sample string 5</Name> <Result>sample string 7</Result> <Selected>true</Selected> <Shown>sample string 6</Shown> <StartDate>2026-05-06T01:19:39.4900543+02:00</StartDate> </EmployeeBenefits>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.