example-data.com
Menu
Browse docs and collections

Overview

itineraries / #99

Luxury Tour

userId
Jensen Bashirian @jensen_bashirian
title
Luxury Tour
slug
luxury-tour-99
description
Inflammatio virgo ceno tabella. Bene ocer at ambitus patruus adiuvo tollo terra.
startDate
2027-04-18
endDate
2027-04-25
destinationSlugs
toronto-15 hackettville-30
createdAt
updatedAt

Component variants

Related

Request

curl example

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

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/itineraries/99"
);
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/99"
);
const itinerary = (await res.json()) as Itinerary;

Python example

import requests

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

Response

{
  "id": 99,
  "userId": 29,
  "title": "Luxury Tour",
  "slug": "luxury-tour-99",
  "description": "Inflammatio virgo ceno tabella. Bene ocer at ambitus patruus adiuvo tollo terra.",
  "startDate": "2027-04-18",
  "endDate": "2027-04-25",
  "destinationSlugs": [
    "toronto-15",
    "hackettville-30"
  ],
  "createdAt": "2026-01-05T02:46:00.262Z",
  "updatedAt": "2026-01-17T03:34:23.278Z"
}