example-data.com
Menu
Browse docs and collections

Overview

showings / #179

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 179,
  "listingId": 66,
  "prospectUserId": 223,
  "scheduledAt": "2024-12-29T23:31:46.108Z",
  "status": "completed",
  "notes": "Subvenio totus tot accedo damno nisi crebro.",
  "createdAt": "2024-12-25T06:07:23.018Z"
}