Call a ReportConnector using an app connector
Connector for generating and retrieving a Profit report.
You can find all endpoints on this page.
You can use the procedure below to test the call using the Profit Web services.
You can only call the ReportConnector if it has been activated in the App connector.
In Profit, authorisation applies to reports and to the contents of reports. This authorisation also applies if you retrieve a report using the ReportConnector.
- The user linked to the token must be authorised to view the report.
- The user linked to the token only sees those lines of the report for which he is authorised.
The following applies to reports of the sales invoice type. The connector requires administration settings for generating these reports. For this, the connector uses the settings of the last administration to which the user was logged on.
You cannot view a report with an initial screen using the ReportConnector. An initial screen is a custom-made screen with settings and filters which you use to determine the content of a report.
Preparations for the ReportConnector in Profit
You retrieve the GUID of the report because you need it for the call. If you want to apply a filter to the report, you also retrieve the codes of the fields that you want to use in the filter.
To find the report ID:
- Go to: / / / .
- Add a new view.
- Include the ID field in the view:
Profit includes the 'GUID' in the view. Look up the ‘GUID’ of the report that you want to retrieve.
To retrieve field codes for a filter:
When applying a filter in the ReportConnector, you must use the field codes that are in the report.
- Go to: / / / .
- Open the report:.
- Click on:
- Click repeatedly on: .
- Click on: .
- Press: Ctrl+Shift+I.
You see a window with the field codes.
- Copy the correct field code to a filter for the ReportConnector call.
- Use a URL from the table.
- Click on: 'Execute'.
- Enter the user token of the user.
Enter the entire token, including the tags, as in the example below:
- Enter the GUID of the report in 'ReportID'.
- If applicable, enter a report filter in 'FiltersXml'.
<Filter FilterId="Filter 1">
<Field FieldId="EmId" OperatorType="15">BARTD</Field>
- Click on: 'Invoke'.
This runs the Connector.
Profit Connector for retrieving a report from a Profit environment.
Token of the user who executes the connector. Use a CDATA tag for the token; see the XML example to be downloaded.
Specific to this connector: