Statement Forwarding Overview
Statement Forwarding allows you to pass on statements that Learning Locker receives to another system.
If you don't necessarily want to forward every statement, you can also define a filter to decide which statements should be forwarded.
Creating and Setting up a Statement Forwarder
To create a Statement Forwarder:
Data > Statement Forwarding
- Click Add new near the top-right.
- Choose the appropriate setting for Send full database record?. If Learning Locker should forward only the statement, leave this toggle as disabled. Alternatively, for the full database record (as seen in the Source section, when a record is expanded) set to enabled.
- Next, choose a Protocol which will be used when sending the statement. Currently, you can choose between http or https.
- Next, in the URL field, enter the URL of where you want the statement to be sent. You should not include the "http" or "https" protocol here, as you have already set it in the last step.
- Now, choose the method of Auth you want Learning Locker to use when sending the statement. By default, no auth is selected, but you can choose to use a token or basic auth instead.
- Below the auth you can specify the Max Retries that will be made to forward the statement.
- Next, the headers that will be included are displayed. The grey fields preview what headers will be sent, custom headers can be added below these using the plus button . Enter your Field Name and Field Value on the new line. Custom headers can be removed with the orange cross on the right-hand side.
- Finally, you can add a filter using the Query Builder. This will control which Statements are forwarded, as in most cases you will only want certain statements to be forwarded. If you leave this filter blank, all statements that enter your Learning Locker will be forwarded.
- Once you're happy with the settings for your forwarder, toggle the Active? toggle near the top of the panel.
Statement Forwards send the data as the raw POST body (as the content type is application/json). You will not see form parameters like you would with a POST form submit in PHP.