Search planned transactions
curl --request POST \
--url https://api.nomi.tools/v1/finance/accounting/transactions/planned/search \
--header 'Accept: <accept>' \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{}'import requests
url = "https://api.nomi.tools/v1/finance/accounting/transactions/planned/search"
payload = {}
headers = {
"Accept": "<accept>",
"Authorization": "Basic <encoded-value>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
Accept: '<accept>',
Authorization: 'Basic <encoded-value>',
'Content-Type': 'application/json'
},
body: JSON.stringify({})
};
fetch('https://api.nomi.tools/v1/finance/accounting/transactions/planned/search', 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://api.nomi.tools/v1/finance/accounting/transactions/planned/search",
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([
]),
CURLOPT_HTTPHEADER => [
"Accept: <accept>",
"Authorization: Basic <encoded-value>",
"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://api.nomi.tools/v1/finance/accounting/transactions/planned/search"
payload := strings.NewReader("{}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Accept", "<accept>")
req.Header.Add("Authorization", "Basic <encoded-value>")
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://api.nomi.tools/v1/finance/accounting/transactions/planned/search")
.header("Accept", "<accept>")
.header("Authorization", "Basic <encoded-value>")
.header("Content-Type", "application/json")
.body("{}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.nomi.tools/v1/finance/accounting/transactions/planned/search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Accept"] = '<accept>'
request["Authorization"] = 'Basic <encoded-value>'
request["Content-Type"] = 'application/json'
request.body = "{}"
response = http.request(request)
puts response.read_body{
"transactions": [
{
"amount": 123,
"date": "2023-12-25",
"type": "<string>",
"accountId": "<string>",
"id": "<string>",
"incomeDate": "2023-12-25",
"externalId": "<string>",
"description": "<string>",
"isRecurring": true,
"isPlanned": true,
"isCoveredByClient": true,
"isCompleted": true,
"isDifferentIncomeDate": true,
"recurrencePeriod": "<string>",
"recurrenceEndDate": "2023-12-25",
"categoryId": "<string>",
"counterpartyId": "<string>",
"commitmentPartId": "<string>",
"projectId": "<string>",
"projectCategoryId": "<string>",
"isCommitment": true,
"fileId": "<string>",
"file2Id": "<string>",
"file3Id": "<string>",
"tags": [
{
"id": "<string>",
"Id": "<string>"
}
],
"parts": [
{
"id": "<string>",
"amount": 123,
"date": "2023-12-25",
"categoryId": "<string>",
"legalEntityId": "<string>",
"exchangeSourceId": "<string>",
"counterpartyId": "<string>",
"commitmentPartId": "<string>",
"projectId": "<string>",
"isCommitment": true
}
],
"destTransactionId": "<string>",
"destAccountId": "<string>",
"destAmount": 123
}
],
"meta": {}
}Transactions
Search planned transactions
Search for planned transactions based on criteria.
POST
/
v1
/
finance
/
accounting
/
transactions
/
planned
/
search
Search planned transactions
curl --request POST \
--url https://api.nomi.tools/v1/finance/accounting/transactions/planned/search \
--header 'Accept: <accept>' \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{}'import requests
url = "https://api.nomi.tools/v1/finance/accounting/transactions/planned/search"
payload = {}
headers = {
"Accept": "<accept>",
"Authorization": "Basic <encoded-value>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
Accept: '<accept>',
Authorization: 'Basic <encoded-value>',
'Content-Type': 'application/json'
},
body: JSON.stringify({})
};
fetch('https://api.nomi.tools/v1/finance/accounting/transactions/planned/search', 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://api.nomi.tools/v1/finance/accounting/transactions/planned/search",
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([
]),
CURLOPT_HTTPHEADER => [
"Accept: <accept>",
"Authorization: Basic <encoded-value>",
"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://api.nomi.tools/v1/finance/accounting/transactions/planned/search"
payload := strings.NewReader("{}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Accept", "<accept>")
req.Header.Add("Authorization", "Basic <encoded-value>")
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://api.nomi.tools/v1/finance/accounting/transactions/planned/search")
.header("Accept", "<accept>")
.header("Authorization", "Basic <encoded-value>")
.header("Content-Type", "application/json")
.body("{}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.nomi.tools/v1/finance/accounting/transactions/planned/search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Accept"] = '<accept>'
request["Authorization"] = 'Basic <encoded-value>'
request["Content-Type"] = 'application/json'
request.body = "{}"
response = http.request(request)
puts response.read_body{
"transactions": [
{
"amount": 123,
"date": "2023-12-25",
"type": "<string>",
"accountId": "<string>",
"id": "<string>",
"incomeDate": "2023-12-25",
"externalId": "<string>",
"description": "<string>",
"isRecurring": true,
"isPlanned": true,
"isCoveredByClient": true,
"isCompleted": true,
"isDifferentIncomeDate": true,
"recurrencePeriod": "<string>",
"recurrenceEndDate": "2023-12-25",
"categoryId": "<string>",
"counterpartyId": "<string>",
"commitmentPartId": "<string>",
"projectId": "<string>",
"projectCategoryId": "<string>",
"isCommitment": true,
"fileId": "<string>",
"file2Id": "<string>",
"file3Id": "<string>",
"tags": [
{
"id": "<string>",
"Id": "<string>"
}
],
"parts": [
{
"id": "<string>",
"amount": 123,
"date": "2023-12-25",
"categoryId": "<string>",
"legalEntityId": "<string>",
"exchangeSourceId": "<string>",
"counterpartyId": "<string>",
"commitmentPartId": "<string>",
"projectId": "<string>",
"isCommitment": true
}
],
"destTransactionId": "<string>",
"destAccountId": "<string>",
"destAmount": 123
}
],
"meta": {}
}Authorizations
Use HTTP Basic Authentication. Provide your email as login and PPT token as the password.
Headers
Available options:
application/json Body
application/json
The body is of type object.