@@ -321,6 +321,7 @@ public HttpResponse createEmployeeForHttpResponse(
321
321
headers .set ("Xero-Tenant-Id" , xeroTenantId );
322
322
headers .set ("Idempotency-Key" , idempotencyKey );
323
323
headers .setAccept ("application/json" );
324
+ headers .setContentType ("application/json" );
324
325
headers .setUserAgent (this .getUserAgent ());
325
326
UriBuilder uriBuilder = UriBuilder .fromUri (apiClient .getBasePath () + "/Employees" );
326
327
String url = uriBuilder .build ().toString ();
@@ -439,6 +440,7 @@ public HttpResponse createLeaveApplicationForHttpResponse(
439
440
headers .set ("Xero-Tenant-Id" , xeroTenantId );
440
441
headers .set ("Idempotency-Key" , idempotencyKey );
441
442
headers .setAccept ("application/json" );
443
+ headers .setContentType ("application/json" );
442
444
headers .setUserAgent (this .getUserAgent ());
443
445
UriBuilder uriBuilder = UriBuilder .fromUri (apiClient .getBasePath () + "/LeaveApplications" );
444
446
String url = uriBuilder .build ().toString ();
@@ -536,6 +538,7 @@ public HttpResponse createPayItemForHttpResponse(
536
538
headers .set ("Xero-Tenant-Id" , xeroTenantId );
537
539
headers .set ("Idempotency-Key" , idempotencyKey );
538
540
headers .setAccept ("application/json" );
541
+ headers .setContentType ("application/json" );
539
542
headers .setUserAgent (this .getUserAgent ());
540
543
UriBuilder uriBuilder = UriBuilder .fromUri (apiClient .getBasePath () + "/PayItems" );
541
544
String url = uriBuilder .build ().toString ();
@@ -646,6 +649,7 @@ public HttpResponse createPayRunForHttpResponse(
646
649
headers .set ("Xero-Tenant-Id" , xeroTenantId );
647
650
headers .set ("Idempotency-Key" , idempotencyKey );
648
651
headers .setAccept ("application/json" );
652
+ headers .setContentType ("application/json" );
649
653
headers .setUserAgent (this .getUserAgent ());
650
654
UriBuilder uriBuilder = UriBuilder .fromUri (apiClient .getBasePath () + "/PayRuns" );
651
655
String url = uriBuilder .build ().toString ();
@@ -764,6 +768,7 @@ public HttpResponse createPayrollCalendarForHttpResponse(
764
768
headers .set ("Xero-Tenant-Id" , xeroTenantId );
765
769
headers .set ("Idempotency-Key" , idempotencyKey );
766
770
headers .setAccept ("application/json" );
771
+ headers .setContentType ("application/json" );
767
772
headers .setUserAgent (this .getUserAgent ());
768
773
UriBuilder uriBuilder = UriBuilder .fromUri (apiClient .getBasePath () + "/PayrollCalendars" );
769
774
String url = uriBuilder .build ().toString ();
@@ -874,6 +879,7 @@ public HttpResponse createSuperfundForHttpResponse(
874
879
headers .set ("Xero-Tenant-Id" , xeroTenantId );
875
880
headers .set ("Idempotency-Key" , idempotencyKey );
876
881
headers .setAccept ("application/json" );
882
+ headers .setContentType ("application/json" );
877
883
headers .setUserAgent (this .getUserAgent ());
878
884
UriBuilder uriBuilder = UriBuilder .fromUri (apiClient .getBasePath () + "/Superfunds" );
879
885
String url = uriBuilder .build ().toString ();
@@ -984,6 +990,7 @@ public HttpResponse createTimesheetForHttpResponse(
984
990
headers .set ("Xero-Tenant-Id" , xeroTenantId );
985
991
headers .set ("Idempotency-Key" , idempotencyKey );
986
992
headers .setAccept ("application/json" );
993
+ headers .setContentType ("application/json" );
987
994
headers .setUserAgent (this .getUserAgent ());
988
995
UriBuilder uriBuilder = UriBuilder .fromUri (apiClient .getBasePath () + "/Timesheets" );
989
996
String url = uriBuilder .build ().toString ();
@@ -3343,6 +3350,7 @@ public HttpResponse updateEmployeeForHttpResponse(
3343
3350
headers .set ("Xero-Tenant-Id" , xeroTenantId );
3344
3351
headers .set ("Idempotency-Key" , idempotencyKey );
3345
3352
headers .setAccept ("application/json" );
3353
+ headers .setContentType ("application/json" );
3346
3354
headers .setUserAgent (this .getUserAgent ());
3347
3355
// create a map of path variables
3348
3356
final Map <String , Object > uriVariables = new HashMap <String , Object >();
@@ -3460,6 +3468,7 @@ public HttpResponse updateLeaveApplicationForHttpResponse(
3460
3468
headers .set ("Xero-Tenant-Id" , xeroTenantId );
3461
3469
headers .set ("Idempotency-Key" , idempotencyKey );
3462
3470
headers .setAccept ("application/json" );
3471
+ headers .setContentType ("application/json" );
3463
3472
headers .setUserAgent (this .getUserAgent ());
3464
3473
// create a map of path variables
3465
3474
final Map <String , Object > uriVariables = new HashMap <String , Object >();
@@ -3572,6 +3581,7 @@ public HttpResponse updatePayRunForHttpResponse(
3572
3581
headers .set ("Xero-Tenant-Id" , xeroTenantId );
3573
3582
headers .set ("Idempotency-Key" , idempotencyKey );
3574
3583
headers .setAccept ("application/json" );
3584
+ headers .setContentType ("application/json" );
3575
3585
headers .setUserAgent (this .getUserAgent ());
3576
3586
// create a map of path variables
3577
3587
final Map <String , Object > uriVariables = new HashMap <String , Object >();
@@ -3692,6 +3702,7 @@ public HttpResponse updatePayslipForHttpResponse(
3692
3702
headers .set ("Xero-Tenant-Id" , xeroTenantId );
3693
3703
headers .set ("Idempotency-Key" , idempotencyKey );
3694
3704
headers .setAccept ("application/json" );
3705
+ headers .setContentType ("application/json" );
3695
3706
headers .setUserAgent (this .getUserAgent ());
3696
3707
// create a map of path variables
3697
3708
final Map <String , Object > uriVariables = new HashMap <String , Object >();
@@ -3804,6 +3815,7 @@ public HttpResponse updateSuperfundForHttpResponse(
3804
3815
headers .set ("Xero-Tenant-Id" , xeroTenantId );
3805
3816
headers .set ("Idempotency-Key" , idempotencyKey );
3806
3817
headers .setAccept ("application/json" );
3818
+ headers .setContentType ("application/json" );
3807
3819
headers .setUserAgent (this .getUserAgent ());
3808
3820
// create a map of path variables
3809
3821
final Map <String , Object > uriVariables = new HashMap <String , Object >();
@@ -3917,6 +3929,7 @@ public HttpResponse updateTimesheetForHttpResponse(
3917
3929
headers .set ("Xero-Tenant-Id" , xeroTenantId );
3918
3930
headers .set ("Idempotency-Key" , idempotencyKey );
3919
3931
headers .setAccept ("application/json" );
3932
+ headers .setContentType ("application/json" );
3920
3933
headers .setUserAgent (this .getUserAgent ());
3921
3934
// create a map of path variables
3922
3935
final Map <String , Object > uriVariables = new HashMap <String , Object >();
0 commit comments