Browse Allocations
curl --request GET \
--url https://api.{tenant}.getomneo.com/api/v3/allocationsimport requests
url = "https://api.{tenant}.getomneo.com/api/v3/allocations"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.{tenant}.getomneo.com/api/v3/allocations', 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.{tenant}.getomneo.com/api/v3/allocations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.{tenant}.getomneo.com/api/v3/allocations"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.{tenant}.getomneo.com/api/v3/allocations")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.{tenant}.getomneo.com/api/v3/allocations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"data": [
{
"id": 123,
"external_id": "<string>",
"definition_id": 123,
"definition_type": "<string>",
"name": "<string>",
"allocated_at": "<string>",
"valid_from": "<string>",
"valid_to": "<string>",
"value": "<string>",
"code": "<string>",
"meta": [
"<unknown>"
],
"created_at": "<string>",
"updated_at": "<string>"
}
]
}{
"message": "<string>"
}{
"message": "<string>"
}Allocation
Browse Allocations
A GET to the /allocations endpoint allows your application to retrieve allocations.
GET
/
v3
/
allocations
Browse Allocations
curl --request GET \
--url https://api.{tenant}.getomneo.com/api/v3/allocationsimport requests
url = "https://api.{tenant}.getomneo.com/api/v3/allocations"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.{tenant}.getomneo.com/api/v3/allocations', 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.{tenant}.getomneo.com/api/v3/allocations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.{tenant}.getomneo.com/api/v3/allocations"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.{tenant}.getomneo.com/api/v3/allocations")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.{tenant}.getomneo.com/api/v3/allocations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"data": [
{
"id": 123,
"external_id": "<string>",
"definition_id": 123,
"definition_type": "<string>",
"name": "<string>",
"allocated_at": "<string>",
"valid_from": "<string>",
"valid_to": "<string>",
"value": "<string>",
"code": "<string>",
"meta": [
"<unknown>"
],
"created_at": "<string>",
"updated_at": "<string>"
}
]
}{
"message": "<string>"
}{
"message": "<string>"
}Filtering
This endpoint accepts
filter and sort query parameters. See Filtering, sorting, and search for paging and for the shared search_with, custom_field, and json_contains filters.Examples
curl -X GET "https://api.[tenant].getomneo.com/api/v3/allocations?filter[external_id]={external_id}" \
-H "Authorization: Bearer ${TOKEN}"
curl -X GET "https://api.[tenant].getomneo.com/api/v3/allocations?filter[allocated_at][gte]=2026-01-01&filter[allocated_at][lt]=2026-02-01" \
-H "Authorization: Bearer ${TOKEN}"
Operators
| Operator | Meaning | Example |
|---|---|---|
eq | Equal to. Applied when you give no operator. | filter[external_id]={external_id} |
ne | Not equal to. | filter[external_id][ne]={external_id} |
gt | Greater than. | filter[allocated_at][gt]=2026-01-01 |
gte | Greater than or equal to. | filter[allocated_at][gte]=2026-01-01 |
lt | Less than. | filter[allocated_at][lt]=2026-02-01 |
lte | Less than or equal to. | filter[allocated_at][lte]=2026-02-01 |
in | Matches any value in a comma separated list. | filter[external_id][in]={external_id},{other-external_id} |
not_in | Excludes every value in a comma separated list. | filter[external_id][not_in]={external_id},{other-external_id} |
nullable | 1 returns records where the attribute is empty. Any other value returns records where it is set. | filter[allocated_at][nullable]=1 |
not_has operator applies to related attributes, which this endpoint does not have.
Filter attributes
| Attribute | Attribute | Attribute |
|---|---|---|
external_id | definition_id | definition_type |
name | allocated_id | allocated_type |
allocated_at | valid_from | valid_to |
value | code | meta |
profile_id |
sort key, for example ?sort=-allocated_at for descending order.⌘I