example-data.com
Menu
Browse docs and collections

Overview

showings / #339

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 339,
  "listingId": 124,
  "prospectUserId": 140,
  "scheduledAt": "2025-02-26T03:29:41.888Z",
  "status": "scheduled",
  "notes": "Subvenio creber sponte.",
  "createdAt": "2025-02-09T08:06:08.590Z"
}