POST api/GetManagementEmployeeOvertimeRecord

Get an employee's overtime record

Request Information

Payload

NamePayload ParametersAdditional information
Parameters int Personnel_Number

None.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "PersonnelID": 1,
  "CalculatedOvertime1": "00:00:00.1234567",
  "CalculatedOvertime2": "00:00:00.1234567",
  "CalculatedOvertime3": "00:00:00.1234567",
  "CalculatedUnSocial3": "00:00:00.1234567",
  "HasAuthorisedRecord": true,
  "AuthorisedOvertime1": "00:00:00.1234567",
  "AuthorisedOvertime2": "00:00:00.1234567",
  "AuthorisedOvertime3": "00:00:00.1234567",
  "AuthorisedUnSocial3": "00:00:00.1234567",
  "AvailableOvertime1": "00:00:00.1234567",
  "AvailableOvertime2": "00:00:00.1234567",
  "AvailableOvertime3": "00:00:00.1234567",
  "AvailableUnSocial3": "00:00:00.1234567",
  "CostCentreCode": "sample string 15",
  "CostCentreDescription": "sample string 16",
  "MaxOvertime": "00:00:00.1234567",
  "MaxUnSocial": "00:00:00.1234567",
  "OvertimePeriodStart": "2025-04-29T19:35:32.4336707+01:00",
  "OvertimePeriodEnd": "2025-04-29T19:35:32.4336707+01:00",
  "OverTimeHours": [
    {
      "Type": "Plain Overtime",
      "Calculated": "00:00:00.1234567",
      "Authorised": "00:00:00.1234567"
    },
    {
      "Type": "Time and a half",
      "Calculated": "00:00:00.1234567",
      "Authorised": "00:00:00.1234567"
    },
    {
      "Type": "Unsocial Overtime",
      "Calculated": "00:00:00.1234567",
      "Authorised": "00:00:00.1234567"
    }
  ],
  "UnsocialHours": [
    {
      "Type": "Unsocial Hours",
      "Calculated": "00:00:00.1234567",
      "Authorised": "00:00:00.1234567"
    }
  ],
  "CurrentBudget": [
    {
      "Type": "Overtime Hours",
      "Budget": "00:00:00.1234567",
      "Allocated": "00:00:00.3703701",
      "Remaining": "-00:00:00.2469134"
    },
    {
      "Type": "Unsocial Hours",
      "Budget": "00:00:00.1234567",
      "Allocated": "00:00:00.1234567",
      "Remaining": "00:00:00"
    }
  ]
}

text/html

Sample:
{"PersonnelID":1,"CalculatedOvertime1":"00:00:00.1234567","CalculatedOvertime2":"00:00:00.1234567","CalculatedOvertime3":"00:00:00.1234567","CalculatedUnSocial3":"00:00:00.1234567","HasAuthorisedRecord":true,"AuthorisedOvertime1":"00:00:00.1234567","AuthorisedOvertime2":"00:00:00.1234567","AuthorisedOvertime3":"00:00:00.1234567","AuthorisedUnSocial3":"00:00:00.1234567","AvailableOvertime1":"00:00:00.1234567","AvailableOvertime2":"00:00:00.1234567","AvailableOvertime3":"00:00:00.1234567","AvailableUnSocial3":"00:00:00.1234567","CostCentreCode":"sample string 15","CostCentreDescription":"sample string 16","MaxOvertime":"00:00:00.1234567","MaxUnSocial":"00:00:00.1234567","OvertimePeriodStart":"2025-04-29T19:35:32.4336707+01:00","OvertimePeriodEnd":"2025-04-29T19:35:32.4336707+01:00","OverTimeHours":[{"Type":"Plain Overtime","Calculated":"00:00:00.1234567","Authorised":"00:00:00.1234567"},{"Type":"Time and a half","Calculated":"00:00:00.1234567","Authorised":"00:00:00.1234567"},{"Type":"Unsocial Overtime","Calculated":"00:00:00.1234567","Authorised":"00:00:00.1234567"}],"UnsocialHours":[{"Type":"Unsocial Hours","Calculated":"00:00:00.1234567","Authorised":"00:00:00.1234567"}],"CurrentBudget":[{"Type":"Overtime Hours","Budget":"00:00:00.1234567","Allocated":"00:00:00.3703701","Remaining":"-00:00:00.2469134"},{"Type":"Unsocial Hours","Budget":"00:00:00.1234567","Allocated":"00:00:00.1234567","Remaining":"00:00:00"}]}

