example-data.com
Menu
Browse docs and collections

Overview

showings / #209

Component variants

Related

Request

curl example

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

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/showings/209"
);
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/209"
);
const showing = (await res.json()) as Showing;

Python example

import requests

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

Response

{
  "id": 209,
  "listingId": 77,
  "prospectUserId": 136,
  "scheduledAt": "2025-02-12T06:37:58.506Z",
  "status": "completed",
  "notes": "Voco contego ascit.",
  "createdAt": "2025-01-20T00:17:15.617Z"
}