![qb sdk library qb sdk library](https://static.developer.intuit.com/images/ListOfAccounts.png)
This will work with both custom logger or already supported serilog logger sinks in the SDK If set to true, only intuit-tid response headers will be available If set to false, all detailed logs will be available for response Use this line to enable only intuit-tid based logs, no tokens/response will be logged. Static OAuth2Client oauthClient = new OAuth2Client(clientID, clientSecret, redirectURI, appEnvironment) Serilogger logs can be enabled for OAuth2PlatformClient using the following lines. You can chooise to have either one or more of these logging sinks enabled. New logging support was added to the SDK which includes support for reporting headers and multiple logging sinks available from Serilog. Logs help you in easliy identifying detailed issues with your payload, get more info in the exception details for fixing them. You will need to regenerate a new token by doing OAuth2 again or renew you tokens if they are still valid.
#Qb sdk library code
Unit Tests - All unit test projects are available under the Code folder.Generates the Authorization header for the API calls
![qb sdk library qb sdk library](https://www.spacetest.com/wp-content/uploads/2014/12/SDB_001.png)
2PlatformClient - Handles OAuth2 related API calls Handles all the Reports endpoints related operations It supports JSON API request- response format only. Handles the custom tax creation related operations. It supports XML request -response format only. Handles Entitlement API related operations. Handles all the Namelist and Transaction entities related operations for sync, async modes and batch mode. Handles the exception logic for the different services calls. Handles serialization, deserialization logic, compression, and other config based logic for the API calls. Handles all query operations related logic. This project does the job of handling the core functionalities like handling configuration, handling sync, async requests, callbacks and retry logic.
![qb sdk library qb sdk library](https://tsheetsteam.github.io/api_docs/images/getting_started-3.png)
This project has the updated classes in CDMEntities folder generated by the XsdExtension tool based on new releases of schema. This is an external tool whose executable is used to generate the different classes based on the input QBO V3 service schema. The code has been divided into following main categories.
#Qb sdk library update
Sparse Update to update writable properties specified in a request and leave the others unchanged.Queries for accessing QuickBooks Reports.Query Filters that enable you to write Intuit queries to retrieve QuickBooks Online entities whose properties meet a specified criteria.Logging mechanisms for trace and request/response logging.Retry policy constructors to help apps handle transient errors.Support for Gzip and Deflate compression formats to improve performance of Service calls to QuickBooks Online.Ability to configure app settings in the configuration file requiring no additional code change.Support for both XML and JSON Request and Response formats.A common interface to the Request and Response Handler with two implemented classes to handle both synchronous and asynchronous requests.Ability to perform single and batch processing of CRUD operations on all QuickBooks Online entities.Some of the features included in this SDK are:
![qb sdk library qb sdk library](https://image.slidesharecdn.com/codeworkssanfrancisco-160519231647/85/oauth-for-quickbooks-online-rest-services-25-320.jpg)
NET class libraries that make it easier to call QuickBooks Online APIs, and access to QuickBooks Online data.