Required connection Headers
Following connection headers are required in each API request.
- Authorization: Each API request must include an Authorization header.
Provide “OAuth” followed by space and OAuth 1.0 token entered by user as its value.
For example: The header will look like as below in case of OAuth 1.0 authentication.
Authorization: 2YotnFZFEjr1zCsicMWpAA
Connector generates this authorization header based on OAuth parameter values provided by user in endpoint configuration.
Note: Connector will not generate OAuth 1.0 token. User will have to generate it directly from QuickBooks portal and provide it to the connector for authentication.
- Content-Type: Each API request must include Content-Type header. The value of the header depends upon the format of request body.
If request body has data in XML format, then provide Application/xml as its value.
For example: The header will look like as below in case of xml.
Content-Type: Application/xml