Downloading files via API

Request

Method Request URI
GET  https://{clientEndpointId}- fane01.azurewebsites.net/api/download/{date}/{templateId}? code={token}
  • You will receive your clientEndpointId after the integration meeting.
    For example: casinomagic
  • The corresponding date for the uploaded data in YYYY-MM-DD
    For example: 2023-12-31
  • templateId - The template ID specifies the clients configured output format. For example: 0
  • You will receive your token after the integration meeting.
    For example: Abc123Z==
 

 

Body

Returned file based on the configured templateId which includes:

  • Client’s desired naming convention 
  • Date and time formatting 
  • File types such as csv, json 
  • Client specific business logic

API Response

  • HTTP status codes: 200 (Success), 401 (Authorisation failure), 500 (Internal error).
  • If the response is successful, the response body is empty.
  • If the request isn't successful, the body contains an error code and error message.