example-data.com
Menu
Browse docs and collections

Overview

itineraries / #40

Weekend Escape

userId
Rubye Emmerich @rubye.emmerich
title
Weekend Escape
slug
weekend-escape-40
description
Capitulus thema aer. Vere sufficio deporto aptus.
startDate
2026-06-18
endDate
2026-06-22
destinationSlugs
vienna-28 andersonton-62 bangkok-23 lake-deon-71 raleighbury-47
createdAt
updatedAt

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 40,
  "userId": 225,
  "title": "Weekend Escape",
  "slug": "weekend-escape-40",
  "description": "Capitulus thema aer. Vere sufficio deporto aptus.",
  "startDate": "2026-06-18",
  "endDate": "2026-06-22",
  "destinationSlugs": [
    "vienna-28",
    "andersonton-62",
    "bangkok-23",
    "lake-deon-71",
    "raleighbury-47"
  ],
  "createdAt": "2024-10-02T02:46:14.744Z",
  "updatedAt": "2025-08-21T11:40:55.493Z"
}