Generate Bank Detail Change Audit Report
curl --request POST \
--url https://preview.intermezzo.ai/gb/organizations/{organization_id}/reports/bank-detail-change-audit \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"date_from": "2023-12-25",
"date_to": "2023-12-25"
}
'import requests
url = "https://preview.intermezzo.ai/gb/organizations/{organization_id}/reports/bank-detail-change-audit"
payload = {
"date_from": "2023-12-25",
"date_to": "2023-12-25"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({date_from: '2023-12-25', date_to: '2023-12-25'})
};
fetch('https://preview.intermezzo.ai/gb/organizations/{organization_id}/reports/bank-detail-change-audit', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://preview.intermezzo.ai/gb/organizations/{organization_id}/reports/bank-detail-change-audit",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'date_from' => '2023-12-25',
'date_to' => '2023-12-25'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://preview.intermezzo.ai/gb/organizations/{organization_id}/reports/bank-detail-change-audit"
payload := strings.NewReader("{\n \"date_from\": \"2023-12-25\",\n \"date_to\": \"2023-12-25\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://preview.intermezzo.ai/gb/organizations/{organization_id}/reports/bank-detail-change-audit")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"date_from\": \"2023-12-25\",\n \"date_to\": \"2023-12-25\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://preview.intermezzo.ai/gb/organizations/{organization_id}/reports/bank-detail-change-audit")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"date_from\": \"2023-12-25\",\n \"date_to\": \"2023-12-25\"\n}"
response = http.request(request)
puts response.read_body{
"report_id": "<string>",
"status": "PENDING"
}{
"errors": [
{
"code": "ORG_BELONGS_TO_A_DIFFERENT_COUNTRY",
"message": "Raised when an organization belongs to a different country than the one in the path."
}
]
}{
"errors": [
{
"code": "ORG_NOT_FOUND",
"message": "Raised when an organization is not found."
}
]
}{
"errors": [
{
"code": "REPORT_ALREADY_EXISTS",
"message": "Raised when a report of this type, period and format already exists or is still being generated; `params.report_id` names it."
}
]
}{
"errors": [
{
"code": "FIELD_REQUIRED",
"message": "<string>",
"field": "<string>",
"params": {}
}
]
}Reports
Generate Bank Detail Change Audit Report
POST
/
gb
/
organizations
/
{organization_id}
/
reports
/
bank-detail-change-audit
Generate Bank Detail Change Audit Report
curl --request POST \
--url https://preview.intermezzo.ai/gb/organizations/{organization_id}/reports/bank-detail-change-audit \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"date_from": "2023-12-25",
"date_to": "2023-12-25"
}
'import requests
url = "https://preview.intermezzo.ai/gb/organizations/{organization_id}/reports/bank-detail-change-audit"
payload = {
"date_from": "2023-12-25",
"date_to": "2023-12-25"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({date_from: '2023-12-25', date_to: '2023-12-25'})
};
fetch('https://preview.intermezzo.ai/gb/organizations/{organization_id}/reports/bank-detail-change-audit', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://preview.intermezzo.ai/gb/organizations/{organization_id}/reports/bank-detail-change-audit",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'date_from' => '2023-12-25',
'date_to' => '2023-12-25'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://preview.intermezzo.ai/gb/organizations/{organization_id}/reports/bank-detail-change-audit"
payload := strings.NewReader("{\n \"date_from\": \"2023-12-25\",\n \"date_to\": \"2023-12-25\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://preview.intermezzo.ai/gb/organizations/{organization_id}/reports/bank-detail-change-audit")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"date_from\": \"2023-12-25\",\n \"date_to\": \"2023-12-25\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://preview.intermezzo.ai/gb/organizations/{organization_id}/reports/bank-detail-change-audit")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"date_from\": \"2023-12-25\",\n \"date_to\": \"2023-12-25\"\n}"
response = http.request(request)
puts response.read_body{
"report_id": "<string>",
"status": "PENDING"
}{
"errors": [
{
"code": "ORG_BELONGS_TO_A_DIFFERENT_COUNTRY",
"message": "Raised when an organization belongs to a different country than the one in the path."
}
]
}{
"errors": [
{
"code": "ORG_NOT_FOUND",
"message": "Raised when an organization is not found."
}
]
}{
"errors": [
{
"code": "REPORT_ALREADY_EXISTS",
"message": "Raised when a report of this type, period and format already exists or is still being generated; `params.report_id` names it."
}
]
}{
"errors": [
{
"code": "FIELD_REQUIRED",
"message": "<string>",
"field": "<string>",
"params": {}
}
]
}Authorizations
Get token from Auth0 and paste it here
Path Parameters
Body
application/json
Was this page helpful?