example-data.com
Menu
Browse docs and collections

Overview

itineraries / #37

Classic Getaway

userId
Antoinette Greenfelder @antoinette_greenfelder61
title
Classic Getaway
slug
classic-getaway-37
description
Quae accendo thesaurus.
startDate
2026-06-02
endDate
2026-06-19
destinationSlugs
rowlett-59 new-york-17 berlin-4 new-benmouth-44 north-richland-hills-73
createdAt
updatedAt

Component variants

Related

Request

curl example

curl -sS \
  "https://example-data.com/api/v1/itineraries/37" \
  -H "Accept: application/json"

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/itineraries/37"
);
const itinerary = await res.json();

TypeScript example

// Download once: mkdir -p types && curl -o types/itineraries.d.ts https://example-data.com/types/itineraries.d.ts
import type { Itinerary } from "./types/itineraries";

const res = await fetch(
  "https://example-data.com/api/v1/itineraries/37"
);
const itinerary = (await res.json()) as Itinerary;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/itineraries/37"
)
itinerarie = res.json()

Response

{
  "id": 37,
  "userId": 22,
  "title": "Classic Getaway",
  "slug": "classic-getaway-37",
  "description": "Quae accendo thesaurus.",
  "startDate": "2026-06-02",
  "endDate": "2026-06-19",
  "destinationSlugs": [
    "rowlett-59",
    "new-york-17",
    "berlin-4",
    "new-benmouth-44",
    "north-richland-hills-73"
  ],
  "createdAt": "2025-09-03T12:10:45.371Z",
  "updatedAt": "2026-01-27T21:56:54.128Z"
}