example-data.com
Menu
Browse docs and collections

Overview

showings / #82

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 82,
  "listingId": 28,
  "prospectUserId": 208,
  "scheduledAt": "2024-07-22T20:16:36.913Z",
  "status": "scheduled",
  "notes": "Tum at dedecor timidus aequitas suscipio.",
  "createdAt": "2024-07-16T01:58:31.124Z"
}