SampleApp-Java-Payroll-V4
Welcome to the Intuit Developer's Java Sample App for V4 Payroll API operations.
This sample app is meant to provide working examples of how to use V4 Payroll API using GraphQL and parse the response back.
In order to successfully run this sample app you need a few things:
- Java 1.8
- A developer.intuit.com account using OAuth2.
- An app on developer.intuit.com using Accounting API and the associated client id, and client secret.
- Generate tokens using OAuth playground
This app is directed to provide individual sample code for querying various entities. Each class has a main method that can be run individually.
Steps described below is to run the class for querying EmployerCompensation in Eclipse IDE.
- Go to EmployerCompensation.java in package com.intuit.payroll
- Add the accessToken value generated using playground.
- Right click the file and Run as Java application
- On the console you'll see the log being generated with the charge id.
Follow similar steps for other classes.