example-data.com
Menu
Browse docs and collections

Overview

showings / #41

Component variants

Related

Request

curl example

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

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/showings/41"
);
const showing = await res.json();

TypeScript example

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

const res = await fetch(
  "https://example-data.com/api/v1/showings/41"
);
const showing = (await res.json()) as Showing;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/showings/41"
)
showing = res.json()

Response

{
  "id": 41,
  "listingId": 13,
  "prospectUserId": 129,
  "scheduledAt": "2025-04-21T04:38:37.889Z",
  "status": "scheduled",
  "notes": "Cuppedia corporis theologus curto subnecto triumphus.",
  "createdAt": "2025-04-19T17:19:48.514Z"
}