@@ -368,7 +368,7 @@ api_client = ApiClient(
368368api_instance = PayrollUkApi(api_client)
369369
370370xero_tenant_id = ' xero_tenant_id_example' # str | Xero identifier for Tenant
371- employee
= {
" title" :
" Mr" ,
" firstName" :
" Mike" ,
" lastName" :
" Fancy" ,
" dateOfBirth" :
" 1999-01-01T00:00:00 " ,
" gender" :
" M" ,
" email" :
" [email protected] " ,
" isOffPayrollWorker" :false,
" address" :{
" addressLine1" :
" 171 Midsummer" ,
" city" :
" Milton Keyness" ,
" postCode" :
" MK9 1EB" }}
# Employee | 371+ employee
= {
" title" :
" Mr" ,
" firstName" :
" Mike" ,
" lastName" :
" Fancy" ,
" dateOfBirth" :
" 1999-01-01T00:00:00Z " ,
" gender" :
" M" ,
" email" :
" [email protected] " ,
" isOffPayrollWorker" :false,
" address" :{
" addressLine1" :
" 171 Midsummer" ,
" city" :
" Milton Keyness" ,
" postCode" :
" MK9 1EB" }}
# Employee | 372372idempotency_key = ' KEY_VALUE' # str | This allows you to safely retry requests without the risk of duplicate processing. 128 character max. (optional)
373373try :
374374 # Creates employees
@@ -901,7 +901,7 @@ api_instance = PayrollUkApi(api_client)
901901
902902xero_tenant_id = ' xero_tenant_id_example' # str | Xero identifier for Tenant
903903employee_id = ' 4ff1e5cc-9835-40d5-bb18-09fdb118db9c' # str | Employee id for single object
904- employment = { " PayrollCalendarID " : " 216d80e6-af55-47b1-b718-9457c3f5d2fe " , " StartDate " : " 2020 -04-01" , " NICategories " : [ { " NICategory " : " A " , " StartDate " : " 2020-05-01" } ], " EmployeeNumber " : " 123ABC" } # Employment |
904+ employment = {" payrollCalendarID " : " cdfb8371-0b21-4b8a-8903-1024df6c391e " , " startDate " : " 2024 -04-01" ," niCategories " :[{ " niCategory " : " I " , " startDate " : " 2020-05-01" , " workplacePostcode " : " SW1A 1AA " }], " employeeNumber " : " 123ABC" } # Employment |
905905idempotency_key = ' KEY_VALUE' # str | This allows you to safely retry requests without the risk of duplicate processing. 128 character max. (optional)
906906try :
907907 # Creates employment detail for a specific employee using a unique employee ID
@@ -4172,7 +4172,7 @@ api_instance = PayrollUkApi(api_client)
41724172
41734173xero_tenant_id = ' xero_tenant_id_example' # str | Xero identifier for Tenant
41744174employee_id = ' 4ff1e5cc-9835-40d5-bb18-09fdb118db9c' # str | Employee id for single object
4175- employee
= {
" title" :
" Mr." ,
" firstName" :
" TestDataUK" ,
" lastName" :
" Tester" ,
" dateOfBirth" :
" 1992-11-22T00:00:00 " ,
" gender" :
" M" ,
" email" :
" [email protected] " ,
" phoneNumber" :
" 0400123456" ,
" isOffPayrollWorker" :false,
" address" :{
" addressLine1" :
" 171 Midsummer" ,
" city" :
" Milton Keyness" ,
" postCode" :
" MK9 1EB" }}
# Employee | 4175+ employee
= {
" title" :
" Mr." ,
" firstName" :
" TestDataUK" ,
" lastName" :
" Tester" ,
" dateOfBirth" :
" 1992-11-22T00:00:00Z " ,
" gender" :
" M" ,
" email" :
" [email protected] " ,
" phoneNumber" :
" 0400123456" ,
" isOffPayrollWorker" :false,
" address" :{
" addressLine1" :
" 171 Midsummer" ,
" city" :
" Milton Keyness" ,
" postCode" :
" MK9 1EB" }}
# Employee | 41764176idempotency_key = ' KEY_VALUE' # str | This allows you to safely retry requests without the risk of duplicate processing. 128 character max. (optional)
41774177try :
41784178 # Updates a specific employee's detail
0 commit comments