@@ -141,7 +141,7 @@ paths:
141141 - OAuth2 : [payroll.employees]
142142 tags :
143143 - PayrollUK
144- operationId : createEmployees
144+ operationId : createEmployee
145145 summary : creates employees
146146 responses :
147147 ' 200 ' :
@@ -612,7 +612,7 @@ paths:
612612 - OAuth2 : [payroll.employees.read,payroll.employees]
613613 tags :
614614 - PayrollUK
615- operationId : getEmployeeLeave
615+ operationId : getEmployeeLeaves
616616 summary : search employee leave records
617617 parameters :
618618 - name : EmployeeId
@@ -729,7 +729,7 @@ paths:
729729 - OAuth2 : [payroll.employees.read,payroll.employees]
730730 tags :
731731 - PayrollUK
732- operationId : getEmployeeLeaveSingle
732+ operationId : getEmployeeLeave
733733 summary : retrieve a single employee leave record
734734 parameters :
735735 - name : EmployeeId
@@ -4550,6 +4550,11 @@ components:
45504550 type : array
45514551 items :
45524552 $ref : ' #/components/schemas/LeavePeriod'
4553+ updatedDateUTC :
4554+ description : UTC timestamp of last update to the leave type note
4555+ type : string
4556+ format : date-time
4557+ x-is-datetime : true
45534558 LeavePeriods :
45544559 type : object
45554560 properties :
@@ -4630,11 +4635,11 @@ components:
46304635 description : The type of statutory leave
46314636 type : string
46324637 enum :
4633- - sick
4634- - adoption
4635- - maternity
4636- - paternity
4637- - sharedparental
4638+ - Sick
4639+ - Adoption
4640+ - Maternity
4641+ - Paternity
4642+ - Sharedparental
46384643 balanceRemaining :
46394644 description : The balance remaining for the corresponding leave type as of specified date.
46404645 type : number
@@ -4670,11 +4675,11 @@ components:
46704675 description : The category of statutory leave
46714676 type : string
46724677 enum :
4673- - sick
4674- - adoption
4675- - maternity
4676- - paternity
4677- - sharedparental
4678+ - Sick
4679+ - Adoption
4680+ - Maternity
4681+ - Paternity
4682+ - Sharedparental
46784683 startDate :
46794684 description : The date when the leave starts
46804685 type : string
@@ -4787,14 +4792,16 @@ components:
47874792 type : boolean
47884793 entitlementFailureReasons :
47894794 description : If the leave requested was considered "not entitled", the reasons why are listed here.
4790- type : string
4791- enum :
4792- - UnableToCalculateAwe
4793- - AweLowerThanLel
4794- - NotQualifiedInPreviousPiw
4795- - ExceededMaximumEntitlementWeeksOfSsp
4796- - ExceededMaximumDurationOfPiw
4797- - SufficientNoticeNotGiven
4795+ type : array
4796+ items :
4797+ type : string
4798+ enum :
4799+ - UnableToCalculateAwe
4800+ - AweLowerThanLel
4801+ - NotQualifiedInPreviousPiw
4802+ - ExceededMaximumEntitlementWeeksOfSsp
4803+ - ExceededMaximumDurationOfPiw
4804+ - SufficientNoticeNotGiven
47984805 EmployeeLeaveTypes :
47994806 type : object
48004807 properties :
@@ -6088,7 +6095,7 @@ components:
60886095 description : PostCode for employee home address
60896096 type : string
60906097 example : SW6 6EY
6091- country :
6098+ countryName :
60926099 description : Country of HomeAddress
60936100 type : string
60946101 example : United Kingdom
0 commit comments