application/xml, text/xml

Sample:
<ManagementOvertime xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Carval.SelfService.BLL.Management">
  <AuthorisedOvertime1>PT0.1234567S</AuthorisedOvertime1>
  <AuthorisedOvertime2>PT0.1234567S</AuthorisedOvertime2>
  <AuthorisedOvertime3>PT0.1234567S</AuthorisedOvertime3>
  <AuthorisedUnSocial3>PT0.1234567S</AuthorisedUnSocial3>
  <AvailableOvertime1>PT0.1234567S</AvailableOvertime1>
  <AvailableOvertime2>PT0.1234567S</AvailableOvertime2>
  <AvailableOvertime3>PT0.1234567S</AvailableOvertime3>
  <AvailableUnSocial3>PT0.1234567S</AvailableUnSocial3>
  <CalculatedOvertime1>PT0.1234567S</CalculatedOvertime1>
  <CalculatedOvertime2>PT0.1234567S</CalculatedOvertime2>
  <CalculatedOvertime3>PT0.1234567S</CalculatedOvertime3>
  <CalculatedUnSocial3>PT0.1234567S</CalculatedUnSocial3>
  <CostCentreCode>sample string 15</CostCentreCode>
  <CostCentreDescription>sample string 16</CostCentreDescription>
  <CurrentBudget>
    <ManagementOvertimeCurrentBudgetGridRow>
      <Allocated>PT0.3703701S</Allocated>
      <Budget>00:00:00.1234567</Budget>
      <Remaining>-PT0.2469134S</Remaining>
      <Type>Overtime Hours</Type>
    </ManagementOvertimeCurrentBudgetGridRow>
    <ManagementOvertimeCurrentBudgetGridRow>
      <Allocated>PT0.1234567S</Allocated>
      <Budget>00:00:00.1234567</Budget>
      <Remaining>PT0S</Remaining>
      <Type>Unsocial Hours</Type>
    </ManagementOvertimeCurrentBudgetGridRow>
  </CurrentBudget>
  <HasAuthorisedRecord>true</HasAuthorisedRecord>
  <MaxOvertime>PT0.1234567S</MaxOvertime>
  <MaxUnSocial>PT0.1234567S</MaxUnSocial>
  <OverTimeHours>
    <ManagementOvertimeGridRow>
      <Authorised>PT0.1234567S</Authorised>
      <Calculated>PT0.1234567S</Calculated>
      <Type>Plain Overtime</Type>
    </ManagementOvertimeGridRow>
    <ManagementOvertimeGridRow>
      <Authorised>PT0.1234567S</Authorised>
      <Calculated>PT0.1234567S</Calculated>
      <Type>Time and a half</Type>
    </ManagementOvertimeGridRow>
    <ManagementOvertimeGridRow>
      <Authorised>PT0.1234567S</Authorised>
      <Calculated>PT0.1234567S</Calculated>
      <Type>Unsocial Overtime</Type>
    </ManagementOvertimeGridRow>
  </OverTimeHours>
  <OvertimePeriodEnd>2025-04-29T19:35:32.4336707+01:00</OvertimePeriodEnd>
  <OvertimePeriodStart>2025-04-29T19:35:32.4336707+01:00</OvertimePeriodStart>
  <PersonnelID>1</PersonnelID>
  <UnsocialHours>
    <ManagementOvertimeGridRow>
      <Authorised>PT0.1234567S</Authorised>
      <Calculated>PT0.1234567S</Calculated>
      <Type>Unsocial Hours</Type>
    </ManagementOvertimeGridRow>
  </UnsocialHours>
</ManagementOvertime>