Logistical Records
Retrieve a Single Reservation Logistical Record by ID #
|
Sample Object
|
Retrieves a single Logistical Record for an Asset reservation.
| Name | Type | Required? | Description | Details |
|---|---|---|---|---|
| id | Number | Yes |
The ID of the Logistical Record you want to retrieve. It must belong to this reservation.
|
|
| $result_format | String | No |
By default, the response is a single object. Send
array to get it inside a one-item array.
|
Allowed values:
array |
| $on_error_return_empty_result | Boolean | No |
Set to
true to receive an empty result for supported validation or not-found errors. Authentication errors, rate limits, read conflicts and unexpected server errors still return an error response.
|
Default: false.
|
| $include_error_list_in_response_message | Boolean | No |
Set to
true to include individual validation errors in the error message.
|
Default: false.
|
Good to know
Retrieves a Logistical Record for an Asset reservation. A Logistical Record tracks an action such as preparing, shipping or receiving an Asset. Its Record Date is the date of that action. Your workspace must have the Logistical Records feature enabled.
Access to borrowed Assets
Supply the Logistical Record's id for your Assets or borrowed Assets. The API finds the reservation’s current Asset and Event and checks access automatically; no extra Asset or Event ID is needed. If the owner stops sharing the Asset, access can continue while the reservation belongs to an Event in your workspace and that Event’s Assets tab is accessible.
Borrowed-Asset access does not provide the owner’s private Asset details or other Event reservations. Logistical Records for an Event in another workspace are unavailable.
Getting the revision for an update
This Logistical Record response does not include a revision. Retrieve the parent reservation’s revision before making a conditional update.
- Retrieve the parent reservation with
GET /v1/assets/reservations/info, using itsasset_type_idand settingidto this response'sreservation_id, and set$include_record_revision=true. - Copy
record_revisionfromGET /v1/assets/reservations/infoand send it unchanged asexpected_revisioninPATCH /v1/assets/reservation_logistical_recordsorDELETE /v1/assets/reservation_logistical_records.
What the reservation revision covers
This Logistical Record response does not include a revision. The parent reservation’s revision covers the reservation fields, Optional Accessory quantities, Logistical Records, note formatting saved in ExhibitDay and related-item links; attachment metadata and file contents are excluded.
Logistical Records on another workspace’s Event can’t be read or changed, even by the Asset’s owner, so this revision is only useful for reservations on Events in your workspace.
If the reservation changes during your read
Reads take no locks. If a save to the same reservation collides with your read (rare), the API can return HTTP 409 with error_code=record_changed. Read the record again. The empty-result option does not replace this conflict response.
curl -X GET "https://api.exhibitday.com/v1/assets/reservation_logistical_records/info?id=12345" -H "Authorization: Bearer YOUR_API_KEY"
const response = await fetch("https://api.exhibitday.com/v1/assets/reservation_logistical_records/info?" + new URLSearchParams({ "id": "12345" }), {
method: "GET",
headers: { "Authorization": "Bearer YOUR_API_KEY" }
});
const data = await response.json();
console.log(response.status, data);
import requests
response = requests.get(
"https://api.exhibitday.com/v1/assets/reservation_logistical_records/info",
headers={"Authorization": "Bearer YOUR_API_KEY"},
params={"id": 12345},
)
print(response.status_code, response.json())
using System;
using System.Net.Http;
using System.Net.Http.Headers;
using var client = new HttpClient();
client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", "YOUR_API_KEY");
var response = await client.GetAsync("https://api.exhibitday.com/v1/assets/reservation_logistical_records/info?id=12345");
Console.WriteLine($"{(int)response.StatusCode} {await response.Content.ReadAsStringAsync()}");
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
public class ExhibitDayExample {
public static void main(String[] args) throws Exception {
HttpClient client = HttpClient.newHttpClient();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api.exhibitday.com/v1/assets/reservation_logistical_records/info?id=12345"))
.header("Authorization", "Bearer YOUR_API_KEY")
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.statusCode() + " " + response.body());
}
}
<?php
$curl = curl_init('https://api.exhibitday.com/v1/assets/reservation_logistical_records/info?id=12345');
curl_setopt_array($curl, [
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ['Authorization: Bearer YOUR_API_KEY'],
]);
$response = curl_exec($curl);
if ($response === false) {
throw new RuntimeException(curl_error($curl));
}
echo curl_getinfo($curl, CURLINFO_HTTP_CODE) . PHP_EOL . $response;
curl_close($curl);
require 'net/http'
require 'uri'
uri = URI('https://api.exhibitday.com/v1/assets/reservation_logistical_records/info?id=12345')
request = Net::HTTP::Get.new(uri)
request['Authorization'] = 'Bearer YOUR_API_KEY'
response = Net::HTTP.start(uri.hostname, uri.port, use_ssl: uri.scheme == 'https') do |http|
http.request(request)
end
puts "#{response.code} #{response.body}"
package main
import (
"fmt"
"io"
"log"
"net/http"
)
func main() {
request, err := http.NewRequest("GET", "https://api.exhibitday.com/v1/assets/reservation_logistical_records/info?id=12345", nil)
if err != nil { log.Fatal(err) }
request.Header.Set("Authorization", "Bearer YOUR_API_KEY")
response, err := (&http.Client{}).Do(request)
if err != nil { log.Fatal(err) }
defer response.Body.Close()
body, err := io.ReadAll(response.Body)
if err != nil { log.Fatal(err) }
fmt.Printf("%d %s\n", response.StatusCode, body)
}
Example response
{
"id": 12345,
"asset_type_id": 0,
"reservation_id": 0,
"asset_id": 0,
"record_type_id": 0,
"record_type": null,
"record_date": null,
"description": "Sample description",
"logistical_record_created_by": {
"id": "11111111-2222-4333-8444-555555555555",
"first_name": "Jane",
"last_name": "Smith",
"display_name": "Jane Smith",
"email": "jane@example.invalid",
"type": "user",
"workspace_role": "team_member",
"is_active": true
},
"logistical_record_created_timestamp": "2026-11-19T17:00:00Z"
}
{
"status_code": 400,
"status": "Bad Request",
"message": "HTTP method override is not supported.",
"error_code": "invalid_request",
"errors": [
"Send the documented HTTP method directly. X-HTTP-Method-Override cannot change a request's HTTP method."
],
"error_params": [
"X-HTTP-Method-Override"
],
"request_id": "0123456789abcdef0123456789abcdef"
}
{
"status_code": 401,
"status": "Unauthorized",
"message": "No API key was provided. Send your key in the Authorization header as 'Bearer YOUR_API_KEY'. Alternatively, you can use the api_key parameter.",
"error_code": "missing_api_key",
"errors": [
"Copy the key from Workspace Settings > API & Integrations > API Access in ExhibitDay."
],
"error_params": [
"api_key"
],
"request_id": "0123456789abcdef0123456789abcdef"
}
{
"status_code": 401,
"status": "Unauthorized",
"message": "The API key is not valid. Check that you copied the whole key from Workspace Settings > API & Integrations > API Access, then send it in the Authorization header as 'Bearer YOUR_API_KEY'. Alternatively, you can use the api_key parameter.",
"error_code": "invalid_api_key",
"errors": [
"Check that you sent the whole key. If it was regenerated, use the current key from Workspace Settings > API & Integrations > API Access."
],
"error_params": [
"api_key"
],
"request_id": "0123456789abcdef0123456789abcdef"
}
{
"status_code": 401,
"status": "Unauthorized",
"message": "Access to the ExhibitDay API is not enabled for your workspace. Please contact support@exhibitday.com to enable API Access. Once access is enabled, send your key in the Authorization header as 'Bearer YOUR_API_KEY'.",
"error_code": "api_access_disabled",
"errors": [
"Nothing was read or changed."
],
"error_params": [
"api_key"
],
"request_id": "0123456789abcdef0123456789abcdef"
}
{
"status_code": 404,
"status": "Not Found",
"message": "Logistical Record not found. Invalid Logistical Record ID: 12345.",
"error_code": "not_found",
"errors": [
"Logistical Record not found. Invalid Logistical Record ID: 12345."
],
"error_params": [],
"request_id": "0123456789abcdef0123456789abcdef"
}
{
"status_code": 409,
"status": "Conflict",
"message": "This reservation changed while it was being read. Read it again; no data was changed.",
"error_code": "record_changed",
"errors": [
"This reservation changed while it was being read. Read it again; no data was changed."
],
"error_params": [],
"request_id": "0123456789abcdef0123456789abcdef"
}
{
"status_code": 429,
"status": "Too Many Requests",
"message": "Error 429 - Too Many Requests",
"error_code": "rate_limited",
"errors": [
"Error 429 - Too Many Requests"
],
"error_params": [],
"request_id": "0123456789abcdef0123456789abcdef"
}
{
"status_code": 500,
"status": "Unexpected Internal Error",
"message": "An unexpected error occurred. Please try again later.",
"error_code": "internal_error",
"errors": [
"An unexpected error occurred. Please try again later."
],
"error_params": [],
"request_id": "0123456789abcdef0123456789abcdef"
}
{
"status_code": 500,
"status": "Unexpected Internal Error",
"message": "An unexpected error occurred. Please try again later.",
"error_code": "internal_error",
"errors": [
"Check whether your change was saved before trying again."
],
"error_params": [],
"request_id": "0123456789abcdef0123456789abcdef"
}
Retrieve Reservation Logistical Records #
|
Retrieves the Logistical Records for an Asset reservation.
| Name | Type | Required? | Description | Details |
|---|---|---|---|---|
| asset_type_id | Number | Yes |
The reservation's Asset type. Capital tracks one item; Collateral tracks quantities. Supply the type even when you know the reservation ID.
|
Allowed values:
1 (Capital) | 2 (Collateral) |
| reservation_id | Number | Yes |
The ID of the reservation for the selected Asset type.
|
The current Asset and Event are determined automatically. No additional Asset or Event ID is needed.
|
| filter_by_logistical_record_id | Number | No |
Only return the record with this ID on the selected reservation.
|
|
| filter_by_record_type_id | Number | No |
Only return records with this Record Type ID.
|
Standard choices: 1 (Prepped), 2 (Sent), 3 (Received), 4 (Other).
|
| filter_by_record_date_greater_than_or_equal_to | Date | No |
Only return records dated on or after this date.
|
Use
YYYY-MM-DD. The whole calendar date is compared, including older entries saved with a time of day. |
| filter_by_record_date_smaller_than_or_equal_to | Date | No |
Only return records dated on or before this date.
|
Use
YYYY-MM-DD. It must not precede the lower date when both are supplied. |
| $result_sort | String | No |
Order records by record date, creation time or ID. Omit for record date ascending. Date and time ties use ID ascending. Unsupported values are refused.
|
Allowed values:
record_date_asc | record_date_desc | create_timestamp_asc | create_timestamp_desc | id_asc | id_desc |
| $limit | Number | No |
The maximum number of matching records to return.
|
One positive whole number. Omit to return all matches after
$offset; there is no fixed page-size cap. |
| $offset | Number | No |
The number of matching records to skip.
|
Default: 0. Send a nonnegative whole number.
|
| $result_format | String | No |
By default, the response is an object containing
list_data and the paging totals (records_found, total_records, has_more). Send array to get just a JSON array of the records, or wrapped_in_array to get the default object inside a one-item array.
|
Allowed values:
array | wrapped_in_array |
| $on_error_return_empty_result | Boolean | No |
Set to
true to return an empty collection for supported validation or not-found errors.
|
Default: false. Malformed inputs, authentication errors, rate limits, read conflicts and unexpected errors keep their error response.
|
| $include_error_list_in_response_message | Boolean | No |
Set to
true to include individual validation errors in the response message.
|
Default: false. The normal error list remains available.
|
| If-None-Match | String | No |
Send the ETag from an earlier response when checking whether this result changed.
|
Optional request header. A matching current result returns HTTP 304 with no body; reuse your earlier response. This header compares GET responses. It cannot prevent a conflicting update.
|
Good to know
Retrieves milestones such as preparation, shipment and receipt for one Asset reservation. Supply the reservation’s type and ID, then optionally filter or page its records. By default, records are ordered by Record Date.
Using the reservation’s current context
Your workspace needs the Logistical Records feature and access to the selected reservation. The API checks its current Asset and Event automatically. Manual Collateral inventory adjustments use separate methods.
Logistical Records for another workspace’s Event are unavailable. Owning the physical Asset does not grant access to that Event’s information.
Filtering and paging
Filters work together and apply only to the selected reservation. A valid reservation with no matching records returns an empty list. A missing or inaccessible reservation can return HTTP 404; the empty-result option can replace supported not-found or validation errors with an empty collection.
records_found is the number of records in this response; total_records is the filtered count before paging. has_more indicates whether matching records remain. Results can change between requests.
Each row includes its Record Type, Record Date, description, Recorded By name and creation timestamp. Attachments, parent notes and other reservation details are not included.
Getting a revision before an edit
This collection does not issue record_revision. Retrieve the reservation with GET /v1/assets/reservations/info and $include_record_revision=true when you want to check for changes before updating or deleting a Logistical Record.
If concurrent changes prevent the read, HTTP 409 with error_code=record_changed means you should read again. This read changes no data.
Checking whether a response changed
Normal API-key and access checks still apply. This header compares the response; it does not authorize access or protect an update.
- Save the response body and its
ETagheader from an earlier GET. - Repeat the same GET, including the same filters and response options, with that ETag in the
If-None-Matchheader. - If the response is HTTP
304, keep using your saved body. If it is HTTP200, use the new body and ETag.
curl -X GET "https://api.exhibitday.com/v1/assets/reservation_logistical_records?asset_type_id=1&reservation_id=12345" -H "Authorization: Bearer YOUR_API_KEY"
const response = await fetch("https://api.exhibitday.com/v1/assets/reservation_logistical_records?" + new URLSearchParams({ "asset_type_id": "1", "reservation_id": "12345" }), {
method: "GET",
headers: { "Authorization": "Bearer YOUR_API_KEY" }
});
const data = await response.json();
console.log(response.status, data);
import requests
response = requests.get(
"https://api.exhibitday.com/v1/assets/reservation_logistical_records",
headers={"Authorization": "Bearer YOUR_API_KEY"},
params={"asset_type_id": 1, "reservation_id": 12345},
)
print(response.status_code, response.json())
using System;
using System.Net.Http;
using System.Net.Http.Headers;
using var client = new HttpClient();
client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", "YOUR_API_KEY");
var response = await client.GetAsync("https://api.exhibitday.com/v1/assets/reservation_logistical_records?asset_type_id=1&reservation_id=12345");
Console.WriteLine($"{(int)response.StatusCode} {await response.Content.ReadAsStringAsync()}");
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
public class ExhibitDayExample {
public static void main(String[] args) throws Exception {
HttpClient client = HttpClient.newHttpClient();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api.exhibitday.com/v1/assets/reservation_logistical_records?asset_type_id=1&reservation_id=12345"))
.header("Authorization", "Bearer YOUR_API_KEY")
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.statusCode() + " " + response.body());
}
}
<?php
$curl = curl_init('https://api.exhibitday.com/v1/assets/reservation_logistical_records?asset_type_id=1&reservation_id=12345');
curl_setopt_array($curl, [
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ['Authorization: Bearer YOUR_API_KEY'],
]);
$response = curl_exec($curl);
if ($response === false) {
throw new RuntimeException(curl_error($curl));
}
echo curl_getinfo($curl, CURLINFO_HTTP_CODE) . PHP_EOL . $response;
curl_close($curl);
require 'net/http'
require 'uri'
uri = URI('https://api.exhibitday.com/v1/assets/reservation_logistical_records?asset_type_id=1&reservation_id=12345')
request = Net::HTTP::Get.new(uri)
request['Authorization'] = 'Bearer YOUR_API_KEY'
response = Net::HTTP.start(uri.hostname, uri.port, use_ssl: uri.scheme == 'https') do |http|
http.request(request)
end
puts "#{response.code} #{response.body}"
package main
import (
"fmt"
"io"
"log"
"net/http"
)
func main() {
request, err := http.NewRequest("GET", "https://api.exhibitday.com/v1/assets/reservation_logistical_records?asset_type_id=1&reservation_id=12345", nil)
if err != nil { log.Fatal(err) }
request.Header.Set("Authorization", "Bearer YOUR_API_KEY")
response, err := (&http.Client{}).Do(request)
if err != nil { log.Fatal(err) }
defer response.Body.Close()
body, err := io.ReadAll(response.Body)
if err != nil { log.Fatal(err) }
fmt.Printf("%d %s\n", response.StatusCode, body)
}
Example response
{
"records_found": 1,
"total_records": 1,
"has_more": false,
"list_type": "asset_reservation_logistical_record",
"list_data": [
{
"id": 12345,
"asset_type_id": 0,
"reservation_id": 0,
"asset_id": 0,
"record_type_id": 0,
"record_type": null,
"record_date": null,
"description": "Sample description",
"logistical_record_created_by": {
"id": "11111111-2222-4333-8444-555555555555",
"first_name": "Jane",
"last_name": "Smith",
"display_name": "Jane Smith",
"email": "jane@example.invalid",
"type": "user",
"workspace_role": "team_member",
"is_active": true
},
"logistical_record_created_timestamp": "2026-11-19T17:00:00Z"
}
]
}
{
"status_code": 400,
"status": "Bad Request",
"message": "HTTP method override is not supported.",
"error_code": "invalid_request",
"errors": [
"Send the documented HTTP method directly. X-HTTP-Method-Override cannot change a request's HTTP method."
],
"error_params": [
"X-HTTP-Method-Override"
],
"request_id": "0123456789abcdef0123456789abcdef"
}
{
"status_code": 401,
"status": "Unauthorized",
"message": "No API key was provided. Send your key in the Authorization header as 'Bearer YOUR_API_KEY'. Alternatively, you can use the api_key parameter.",
"error_code": "missing_api_key",
"errors": [
"Copy the key from Workspace Settings > API & Integrations > API Access in ExhibitDay."
],
"error_params": [
"api_key"
],
"request_id": "0123456789abcdef0123456789abcdef"
}
{
"status_code": 401,
"status": "Unauthorized",
"message": "The API key is not valid. Check that you copied the whole key from Workspace Settings > API & Integrations > API Access, then send it in the Authorization header as 'Bearer YOUR_API_KEY'. Alternatively, you can use the api_key parameter.",
"error_code": "invalid_api_key",
"errors": [
"Check that you sent the whole key. If it was regenerated, use the current key from Workspace Settings > API & Integrations > API Access."
],
"error_params": [
"api_key"
],
"request_id": "0123456789abcdef0123456789abcdef"
}
{
"status_code": 401,
"status": "Unauthorized",
"message": "Access to the ExhibitDay API is not enabled for your workspace. Please contact support@exhibitday.com to enable API Access. Once access is enabled, send your key in the Authorization header as 'Bearer YOUR_API_KEY'.",
"error_code": "api_access_disabled",
"errors": [
"Nothing was read or changed."
],
"error_params": [
"api_key"
],
"request_id": "0123456789abcdef0123456789abcdef"
}
{
"status_code": 409,
"status": "Conflict",
"message": "This reservation changed while it was being read. Read it again; no data was changed.",
"error_code": "record_changed",
"errors": [
"This reservation changed while it was being read. Read it again; no data was changed."
],
"error_params": [],
"request_id": "0123456789abcdef0123456789abcdef"
}
{
"status_code": 429,
"status": "Too Many Requests",
"message": "Error 429 - Too Many Requests",
"error_code": "rate_limited",
"errors": [
"Error 429 - Too Many Requests"
],
"error_params": [],
"request_id": "0123456789abcdef0123456789abcdef"
}
{
"status_code": 500,
"status": "Unexpected Internal Error",
"message": "An unexpected error occurred. Please try again later.",
"error_code": "internal_error",
"errors": [
"An unexpected error occurred. Please try again later."
],
"error_params": [],
"request_id": "0123456789abcdef0123456789abcdef"
}
{
"status_code": 500,
"status": "Unexpected Internal Error",
"message": "An unexpected error occurred. Please try again later.",
"error_code": "internal_error",
"errors": [
"Check whether your change was saved before trying again."
],
"error_params": [],
"request_id": "0123456789abcdef0123456789abcdef"
}
Add a Reservation Logistical Record #
|
Adds a Logistical Record to an Asset reservation.
| Name | Type | Required? | Description | Details |
|---|---|---|---|---|
| asset_type_id | Number | Yes |
The reservation's Asset type. Capital tracks one item; Collateral tracks quantities. Supply the type even when you know the reservation ID.
|
Allowed values:
1 (Capital) | 2 (Collateral) |
| reservation_id | Number | Yes |
The ID of the reservation for the selected Asset type.
|
No additional Asset or Event ID is needed.
|
| record_type_id | Number | Yes |
The current Record Type ID for this milestone.
|
Standard choices are
1 (Prepped), 2 (Sent), 3 (Received) and 4 (Other). |
| record_date | Date | Yes |
The date when this logistical action took place.
|
Use
YYYY-MM-DD. This is the milestone’s calendar date, not a due date or time of day. |
| description | String | No |
A short description of the milestone.
|
Up to 200 characters, excluding surrounding spaces. Use JSON, query-string or form values when the text contains commas.
|
| $result_format | String | No |
By default, the response is a single object. Send
array to get it inside a one-item array.
|
Allowed values:
array |
| Idempotency-Key | String | No |
Send a unique key if you may retry this same create request.
|
Optional request header: 1–255 visible ASCII characters without spaces, such as a UUID. Reuse the same key only for the same request. Successful responses can be replayed for 24 hours.
|
Good to know
Adds a logistical milestone to an Asset reservation, such as when it was prepared, sent or received. Record Type and Record Date are required; the description is optional.
Before changing a record
Your workspace needs the Logistical Records feature and permission to edit the selected reservation. ExhibitDay checks the reservation, its Asset and its Event automatically. Hidden or locked Event content cannot be changed.
Owning the physical Asset does not grant access to another workspace’s Event information. Manual Collateral inventory adjustments use separate methods.
Adding a milestone
- Send
asset_type_idandreservation_idto select the reservation. - Send the milestone’s
record_type_idandrecord_date. Add an optional description. - Read the created record, including its ID, from the response. Its Recorded By name is
ExhibitDay API.
Retrying the same create
Send the optional Idempotency-Key request header if you may repeat the same create request. Reuse that key only with the same request so a completed response can be replayed without adding another milestone.
expected_revision is not accepted by POST. If the save outcome cannot be confirmed, check the current records before trying again.
Sending descriptions with commas
Put a description containing commas in a JSON body, query string or form field.
What stays unchanged
This action leaves reservation dates, quantities, availability, related-item links and files unchanged. It sends no notifications.
A confirmed change is added to history. A history-writing failure does not undo the saved change. If the save outcome cannot be confirmed, retrieve the current records before deciding whether to retry. The API does not automatically repeat the action.
Hidden or locked Assets tab
If the reservation's Event is in your workspace and its Assets tab is hidden or locked, this request returns HTTP 400 (not_allowed), and the message names the tab. Show or unlock the tab in ExhibitDay first.
curl -X POST "https://api.exhibitday.com/v1/assets/reservation_logistical_records" -H "Authorization: Bearer YOUR_API_KEY" -H "Content-Type: application/json" -d "{\"asset_type_id\":1,\"reservation_id\":12345,\"record_type_id\":1,\"record_date\":\"2026-12-19\"}"
const response = await fetch("https://api.exhibitday.com/v1/assets/reservation_logistical_records", {
method: "POST",
headers: { "Authorization": "Bearer YOUR_API_KEY", "Content-Type": "application/json" },
body: JSON.stringify({ "asset_type_id": 1, "reservation_id": 12345, "record_type_id": 1, "record_date": "2026-12-19" })
});
const data = await response.json();
console.log(response.status, data);
import requests
response = requests.post(
"https://api.exhibitday.com/v1/assets/reservation_logistical_records",
headers={"Authorization": "Bearer YOUR_API_KEY"},
json={"asset_type_id": 1, "reservation_id": 12345, "record_type_id": 1, "record_date": "2026-12-19"},
)
print(response.status_code, response.json())
using System;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Net.Http.Json;
using var client = new HttpClient();
client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", "YOUR_API_KEY");
var response = await client.PostAsync("https://api.exhibitday.com/v1/assets/reservation_logistical_records",
JsonContent.Create(new { asset_type_id = 1, reservation_id = 12345, record_type_id = 1, record_date = "2026-12-19" }));
Console.WriteLine($"{(int)response.StatusCode} {await response.Content.ReadAsStringAsync()}");
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
public class ExhibitDayExample {
public static void main(String[] args) throws Exception {
HttpClient client = HttpClient.newHttpClient();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api.exhibitday.com/v1/assets/reservation_logistical_records"))
.header("Authorization", "Bearer YOUR_API_KEY")
.header("Content-Type", "application/json")
.method("POST", HttpRequest.BodyPublishers.ofString("{\"asset_type_id\":1,\"reservation_id\":12345,\"record_type_id\":1,\"record_date\":\"2026-12-19\"}"))
.build();
HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.statusCode() + " " + response.body());
}
}
<?php
$curl = curl_init('https://api.exhibitday.com/v1/assets/reservation_logistical_records');
curl_setopt_array($curl, [
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ['Authorization: Bearer YOUR_API_KEY', 'Content-Type: application/json'],
CURLOPT_POSTFIELDS => '{"asset_type_id":1,"reservation_id":12345,"record_type_id":1,"record_date":"2026-12-19"}',
]);
$response = curl_exec($curl);
if ($response === false) {
throw new RuntimeException(curl_error($curl));
}
echo curl_getinfo($curl, CURLINFO_HTTP_CODE) . PHP_EOL . $response;
curl_close($curl);
require 'net/http'
require 'uri'
uri = URI('https://api.exhibitday.com/v1/assets/reservation_logistical_records')
request = Net::HTTP::Post.new(uri)
request['Authorization'] = 'Bearer YOUR_API_KEY'
request['Content-Type'] = 'application/json'
request.body = '{"asset_type_id":1,"reservation_id":12345,"record_type_id":1,"record_date":"2026-12-19"}'
response = Net::HTTP.start(uri.hostname, uri.port, use_ssl: uri.scheme == 'https') do |http|
http.request(request)
end
puts "#{response.code} #{response.body}"
package main
import (
"fmt"
"io"
"log"
"net/http"
"strings"
)
func main() {
request, err := http.NewRequest("POST", "https://api.exhibitday.com/v1/assets/reservation_logistical_records", strings.NewReader("{\"asset_type_id\":1,\"reservation_id\":12345,\"record_type_id\":1,\"record_date\":\"2026-12-19\"}"))
if err != nil { log.Fatal(err) }
request.Header.Set("Authorization", "Bearer YOUR_API_KEY")
request.Header.Set("Content-Type", "application/json")
response, err := (&http.Client{}).Do(request)
if err != nil { log.Fatal(err) }
defer response.Body.Close()
body, err := io.ReadAll(response.Body)
if err != nil { log.Fatal(err) }
fmt.Printf("%d %s\n", response.StatusCode, body)
}
Example response
{
"id": 23456,
"asset_type_id": 1,
"reservation_id": 12345,
"asset_id": 0,
"record_type_id": 1,
"record_type": null,
"record_date": "2026-12-19",
"description": "Sample description",
"logistical_record_created_by": {
"id": "11111111-2222-4333-8444-555555555555",
"first_name": "Jane",
"last_name": "Smith",
"display_name": "Jane Smith",
"email": "jane@example.invalid",
"type": "user",
"workspace_role": "team_member",
"is_active": true
},
"logistical_record_created_timestamp": "2026-11-19T17:00:00Z"
}
{
"status_code": 400,
"status": "Bad Request",
"message": "HTTP method override is not supported.",
"error_code": "invalid_request",
"errors": [
"Send the documented HTTP method directly. X-HTTP-Method-Override cannot change a request's HTTP method."
],
"error_params": [
"X-HTTP-Method-Override"
],
"request_id": "0123456789abcdef0123456789abcdef"
}
{
"status_code": 400,
"status": "Bad Request",
"message": "This Idempotency-Key was already used with a different request. Use a new key for a new request.",
"error_code": "idempotency_key_reused",
"errors": [
"This Idempotency-Key was already used with a different request. Use a new key for a new request."
],
"error_params": [
"Idempotency-Key"
],
"request_id": "0123456789abcdef0123456789abcdef"
}
{
"status_code": 400,
"status": "Bad Request",
"message": "The Assets tab is hidden on this Event, so its records can't be added, changed or deleted. Show the tab in ExhibitDay before trying again.",
"error_code": "not_allowed",
"errors": [
"The Assets tab is hidden on this Event, so its records can't be added, changed or deleted. Show the tab in ExhibitDay before trying again."
],
"error_params": [
"event_id"
],
"request_id": "0123456789abcdef0123456789abcdef"
}
{
"status_code": 401,
"status": "Unauthorized",
"message": "No API key was provided. Send your key in the Authorization header as 'Bearer YOUR_API_KEY'. Alternatively, you can use the api_key parameter.",
"error_code": "missing_api_key",
"errors": [
"Copy the key from Workspace Settings > API & Integrations > API Access in ExhibitDay."
],
"error_params": [
"api_key"
],
"request_id": "0123456789abcdef0123456789abcdef"
}
{
"status_code": 401,
"status": "Unauthorized",
"message": "The API key is not valid. Check that you copied the whole key from Workspace Settings > API & Integrations > API Access, then send it in the Authorization header as 'Bearer YOUR_API_KEY'. Alternatively, you can use the api_key parameter.",
"error_code": "invalid_api_key",
"errors": [
"Check that you sent the whole key. If it was regenerated, use the current key from Workspace Settings > API & Integrations > API Access."
],
"error_params": [
"api_key"
],
"request_id": "0123456789abcdef0123456789abcdef"
}
{
"status_code": 401,
"status": "Unauthorized",
"message": "Access to the ExhibitDay API is not enabled for your workspace. Please contact support@exhibitday.com to enable API Access. Once access is enabled, send your key in the Authorization header as 'Bearer YOUR_API_KEY'.",
"error_code": "api_access_disabled",
"errors": [
"Nothing was read or changed."
],
"error_params": [
"api_key"
],
"request_id": "0123456789abcdef0123456789abcdef"
}
{
"status_code": 404,
"status": "Not Found",
"message": "Asset Reservation not found. Invalid Asset Reservation ID: 12345.",
"error_code": "not_found",
"errors": [
"Asset Reservation not found. Invalid Asset Reservation ID: 12345."
],
"error_params": [
"reservation_id"
],
"request_id": "0123456789abcdef0123456789abcdef"
}
{
"status_code": 409,
"status": "Conflict",
"message": "A request with this Idempotency-Key is still being processed. Retry after a moment.",
"error_code": "idempotency_key_in_use",
"errors": [
"A request with this Idempotency-Key is still being processed. Retry after a moment."
],
"error_params": [
"Idempotency-Key"
],
"request_id": "0123456789abcdef0123456789abcdef"
}
{
"status_code": 409,
"status": "Conflict",
"message": "A previous request with this Idempotency-Key did not finish and its outcome is unknown, so this retry was not run to avoid creating a duplicate. Check whether the earlier request succeeded; to try again, use a new Idempotency-Key.",
"error_code": "idempotency_key_indeterminate",
"errors": [
"A previous request with this Idempotency-Key did not finish and its outcome is unknown, so this retry was not run to avoid creating a duplicate. Check whether the earlier request succeeded; to try again, use a new Idempotency-Key."
],
"error_params": [
"Idempotency-Key"
],
"request_id": "0123456789abcdef0123456789abcdef"
}
{
"status_code": 409,
"status": "Conflict",
"message": "The saved response cannot be replayed safely.",
"error_code": "idempotency_key_indeterminate",
"errors": [
"The earlier request with this Idempotency-Key completed, but its saved response cannot be returned safely. This retry was not run and its key was not released. Look for the existing record with a GET; use a new Idempotency-Key only after checking whether another create is needed."
],
"error_params": [
"Idempotency-Key"
],
"request_id": "0123456789abcdef0123456789abcdef"
}
{
"status_code": 409,
"status": "Conflict",
"message": "This reservation changed while being saved. Read its current state before retrying; nothing was changed.",
"error_code": "record_changed",
"errors": [
"This reservation changed while being saved. Read its current state before retrying; nothing was changed."
],
"error_params": [],
"request_id": "0123456789abcdef0123456789abcdef"
}
{
"status_code": 429,
"status": "Too Many Requests",
"message": "Error 429 - Too Many Requests",
"error_code": "rate_limited",
"errors": [
"Error 429 - Too Many Requests"
],
"error_params": [],
"request_id": "0123456789abcdef0123456789abcdef"
}
{
"status_code": 500,
"status": "Unexpected Internal Error",
"message": "An unexpected error occurred. Please try again later.",
"error_code": "internal_error",
"errors": [
"An unexpected error occurred. Please try again later."
],
"error_params": [],
"request_id": "0123456789abcdef0123456789abcdef"
}
{
"status_code": 500,
"status": "Unexpected Internal Error",
"message": "An unexpected error occurred. Please try again later.",
"error_code": "internal_error",
"errors": [
"Check whether your change was saved before trying again."
],
"error_params": [],
"request_id": "0123456789abcdef0123456789abcdef"
}
Update a Reservation Logistical Record #
|
Updates a Logistical Record on an Asset reservation.
| Name | Type | Required? | Description | Details |
|---|---|---|---|---|
| id | Number | Yes |
The ID of the Logistical Record.
|
|
| record_type_id | Number | No |
The current Record Type ID for this milestone.
|
Standard choices are
1 (Prepped), 2 (Sent), 3 (Received) and 4 (Other). |
| record_date | Date | No |
The date when this logistical action took place.
|
Use
YYYY-MM-DD. This is the milestone’s calendar date, not a due date or time of day. |
| description | String | No |
A short description of the milestone.
|
Up to 200 characters, excluding surrounding spaces. Use JSON, query-string or form values when the text contains commas.
|
| expected_revision | String | No |
The record_revision from the reservation's Info response. Include it to avoid overwriting changes to that reservation or its Logistical Records. Omit it to skip this check.
|
|
| $ignore_params_with_empty_values | Boolean | No |
Set to
true to ignore editable fields sent as JSON null.
|
Default: false. The text
"null" still requests a clear. Only description can be cleared; Record Type and Record Date cannot. |
Good to know
Updates the supplied Record Type, Record Date or description of a Logistical Record. Omitted fields keep their saved values. The record’s original Recorded By name and creation time remain unchanged.
Before changing a record
Your workspace needs the Logistical Records feature and permission to edit the selected reservation. ExhibitDay checks the reservation, its Asset and its Event automatically. Hidden or locked Event content cannot be changed.
Owning the physical Asset does not grant access to another workspace’s Event information. Manual Collateral inventory adjustments use separate methods.
Changing or clearing fields
Include the Logistical Record ID as id. Send only the fields you want to change. Omitted or blank fields keep their saved values.
JSON null or the text "null" clears description. Record Type and Record Date cannot be cleared. With $ignore_params_with_empty_values=true, real JSON null is ignored; the text "null" still requests a clear.
Sending the same displayed Record Date preserves any time saved on an older record. A genuinely changed date is saved as a calendar date. Sending unchanged values makes no change to the record, revision, timestamps or history.
Avoiding conflicting edits
- Retrieve the Logistical Record by
idto find its currentasset_type_idandreservation_id. Retrieve GET /v1/assets/reservations/info with that reservation_id asid, its asset_type_id and$include_record_revision=true. - Send the returned reservation
record_revisionasexpected_revisionin this PATCH request.
What expected_revision checks
Use the reservation’s record_revision, retrieved with $include_record_revision=true, as expected_revision in this request. It checks the whole reservation and all its Logistical Records, including siblings, Optional Accessory quantities, note formatting saved in ExhibitDay and related-item links. Attachment metadata and file contents are excluded. Logistical Record Info does not issue this revision.
A covered value that differs from your earlier read returns HTTP 409 with error_code=record_changed and saves nothing. Retrieve the reservation again and review its current values before deciding whether to retry. A value that changed and later changed back still matches.
Blank, null, malformed or conflicting revision values return HTTP 400 with error_code=invalid_request. A successful update includes the reservation’s current revision only if you supplied expected_revision. The revision grants no additional permission.
Retrying an update
This method ignores Idempotency-Key. If the result is uncertain, retrieve the current record before retrying; the API does not automatically repeat the update.
Sending descriptions with commas
Put a description containing commas in a JSON body, query string or form field.
What stays unchanged
This action leaves reservation dates, quantities, availability, related-item links and files unchanged. It sends no notifications.
A confirmed change is added to history. A history-writing failure does not undo the saved change. If the save outcome cannot be confirmed, retrieve the current records before deciding whether to retry. The API does not automatically repeat the action.
Hidden or locked Assets tab
If the reservation's Event is in your workspace and its Assets tab is hidden or locked, this request returns HTTP 400 (not_allowed), and the message names the tab. Show or unlock the tab in ExhibitDay first.
curl -X PATCH "https://api.exhibitday.com/v1/assets/reservation_logistical_records" -H "Authorization: Bearer YOUR_API_KEY" -H "Content-Type: application/json" -d "{\"id\":12345,\"description\":\"Updated description\"}"
const response = await fetch("https://api.exhibitday.com/v1/assets/reservation_logistical_records", {
method: "PATCH",
headers: { "Authorization": "Bearer YOUR_API_KEY", "Content-Type": "application/json" },
body: JSON.stringify({ "id": 12345, "description": "Updated description" })
});
const data = await response.json();
console.log(response.status, data);
import requests
response = requests.patch(
"https://api.exhibitday.com/v1/assets/reservation_logistical_records",
headers={"Authorization": "Bearer YOUR_API_KEY"},
json={"id": 12345, "description": "Updated description"},
)
print(response.status_code, response.json())
using System;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Net.Http.Json;
using var client = new HttpClient();
client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", "YOUR_API_KEY");
var response = await client.PatchAsync("https://api.exhibitday.com/v1/assets/reservation_logistical_records",
JsonContent.Create(new { id = 12345, description = "Updated description" }));
Console.WriteLine($"{(int)response.StatusCode} {await response.Content.ReadAsStringAsync()}");
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
public class ExhibitDayExample {
public static void main(String[] args) throws Exception {
HttpClient client = HttpClient.newHttpClient();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api.exhibitday.com/v1/assets/reservation_logistical_records"))
.header("Authorization", "Bearer YOUR_API_KEY")
.header("Content-Type", "application/json")
.method("PATCH", HttpRequest.BodyPublishers.ofString("{\"id\":12345,\"description\":\"Updated description\"}"))
.build();
HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.statusCode() + " " + response.body());
}
}
<?php
$curl = curl_init('https://api.exhibitday.com/v1/assets/reservation_logistical_records');
curl_setopt_array($curl, [
CURLOPT_CUSTOMREQUEST => 'PATCH',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ['Authorization: Bearer YOUR_API_KEY', 'Content-Type: application/json'],
CURLOPT_POSTFIELDS => '{"id":12345,"description":"Updated description"}',
]);
$response = curl_exec($curl);
if ($response === false) {
throw new RuntimeException(curl_error($curl));
}
echo curl_getinfo($curl, CURLINFO_HTTP_CODE) . PHP_EOL . $response;
curl_close($curl);
require 'net/http'
require 'uri'
uri = URI('https://api.exhibitday.com/v1/assets/reservation_logistical_records')
request = Net::HTTP::Patch.new(uri)
request['Authorization'] = 'Bearer YOUR_API_KEY'
request['Content-Type'] = 'application/json'
request.body = '{"id":12345,"description":"Updated description"}'
response = Net::HTTP.start(uri.hostname, uri.port, use_ssl: uri.scheme == 'https') do |http|
http.request(request)
end
puts "#{response.code} #{response.body}"
package main
import (
"fmt"
"io"
"log"
"net/http"
"strings"
)
func main() {
request, err := http.NewRequest("PATCH", "https://api.exhibitday.com/v1/assets/reservation_logistical_records", strings.NewReader("{\"id\":12345,\"description\":\"Updated description\"}"))
if err != nil { log.Fatal(err) }
request.Header.Set("Authorization", "Bearer YOUR_API_KEY")
request.Header.Set("Content-Type", "application/json")
response, err := (&http.Client{}).Do(request)
if err != nil { log.Fatal(err) }
defer response.Body.Close()
body, err := io.ReadAll(response.Body)
if err != nil { log.Fatal(err) }
fmt.Printf("%d %s\n", response.StatusCode, body)
}
Example response
{
"status_code": 200,
"status": "OK",
"message": "Logistical Record updated.",
"errors": []
}
{
"status_code": 400,
"status": "Bad Request",
"message": "HTTP method override is not supported.",
"error_code": "invalid_request",
"errors": [
"Send the documented HTTP method directly. X-HTTP-Method-Override cannot change a request's HTTP method."
],
"error_params": [
"X-HTTP-Method-Override"
],
"request_id": "0123456789abcdef0123456789abcdef"
}
{
"status_code": 400,
"status": "Bad Request",
"message": "The Assets tab is hidden on this Event, so its records can't be added, changed or deleted. Show the tab in ExhibitDay before trying again.",
"error_code": "not_allowed",
"errors": [
"The Assets tab is hidden on this Event, so its records can't be added, changed or deleted. Show the tab in ExhibitDay before trying again."
],
"error_params": [
"event_id"
],
"request_id": "0123456789abcdef0123456789abcdef"
}
{
"status_code": 401,
"status": "Unauthorized",
"message": "No API key was provided. Send your key in the Authorization header as 'Bearer YOUR_API_KEY'. Alternatively, you can use the api_key parameter.",
"error_code": "missing_api_key",
"errors": [
"Copy the key from Workspace Settings > API & Integrations > API Access in ExhibitDay."
],
"error_params": [
"api_key"
],
"request_id": "0123456789abcdef0123456789abcdef"
}
{
"status_code": 401,
"status": "Unauthorized",
"message": "The API key is not valid. Check that you copied the whole key from Workspace Settings > API & Integrations > API Access, then send it in the Authorization header as 'Bearer YOUR_API_KEY'. Alternatively, you can use the api_key parameter.",
"error_code": "invalid_api_key",
"errors": [
"Check that you sent the whole key. If it was regenerated, use the current key from Workspace Settings > API & Integrations > API Access."
],
"error_params": [
"api_key"
],
"request_id": "0123456789abcdef0123456789abcdef"
}
{
"status_code": 401,
"status": "Unauthorized",
"message": "Access to the ExhibitDay API is not enabled for your workspace. Please contact support@exhibitday.com to enable API Access. Once access is enabled, send your key in the Authorization header as 'Bearer YOUR_API_KEY'.",
"error_code": "api_access_disabled",
"errors": [
"Nothing was read or changed."
],
"error_params": [
"api_key"
],
"request_id": "0123456789abcdef0123456789abcdef"
}
{
"status_code": 404,
"status": "Not Found",
"message": "Logistical Record not found. Invalid Logistical Record ID: 12345.",
"error_code": "not_found",
"errors": [
"Logistical Record not found. Invalid Logistical Record ID: 12345."
],
"error_params": [
"id"
],
"request_id": "0123456789abcdef0123456789abcdef"
}
{
"status_code": 409,
"status": "Conflict",
"message": "This reservation changed since you read it; nothing was changed.",
"error_code": "record_changed",
"errors": [
"This reservation changed since you read it; nothing was changed."
],
"error_params": [
"expected_revision"
],
"request_id": "0123456789abcdef0123456789abcdef"
}
{
"status_code": 409,
"status": "Conflict",
"message": "This reservation changed while being saved. Read its current state before retrying; nothing was changed.",
"error_code": "record_changed",
"errors": [
"This reservation changed while being saved. Read its current state before retrying; nothing was changed."
],
"error_params": [],
"request_id": "0123456789abcdef0123456789abcdef"
}
{
"status_code": 429,
"status": "Too Many Requests",
"message": "Error 429 - Too Many Requests",
"error_code": "rate_limited",
"errors": [
"Error 429 - Too Many Requests"
],
"error_params": [],
"request_id": "0123456789abcdef0123456789abcdef"
}
{
"status_code": 500,
"status": "Unexpected Internal Error",
"message": "An unexpected error occurred. Please try again later.",
"error_code": "internal_error",
"errors": [
"An unexpected error occurred. Please try again later."
],
"error_params": [],
"request_id": "0123456789abcdef0123456789abcdef"
}
{
"status_code": 500,
"status": "Unexpected Internal Error",
"message": "An unexpected error occurred. Please try again later.",
"error_code": "internal_error",
"errors": [
"Check whether your change was saved before trying again."
],
"error_params": [],
"request_id": "0123456789abcdef0123456789abcdef"
}
Delete a Reservation Logistical Record #
|
Deletes a Logistical Record from an Asset reservation.
Note: Inputs that do not apply to this operation, including the ignore-empty option, are ignored and reported in the X-API-Warnings response header.
| Name | Type | Required? | Description | Details |
|---|---|---|---|---|
| id | Number | Yes |
The ID of the Logistical Record.
|
|
| expected_revision | String | No |
The record_revision from the reservation's Info response. Include it to delete the record only if that reservation and its Logistical Records are unchanged since your read. Omit it to skip this check.
|
Good to know
Permanently removes one Logistical Record from the selected Asset reservation. It removes only that milestone; the reservation and its other records remain.
Before changing a record
Your workspace needs the Logistical Records feature and permission to edit the selected reservation. ExhibitDay checks the reservation, its Asset and its Event automatically. Hidden or locked Event content cannot be changed.
Owning the physical Asset does not grant access to another workspace’s Event information. Manual Collateral inventory adjustments use separate methods.
Removing the record
- Use the Logistical Record ID as
idto select the entry. - Send the DELETE request with the API key in the
Authorization: Bearerheader.
Deleting only if nothing changed
The revision checks the whole reservation and all its Logistical Records, including other records on it. A covered value that differs from your earlier read returns HTTP 409 with error_code=record_changed and deletes nothing. Retrieve the reservation again and review its current values before deciding whether to retry.
Blank, null, malformed or conflicting revision values return HTTP 400 with error_code=invalid_request. Omit expected_revision to delete without this check. A successful deletion includes the reservation’s new record_revision only if you supplied expected_revision.
- Retrieve the Logistical Record by
idto find its currentasset_type_idandreservation_id. Retrieve GET /v1/assets/reservations/info with that reservation_id asid, its asset_type_id and$include_record_revision=true. - Send the returned reservation
record_revisionasexpected_revisionin this DELETE request.
Retrying a deletion
This method ignores Idempotency-Key.
If the result is uncertain, retrieve the reservation’s current Logistical Records before deciding whether to retry. A concurrent-change refusal returns HTTP 409 with error_code=record_changed and changes nothing.
What stays unchanged
This action leaves reservation dates, quantities, availability, related-item links and files unchanged. It sends no notifications.
A confirmed change is added to history. A history-writing failure does not undo the saved change. If the save outcome cannot be confirmed, retrieve the current records before deciding whether to retry. The API does not automatically repeat the action.
Hidden or locked Assets tab
If the reservation's Event is in your workspace and its Assets tab is hidden or locked, this request returns HTTP 400 (not_allowed), and the message names the tab. Show or unlock the tab in ExhibitDay first.
curl -X DELETE "https://api.exhibitday.com/v1/assets/reservation_logistical_records?id=12345" -H "Authorization: Bearer YOUR_API_KEY"
const response = await fetch("https://api.exhibitday.com/v1/assets/reservation_logistical_records?" + new URLSearchParams({ "id": "12345" }), {
method: "DELETE",
headers: { "Authorization": "Bearer YOUR_API_KEY" }
});
const data = await response.json();
console.log(response.status, data);
import requests
response = requests.delete(
"https://api.exhibitday.com/v1/assets/reservation_logistical_records",
headers={"Authorization": "Bearer YOUR_API_KEY"},
params={"id": 12345},
)
print(response.status_code, response.json())
using System;
using System.Net.Http;
using System.Net.Http.Headers;
using var client = new HttpClient();
client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", "YOUR_API_KEY");
var response = await client.DeleteAsync("https://api.exhibitday.com/v1/assets/reservation_logistical_records?id=12345");
Console.WriteLine($"{(int)response.StatusCode} {await response.Content.ReadAsStringAsync()}");
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
public class ExhibitDayExample {
public static void main(String[] args) throws Exception {
HttpClient client = HttpClient.newHttpClient();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api.exhibitday.com/v1/assets/reservation_logistical_records?id=12345"))
.header("Authorization", "Bearer YOUR_API_KEY")
.method("DELETE", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.statusCode() + " " + response.body());
}
}
<?php
$curl = curl_init('https://api.exhibitday.com/v1/assets/reservation_logistical_records?id=12345');
curl_setopt_array($curl, [
CURLOPT_CUSTOMREQUEST => 'DELETE',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ['Authorization: Bearer YOUR_API_KEY'],
]);
$response = curl_exec($curl);
if ($response === false) {
throw new RuntimeException(curl_error($curl));
}
echo curl_getinfo($curl, CURLINFO_HTTP_CODE) . PHP_EOL . $response;
curl_close($curl);
require 'net/http'
require 'uri'
uri = URI('https://api.exhibitday.com/v1/assets/reservation_logistical_records?id=12345')
request = Net::HTTP::Delete.new(uri)
request['Authorization'] = 'Bearer YOUR_API_KEY'
response = Net::HTTP.start(uri.hostname, uri.port, use_ssl: uri.scheme == 'https') do |http|
http.request(request)
end
puts "#{response.code} #{response.body}"
package main
import (
"fmt"
"io"
"log"
"net/http"
)
func main() {
request, err := http.NewRequest("DELETE", "https://api.exhibitday.com/v1/assets/reservation_logistical_records?id=12345", nil)
if err != nil { log.Fatal(err) }
request.Header.Set("Authorization", "Bearer YOUR_API_KEY")
response, err := (&http.Client{}).Do(request)
if err != nil { log.Fatal(err) }
defer response.Body.Close()
body, err := io.ReadAll(response.Body)
if err != nil { log.Fatal(err) }
fmt.Printf("%d %s\n", response.StatusCode, body)
}
Example response
{
"status_code": 200,
"status": "OK",
"message": "Logistical Record removed.",
"errors": []
}
{
"status_code": 400,
"status": "Bad Request",
"message": "HTTP method override is not supported.",
"error_code": "invalid_request",
"errors": [
"Send the documented HTTP method directly. X-HTTP-Method-Override cannot change a request's HTTP method."
],
"error_params": [
"X-HTTP-Method-Override"
],
"request_id": "0123456789abcdef0123456789abcdef"
}
{
"status_code": 400,
"status": "Bad Request",
"message": "The Assets tab is hidden on this Event, so its records can't be added, changed or deleted. Show the tab in ExhibitDay before trying again.",
"error_code": "not_allowed",
"errors": [
"The Assets tab is hidden on this Event, so its records can't be added, changed or deleted. Show the tab in ExhibitDay before trying again."
],
"error_params": [
"event_id"
],
"request_id": "0123456789abcdef0123456789abcdef"
}
{
"status_code": 401,
"status": "Unauthorized",
"message": "No API key was provided. Send your key in the Authorization header as 'Bearer YOUR_API_KEY'. Alternatively, you can use the api_key parameter.",
"error_code": "missing_api_key",
"errors": [
"Copy the key from Workspace Settings > API & Integrations > API Access in ExhibitDay."
],
"error_params": [
"api_key"
],
"request_id": "0123456789abcdef0123456789abcdef"
}
{
"status_code": 401,
"status": "Unauthorized",
"message": "The API key is not valid. Check that you copied the whole key from Workspace Settings > API & Integrations > API Access, then send it in the Authorization header as 'Bearer YOUR_API_KEY'. Alternatively, you can use the api_key parameter.",
"error_code": "invalid_api_key",
"errors": [
"Check that you sent the whole key. If it was regenerated, use the current key from Workspace Settings > API & Integrations > API Access."
],
"error_params": [
"api_key"
],
"request_id": "0123456789abcdef0123456789abcdef"
}
{
"status_code": 401,
"status": "Unauthorized",
"message": "Access to the ExhibitDay API is not enabled for your workspace. Please contact support@exhibitday.com to enable API Access. Once access is enabled, send your key in the Authorization header as 'Bearer YOUR_API_KEY'.",
"error_code": "api_access_disabled",
"errors": [
"Nothing was read or changed."
],
"error_params": [
"api_key"
],
"request_id": "0123456789abcdef0123456789abcdef"
}
{
"status_code": 404,
"status": "Not Found",
"message": "Logistical Record not found. Invalid Logistical Record ID: 12345.",
"error_code": "not_found",
"errors": [
"Logistical Record not found. Invalid Logistical Record ID: 12345."
],
"error_params": [
"id"
],
"request_id": "0123456789abcdef0123456789abcdef"
}
{
"status_code": 409,
"status": "Conflict",
"message": "This reservation changed since you read it; nothing was changed.",
"error_code": "record_changed",
"errors": [
"This reservation changed since you read it; nothing was changed."
],
"error_params": [
"expected_revision"
],
"request_id": "0123456789abcdef0123456789abcdef"
}
{
"status_code": 409,
"status": "Conflict",
"message": "This reservation changed while being saved. Read its current state before retrying; nothing was changed.",
"error_code": "record_changed",
"errors": [
"This reservation changed while being saved. Read its current state before retrying; nothing was changed."
],
"error_params": [],
"request_id": "0123456789abcdef0123456789abcdef"
}
{
"status_code": 429,
"status": "Too Many Requests",
"message": "Error 429 - Too Many Requests",
"error_code": "rate_limited",
"errors": [
"Error 429 - Too Many Requests"
],
"error_params": [],
"request_id": "0123456789abcdef0123456789abcdef"
}
{
"status_code": 500,
"status": "Unexpected Internal Error",
"message": "An unexpected error occurred. Please try again later.",
"error_code": "internal_error",
"errors": [
"An unexpected error occurred. Please try again later."
],
"error_params": [],
"request_id": "0123456789abcdef0123456789abcdef"
}
{
"status_code": 500,
"status": "Unexpected Internal Error",
"message": "An unexpected error occurred. Please try again later.",
"error_code": "internal_error",
"errors": [
"Check whether your change was saved before trying again."
],
"error_params": [],
"request_id": "0123456789abcdef0123456789abcdef"
}