PUT api/timeEmployeeFunction/{id}

Update an existing record from the EmployeeFunctions table.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

timeEmployeeFunctionDb
NameDescriptionTypeAdditional information
EmployeeFunctionID

integer

None.

EmployeeID

integer

Required

FunctionID

integer

Required

IsDefault

boolean

None.

ExpirationDate

date

None.

IsActive

boolean

None.

CreatedBy

integer

None.

CreatedDate

date

None.

UpdatedBy

integer

None.

UpdatedDate

date

None.

results

Collection of ValidationResult

None.

Request Formats

application/json, text/json

Sample:
{
  "results": null,
  "EmployeeFunctionID": 1,
  "EmployeeID": 2,
  "FunctionID": 3,
  "IsDefault": true,
  "ExpirationDate": "2025-12-06T23:37:51.9221554+00:00",
  "IsActive": true,
  "CreatedBy": 6,
  "CreatedDate": "2025-12-06T23:37:51.9221554+00:00",
  "UpdatedBy": 8,
  "UpdatedDate": "2025-12-06T23:37:51.9221554+00:00"
}

application/xml, text/xml

Sample:
<timeEmployeeFunctionDb xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Data.Tables">
  <results xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.ComponentModel.DataAnnotations" i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Data.Utility" />
  <CreatedBy>6</CreatedBy>
  <CreatedDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2025-12-06T23:37:51.9221554Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </CreatedDate>
  <EmployeeFunctionID>1</EmployeeFunctionID>
  <EmployeeID>2</EmployeeID>
  <ExpirationDate>2025-12-06T23:37:51.9221554+00:00</ExpirationDate>
  <FunctionID>3</FunctionID>
  <IsActive>true</IsActive>
  <IsDefault>true</IsDefault>
  <UpdatedBy>8</UpdatedBy>
  <UpdatedDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2025-12-06T23:37:51.9221554Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </UpdatedDate>
</timeEmployeeFunctionDb>

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 'timeEmployeeFunctionDb'.

Response Information

Resource Description

timeEmployeeFunctionDb
NameDescriptionTypeAdditional information
EmployeeFunctionID

integer

None.

EmployeeID

integer

Required

FunctionID

integer

Required

IsDefault

boolean

None.

ExpirationDate

date

None.

IsActive

boolean

None.

CreatedBy

integer

None.

CreatedDate

date

None.

UpdatedBy

integer

None.

UpdatedDate

date

None.

results

Collection of ValidationResult

None.

Response Formats

application/json, text/json

Sample:
{
  "results": null,
  "EmployeeFunctionID": 1,
  "EmployeeID": 2,
  "FunctionID": 3,
  "IsDefault": true,
  "ExpirationDate": "2025-12-06T23:37:51.9231289+00:00",
  "IsActive": true,
  "CreatedBy": 6,
  "CreatedDate": "2025-12-06T23:37:51.9231289+00:00",
  "UpdatedBy": 8,
  "UpdatedDate": "2025-12-06T23:37:51.9231289+00:00"
}

application/xml, text/xml

Sample:
<timeEmployeeFunctionDb xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Data.Tables">
  <results xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.ComponentModel.DataAnnotations" i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Data.Utility" />
  <CreatedBy>6</CreatedBy>
  <CreatedDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2025-12-06T23:37:51.9231289Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </CreatedDate>
  <EmployeeFunctionID>1</EmployeeFunctionID>
  <EmployeeID>2</EmployeeID>
  <ExpirationDate>2025-12-06T23:37:51.9231289+00:00</ExpirationDate>
  <FunctionID>3</FunctionID>
  <IsActive>true</IsActive>
  <IsDefault>true</IsDefault>
  <UpdatedBy>8</UpdatedBy>
  <UpdatedDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2025-12-06T23:37:51.9231289Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </UpdatedDate>
</timeEmployeeFunctionDb>