@@ -321,6 +321,7 @@ public HttpResponse createEmployeeForHttpResponse(
321321 headers .set ("Xero-Tenant-Id" , xeroTenantId );
322322 headers .set ("Idempotency-Key" , idempotencyKey );
323323 headers .setAccept ("application/json" );
324+ headers .setContentType ("application/json" );
324325 headers .setUserAgent (this .getUserAgent ());
325326 UriBuilder uriBuilder = UriBuilder .fromUri (apiClient .getBasePath () + "/Employees" );
326327 String url = uriBuilder .build ().toString ();
@@ -439,6 +440,7 @@ public HttpResponse createLeaveApplicationForHttpResponse(
439440 headers .set ("Xero-Tenant-Id" , xeroTenantId );
440441 headers .set ("Idempotency-Key" , idempotencyKey );
441442 headers .setAccept ("application/json" );
443+ headers .setContentType ("application/json" );
442444 headers .setUserAgent (this .getUserAgent ());
443445 UriBuilder uriBuilder = UriBuilder .fromUri (apiClient .getBasePath () + "/LeaveApplications" );
444446 String url = uriBuilder .build ().toString ();
@@ -536,6 +538,7 @@ public HttpResponse createPayItemForHttpResponse(
536538 headers .set ("Xero-Tenant-Id" , xeroTenantId );
537539 headers .set ("Idempotency-Key" , idempotencyKey );
538540 headers .setAccept ("application/json" );
541+ headers .setContentType ("application/json" );
539542 headers .setUserAgent (this .getUserAgent ());
540543 UriBuilder uriBuilder = UriBuilder .fromUri (apiClient .getBasePath () + "/PayItems" );
541544 String url = uriBuilder .build ().toString ();
@@ -646,6 +649,7 @@ public HttpResponse createPayRunForHttpResponse(
646649 headers .set ("Xero-Tenant-Id" , xeroTenantId );
647650 headers .set ("Idempotency-Key" , idempotencyKey );
648651 headers .setAccept ("application/json" );
652+ headers .setContentType ("application/json" );
649653 headers .setUserAgent (this .getUserAgent ());
650654 UriBuilder uriBuilder = UriBuilder .fromUri (apiClient .getBasePath () + "/PayRuns" );
651655 String url = uriBuilder .build ().toString ();
@@ -764,6 +768,7 @@ public HttpResponse createPayrollCalendarForHttpResponse(
764768 headers .set ("Xero-Tenant-Id" , xeroTenantId );
765769 headers .set ("Idempotency-Key" , idempotencyKey );
766770 headers .setAccept ("application/json" );
771+ headers .setContentType ("application/json" );
767772 headers .setUserAgent (this .getUserAgent ());
768773 UriBuilder uriBuilder = UriBuilder .fromUri (apiClient .getBasePath () + "/PayrollCalendars" );
769774 String url = uriBuilder .build ().toString ();
@@ -874,6 +879,7 @@ public HttpResponse createSuperfundForHttpResponse(
874879 headers .set ("Xero-Tenant-Id" , xeroTenantId );
875880 headers .set ("Idempotency-Key" , idempotencyKey );
876881 headers .setAccept ("application/json" );
882+ headers .setContentType ("application/json" );
877883 headers .setUserAgent (this .getUserAgent ());
878884 UriBuilder uriBuilder = UriBuilder .fromUri (apiClient .getBasePath () + "/Superfunds" );
879885 String url = uriBuilder .build ().toString ();
@@ -984,6 +990,7 @@ public HttpResponse createTimesheetForHttpResponse(
984990 headers .set ("Xero-Tenant-Id" , xeroTenantId );
985991 headers .set ("Idempotency-Key" , idempotencyKey );
986992 headers .setAccept ("application/json" );
993+ headers .setContentType ("application/json" );
987994 headers .setUserAgent (this .getUserAgent ());
988995 UriBuilder uriBuilder = UriBuilder .fromUri (apiClient .getBasePath () + "/Timesheets" );
989996 String url = uriBuilder .build ().toString ();
@@ -3343,6 +3350,7 @@ public HttpResponse updateEmployeeForHttpResponse(
33433350 headers .set ("Xero-Tenant-Id" , xeroTenantId );
33443351 headers .set ("Idempotency-Key" , idempotencyKey );
33453352 headers .setAccept ("application/json" );
3353+ headers .setContentType ("application/json" );
33463354 headers .setUserAgent (this .getUserAgent ());
33473355 // create a map of path variables
33483356 final Map <String , Object > uriVariables = new HashMap <String , Object >();
@@ -3460,6 +3468,7 @@ public HttpResponse updateLeaveApplicationForHttpResponse(
34603468 headers .set ("Xero-Tenant-Id" , xeroTenantId );
34613469 headers .set ("Idempotency-Key" , idempotencyKey );
34623470 headers .setAccept ("application/json" );
3471+ headers .setContentType ("application/json" );
34633472 headers .setUserAgent (this .getUserAgent ());
34643473 // create a map of path variables
34653474 final Map <String , Object > uriVariables = new HashMap <String , Object >();
@@ -3572,6 +3581,7 @@ public HttpResponse updatePayRunForHttpResponse(
35723581 headers .set ("Xero-Tenant-Id" , xeroTenantId );
35733582 headers .set ("Idempotency-Key" , idempotencyKey );
35743583 headers .setAccept ("application/json" );
3584+ headers .setContentType ("application/json" );
35753585 headers .setUserAgent (this .getUserAgent ());
35763586 // create a map of path variables
35773587 final Map <String , Object > uriVariables = new HashMap <String , Object >();
@@ -3692,6 +3702,7 @@ public HttpResponse updatePayslipForHttpResponse(
36923702 headers .set ("Xero-Tenant-Id" , xeroTenantId );
36933703 headers .set ("Idempotency-Key" , idempotencyKey );
36943704 headers .setAccept ("application/json" );
3705+ headers .setContentType ("application/json" );
36953706 headers .setUserAgent (this .getUserAgent ());
36963707 // create a map of path variables
36973708 final Map <String , Object > uriVariables = new HashMap <String , Object >();
@@ -3804,6 +3815,7 @@ public HttpResponse updateSuperfundForHttpResponse(
38043815 headers .set ("Xero-Tenant-Id" , xeroTenantId );
38053816 headers .set ("Idempotency-Key" , idempotencyKey );
38063817 headers .setAccept ("application/json" );
3818+ headers .setContentType ("application/json" );
38073819 headers .setUserAgent (this .getUserAgent ());
38083820 // create a map of path variables
38093821 final Map <String , Object > uriVariables = new HashMap <String , Object >();
@@ -3917,6 +3929,7 @@ public HttpResponse updateTimesheetForHttpResponse(
39173929 headers .set ("Xero-Tenant-Id" , xeroTenantId );
39183930 headers .set ("Idempotency-Key" , idempotencyKey );
39193931 headers .setAccept ("application/json" );
3932+ headers .setContentType ("application/json" );
39203933 headers .setUserAgent (this .getUserAgent ());
39213934 // create a map of path variables
39223935 final Map <String , Object > uriVariables = new HashMap <String , Object >();
0 commit comments