Read Gingr reservations, owners, pets, check-ins, invoices and timeclock for your pet-care business.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Get the feeding information of one animal (food, amounts, schedule). Gingr: GET /api/v1/get_feeding_info.
Animal (pet) id.
Get the feeding information of one animal (food, amounts, schedule). Gingr: GET /api/v1/get_feeding_info.
| Argument | Type | Description |
|---|---|---|
| animal_id* | integer | Animal (pet) id. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"animal_id"
],
"properties": {
"animal_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Animal (pet) id.",
"exclusiveMinimum": 0
}
}
}Get the immunization (vaccination) records of one animal, with expiration dates. Gingr: GET /api/v1/get_animal_immunizations.
| Argument | Type | Description |
|---|---|---|
| animal_id* | integer | Animal (pet) id. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"animal_id"
],
"properties": {
"animal_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Animal (pet) id.",
"exclusiveMinimum": 0
}
}
}Get the medication information of one animal (medications, doses, schedule). Gingr: GET /api/v1/get_medication_info.
| Argument | Type | Description |
|---|---|---|
| animal_id* | integer | Animal (pet) id. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"animal_id"
],
"properties": {
"animal_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Animal (pet) id.",
"exclusiveMinimum": 0
}
}
}Get the summary of reservations for one date: number of check-ins, check-outs and overnights (the widget at the top of the Gingr dashboard). Gingr: GET /api/v1/reservation_widget_data.
| Argument | Type | Description |
|---|---|---|
| date* | string | The date (YYYY-MM-DD). |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"date"
],
"properties": {
"date": {
"type": "string",
"description": "The date (YYYY-MM-DD)."
}
}
}Get one owner (customer) record by exactly one of: owner id, one of their pets' id, one of their reservations' id, cell phone or email. Gingr: GET /api/v1/owner. Passwords and payment-card references are removed.
| Argument | Type | Description |
|---|---|---|
| string | Email address. | |
| phone | string | Cell phone number. |
| owner_id | integer | Owner id. |
| animal_id | integer | Find the owner of this animal (pet). |
| reservation_id | integer | Find the owner of this reservation. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"email": {
"type": "string",
"maxLength": 254,
"minLength": 3,
"description": "Email address."
},
"phone": {
"type": "string",
"maxLength": 40,
"minLength": 3,
"description": "Cell phone number."
},
"owner_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Owner id.",
"exclusiveMinimum": 0
},
"animal_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Find the owner of this animal (pet).",
"exclusiveMinimum": 0
},
"reservation_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Find the owner of this reservation.",
"exclusiveMinimum": 0
}
}
}Get the estimated cost of an existing (future) reservation. Gingr: GET /api/v1/existing_reservation_estimate.
| Argument | Type | Description |
|---|---|---|
| reservation_id* | integer | Reservation id. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"reservation_id"
],
"properties": {
"reservation_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Reservation id.",
"exclusiveMinimum": 0
}
}
}Get one subscription (membership package) by id. Gingr: GET /api/v1/get_subscription.
| Argument | Type | Description |
|---|---|---|
| subscription_id* | integer | Subscription id. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"subscription_id"
],
"properties": {
"subscription_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Subscription id.",
"exclusiveMinimum": 0
}
}
}Get staff timeclock records (clock-ins/outs, hours) at a location between two dates (at most 31 days apart). Gingr: GET /api/v1/timeclock_report.
| Argument | Type | Description |
|---|---|---|
| end_date* | string | Last day (YYYY-MM-DD). |
| user_ids | array | Only these Gingr user (staff) ids. |
| start_date* | string | First day (YYYY-MM-DD). |
| location_id* | integer | Location id (from gingr_list_locations). |
| include_deleted | boolean | true = include deleted records. |
| include_clocked_in | boolean | true = include staff still clocked in. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"start_date",
"end_date",
"location_id"
],
"properties": {
"end_date": {
"type": "string",
"description": "Last day (YYYY-MM-DD)."
},
"user_ids": {
"type": "array",
"items": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"maxItems": 100,
"description": "Only these Gingr user (staff) ids."
},
"start_date": {
"type": "string",
"description": "First day (YYYY-MM-DD)."
},
"location_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Location id (from gingr_list_locations).",
"exclusiveMinimum": 0
},
"include_deleted": {
"type": "boolean",
"description": "true = include deleted records."
},
"include_clocked_in": {
"type": "boolean",
"description": "true = include staff still clocked in."
}
}
}Get one point-of-sale transaction with its items and payment details (card numbers, processor references and auth codes are removed). Gingr: POST /api/v1/transaction.
| Argument | Type | Description |
|---|---|---|
| transaction_id* | integer | POS transaction id. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"transaction_id"
],
"properties": {
"transaction_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "POS transaction id.",
"exclusiveMinimum": 0
}
}
}Get the pets checking in and checking out today at a location, by reservation type, with owner/pet names, times, run and status (Gingr's Digital Whiteboard). Gingr: GET /api/v1/back_of_house.
| Argument | Type | Description |
|---|---|---|
| full_day | boolean | true (default) = every reservation checking in/out today; false = use mins_future. |
| type_ids* | array | Reservation type ids to include (from gingr_list_reservation_types). |
| location_id* | integer | Location id (from gingr_list_locations). |
| mins_future | integer | With full_day=false: only the next/last this many minutes. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"location_id",
"type_ids"
],
"properties": {
"full_day": {
"type": "boolean",
"description": "true (default) = every reservation checking in/out today; false = use mins_future."
},
"type_ids": {
"type": "array",
"items": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"maxItems": 50,
"minItems": 1,
"description": "Reservation type ids to include (from gingr_list_reservation_types)."
},
"location_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Location id (from gingr_list_locations).",
"exclusiveMinimum": 0
},
"mins_future": {
"type": "integer",
"maximum": 1440,
"minimum": 1,
"description": "With full_day=false: only the next/last this many minutes."
}
}
}List the reservations of one animal (pet), optionally only pending requests, current, future, past or wait-listed ones, by dates or types. Only the location the API user is logged into is included (Gingr). Gingr: POST /api/v1/reservations_by_animal.
| Argument | Type | Description |
|---|---|---|
| limit | integer | Return at most this many reservations (1-200, default 50). |
| to_date | string | Only reservations up to this date (YYYY-MM-DD). |
| animal_id* | integer | Animal (pet) id (from gingr_list_animals). |
| from_date | string | Only reservations from this date (YYYY-MM-DD). |
| animal_ids | array | Only these animal (pet) ids. |
| restrict_to | string | Only reservations in this state. |
| cancelled_only | boolean | true = only cancelled reservations. |
| completed_only | boolean | true = only completed reservations. |
List animals (pets) with species, breed, birthday, weight, owner and notes, optionally filtered by owner, exact name, species or breed. Paged. Gingr: GET /api/v1/animals (filters as params[<field>]).
| Argument | Type | Description |
|---|---|---|
| limit | integer | Records per page (1-200, default 50). |
| offset | integer | Skip this many records (paging; default 0). Use next_offset from the previous page. |
| breed_id | integer | Breed id (gingr_list_reference kind=breeds). |
| owner_id | integer | Only this owner's animals. |
| first_name | string | Exact pet name. |
| species_id | integer | Species id (gingr_list_reference kind=species). |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"limit": {
"type": "integer",
"maximum": 200,
"minimum": 1,
"description": "Records per page (1-200, default 50)."
},
"offset": {
"type": "integer",
"maximum": 1000000,
"minimum": 0,
"description": "Skip this many records (paging; default 0). Use next_offset from the previous page."
},
"breed_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Breed id (gingr_list_reference kind=breeds).",
"exclusiveMinimum": 0
},
"owner_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Only this owner's animals.",
"exclusiveMinimum": 0
},
"first_name": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Exact pet name."
},
"species_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Species id (gingr_list_reference kind=species).",
"exclusiveMinimum": 0
}
}
}List the reservations that were cancelled between two dates (at most 31 days apart). Paged. Gingr: POST /api/v1/recently_cancelled_reservations.
| Argument | Type | Description |
|---|---|---|
| limit | integer | Records per page (1-200, default 50). |
| offset | integer | Skip this many records (paging; default 0). Use next_offset from the previous page. |
| end_date* | string | Last day of cancellation (YYYY-MM-DD). |
| start_date* | string | First day of cancellation (YYYY-MM-DD). |
| location_id | integer | Location id (from gingr_list_locations). |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"start_date",
"end_date"
],
"properties": {
"limit": {
"type": "integer",
"maximum": 200,
"minimum": 1,
"description": "Records per page (1-200, default 50)."
},
"offset": {
"type": "integer",
"maximum": 1000000,
"minimum": 0,
"description": "Skip this many records (paging; default 0). Use next_offset from the previous page."
},
"end_date": {
"type": "string",
"description": "Last day of cancellation (YYYY-MM-DD)."
},
"start_date": {
"type": "string",
"description": "First day of cancellation (YYYY-MM-DD)."
},
"location_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Location id (from gingr_list_locations).",
"exclusiveMinimum": 0
}
}
}List the reservations that are checked in right now (the pets currently on site). Paged. Gingr: POST /api/v1/reservations (checked_in=true).
| Argument | Type | Description |
|---|---|---|
| limit | integer | Records per page (1-200, default 50). |
| offset | integer | Skip this many records (paging; default 0). Use next_offset from the previous page. |
| location_id | integer | Location id (from gingr_list_locations). |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"limit": {
"type": "integer",
"maximum": 200,
"minimum": 1,
"description": "Records per page (1-200, default 50)."
},
"offset": {
"type": "integer",
"maximum": 1000000,
"minimum": 0,
"description": "Skip this many records (paging; default 0). Use next_offset from the previous page."
},
"location_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Location id (from gingr_list_locations).",
"exclusiveMinimum": 0
}
}
}List invoices (complete=true) or estimates (complete=false, Gingr's default) created on or after 2019-08-01, optionally closed only and by date range. Paged by Gingr: per_page + start (the 1-based number of the first result; the next page starts at start + per_page). Gingr: GET /api/v1/list_invoices.
| Argument | Type | Description |
|---|---|---|
| start | integer | 1-based number of the first result (default 1; page 2 of 25 = 26). |
| to_date | string | To date (YYYY-MM-DD). |
| complete | boolean | true = invoices; false (default) = estimates. |
| per_page | integer | Results per page (1-100, default 25). |
| from_date | string | From date (YYYY-MM-DD). |
| closed_only | boolean | true = only closed invoices. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"start": {
"type": "integer",
"maximum": 10000000,
"minimum": 1,
"description": "1-based number of the first result (default 1; page 2 of 25 = 26)."
},
"to_date": {
"type": "string",
"description": "To date (YYYY-MM-DD)."
},
"complete": {
"type": "boolean",
"description": "true = invoices; false (default) = estimates."
},
"per_page": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Results per page (1-100, default 25)."
},
"from_date": {
"type": "string",
"description": "From date (YYYY-MM-DD)."
},
"closed_only": {
"type": "boolean",
"description": "true = only closed invoices."
}
}
}List the locations (facilities) of this Gingr app, as id (value) + name (label). Good first call: most other tools take a location_id. Gingr: GET /api/v1/get_locations.
No arguments.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
}List the owners (customers) created or modified between two dates (at most 366 days apart). Paged. Gingr: POST /api/v1/new_modified_owners.
| Argument | Type | Description |
|---|---|---|
| limit | integer | Records per page (1-200, default 50). |
| offset | integer | Skip this many records (paging; default 0). Use next_offset from the previous page. |
| end_date* | string | Last day (YYYY-MM-DD). |
| start_date* | string | First day (YYYY-MM-DD). |
| location_id | integer | Only owners whose home location is this location id. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"start_date",
"end_date"
],
"properties": {
"limit": {
"type": "integer",
"maximum": 200,
"minimum": 1,
"description": "Records per page (1-200, default 50)."
},
"offset": {
"type": "integer",
"maximum": 1000000,
"minimum": 0,
"description": "Skip this many records (paging; default 0). Use next_offset from the previous page."
},
"end_date": {
"type": "string",
"description": "Last day (YYYY-MM-DD)."
},
"start_date": {
"type": "string",
"description": "First day (YYYY-MM-DD)."
},
"location_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Only owners whose home location is this location id.",
"exclusiveMinimum": 0
}
}
}List the reservations of one owner (customer), optionally only pending requests, current, future, past or wait-listed ones, by dates, types or pets. Only the location the API user is logged into is included (Gingr). Gingr: POST /api/v1/reservations_by_owner.
| Argument | Type | Description |
|---|---|---|
| limit | integer | Return at most this many reservations (1-200, default 50). |
| to_date | string | Only reservations up to this date (YYYY-MM-DD). |
| owner_id* | integer | Owner id (from gingr_list_owners / gingr_get_owner). |
| from_date | string | Only reservations from this date (YYYY-MM-DD). |
| animal_ids | array | Only these animal (pet) ids. |
| restrict_to | string | Only reservations in this state. |
| cancelled_only | boolean | true = only cancelled reservations. |
| completed_only | boolean | true = only completed reservations. |
List owners (pet parents / customers) with contact details, balance and reservation counts, optionally filtered by exact first/last name, email, cell phone, ZIP or home location. Paged. Gingr: GET /api/v1/owners (filters as params[<field>]). Passwords and payment-card references are removed.
| Argument | Type | Description |
|---|---|---|
| zip | string | Exact ZIP / postal code. |
| string | Exact email address. | |
| limit | integer | Records per page (1-200, default 50). |
| offset | integer | Skip this many records (paging; default 0). Use next_offset from the previous page. |
| last_name | string | Exact last name. |
| cell_phone | string | Exact cell phone as stored in Gingr, e.g. (555) 555-5555. |
| first_name | string | Exact first name. |
| home_location | integer | Home location id. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"zip": {
"type": "string",
"maxLength": 20,
"minLength": 1,
"description": "Exact ZIP / postal code."
},
"email": {
"type": "string",
"maxLength": 254,
"minLength": 3,
"description": "Exact email address."
},
"limit": {
"type": "integer",
"maximum": 200,
"minimum": 1,
"description": "Records per page (1-200, default 50)."
},
"offset": {
"type": "integer",
"maximum": 1000000,
"minimum": 0,
"description": "Skip this many records (paging; default 0). Use next_offset from the previous page."
},
"last_name": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Exact last name."
},
"cell_phone": {
"type": "string",
"maxLength": 40,
"minLength": 3,
"description": "Exact cell phone as stored in Gingr, e.g. (555) 555-5555."
},
"first_name": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Exact first name."
},
"home_location": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Home location id.",
"exclusiveMinimum": 0
}
}
}List one kind of reference data of this Gingr app: species, breeds, temperaments, vets (veterinarians with details), retail_items (retail items for sale) or immunization_types (of one species; needs species_id). Paged. Gingr: GET /api/v1/get_species | get_breeds | get_temperaments | get_vets | get_all_retail_items | get_immunization_types.
| Argument | Type | Description |
|---|---|---|
| kind* | string | Which list to read. |
| limit | integer | Records per page (1-200, default 50). |
| offset | integer | Skip this many records (paging; default 0). Use next_offset from the previous page. |
| species_id | integer | Species id (needed for kind=immunization_types). |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"kind"
],
"properties": {
"kind": {
"enum": [
"species",
"breeds",
"temperaments",
"vets",
"retail_items",
"immunization_types"
],
"type": "string",
"description": "Which list to read."
},
"limit": {
"type": "integer",
"maximum": 200,
"minimum": 1,
"description": "Records per page (1-200, default 50)."
},
"offset": {
"type": "integer",
"maximum": 1000000,
"minimum": 0,
"description": "Skip this many records (paging; default 0). Use next_offset from the previous page."
},
"species_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Species id (needed for kind=immunization_types).",
"exclusiveMinimum": 0
}
}
}List recently uploaded report card files (photos and videos shared with pet parents), newest first. Gingr: GET /api/v1/report_card_files.
| Argument | Type | Description |
|---|---|---|
| limit | integer | Return at most this many files (1-200, default 50). |
| location_id | integer | Location id (from gingr_list_locations). |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"limit": {
"type": "integer",
"maximum": 200,
"minimum": 1,
"description": "Return at most this many files (1-200, default 50)."
},
"location_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Location id (from gingr_list_locations).",
"exclusiveMinimum": 0
}
}
}List the reservation types (services such as boarding, daycare, grooming, training) with their ids. Use the ids to filter reservations or to read a type's add-on services. Gingr: GET /api/v1/reservation_types.
| Argument | Type | Description |
|---|---|---|
| id | integer | Only this reservation type id. |
| active_only | boolean | true = only active reservation types. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Only this reservation type id.",
"exclusiveMinimum": 0
},
"active_only": {
"type": "boolean",
"description": "true = only active reservation types."
}
}
}List all reservations (boarding, daycare, grooming, training…) between two dates, at most 30 days apart (Gingr's limit). Paged: total, next_offset, items. Gingr: POST /api/v1/reservations (checked_in=false).
| Argument | Type | Description |
|---|---|---|
| limit | integer | Records per page (1-200, default 50). |
| offset | integer | Skip this many records (paging; default 0). Use next_offset from the previous page. |
| end_date* | string | Last day (YYYY-MM-DD), at most 30 days after start_date. |
| start_date* | string | First day (YYYY-MM-DD). |
| location_id | integer | Location id (from gingr_list_locations). |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"start_date",
"end_date"
],
"properties": {
"limit": {
"type": "integer",
"maximum": 200,
"minimum": 1,
"description": "Records per page (1-200, default 50)."
},
"offset": {
"type": "integer",
"maximum": 1000000,
"minimum": 0,
"description": "Skip this many records (paging; default 0). Use next_offset from the previous page."
},
"end_date": {
"type": "string",
"description": "Last day (YYYY-MM-DD), at most 30 days after start_date."
},
"start_date": {
"type": "string",
"description": "First day (YYYY-MM-DD)."
},
"location_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Location id (from gingr_list_locations).",
"exclusiveMinimum": 0
}
}
}List the additional services (add-ons) allowed for a reservation type, e.g. baths or nail trims on a boarding stay. Gingr: GET /api/v1/get_services_by_type.
| Argument | Type | Description |
|---|---|---|
| type_id* | integer | Reservation type id (from gingr_list_reservation_types). |
| location_id | integer | Location id (from gingr_list_locations). |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"type_id"
],
"properties": {
"type_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Reservation type id (from gingr_list_reservation_types).",
"exclusiveMinimum": 0
},
"location_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Location id (from gingr_list_locations).",
"exclusiveMinimum": 0
}
}
}List recurring subscriptions (membership packages), optionally of one owner, location or package, by billing day, including cancelled ones if asked. Paged by Gingr (limit + offset). Gingr: GET /api/v1/get_subscriptions.
| Argument | Type | Description |
|---|---|---|
| limit | integer | Records per page (1-100, default 50). |
| offset | integer | Skip this many records (paging; default 0). Use next_offset from the previous page. |
| owner_id | integer | Only this owner's subscriptions. |
| package_id | integer | Only this package. |
| location_id | integer | Location id (from gingr_list_locations). |
| include_deleted | boolean | true = include cancelled/deleted subscriptions. |
| bill_day_of_month | integer | Only subscriptions renewing on this day of the month. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"limit": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Records per page (1-100, default 50)."
},
"offset": {
"type": "integer",
"maximum": 1000000,
"minimum": 0,
"description": "Skip this many records (paging; default 0). Use next_offset from the previous page."
},
"owner_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Only this owner's subscriptions.",
"exclusiveMinimum": 0
},
"package_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Only this package.",
"exclusiveMinimum": 0
},
"location_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Location id (from gingr_list_locations).",
"exclusiveMinimum": 0
},
"include_deleted": {
"type": "boolean",
"description": "true = include cancelled/deleted subscriptions."
},
"bill_day_of_month": {
"type": "integer",
"maximum": 31,
"minimum": 1,
"description": "Only subscriptions renewing on this day of the month."
}
}
}| confirmed_only |
| boolean |
| true = only confirmed reservations. |
| reservation_type_ids | array | Only these reservation type ids (from gingr_list_reservation_types). |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"animal_id"
],
"properties": {
"limit": {
"type": "integer",
"maximum": 200,
"minimum": 1,
"description": "Return at most this many reservations (1-200, default 50)."
},
"to_date": {
"type": "string",
"description": "Only reservations up to this date (YYYY-MM-DD)."
},
"animal_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Animal (pet) id (from gingr_list_animals).",
"exclusiveMinimum": 0
},
"from_date": {
"type": "string",
"description": "Only reservations from this date (YYYY-MM-DD)."
},
"animal_ids": {
"type": "array",
"items": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"maxItems": 50,
"description": "Only these animal (pet) ids."
},
"restrict_to": {
"enum": [
"pending_requests",
"currently_checked_in",
"future",
"past",
"wait_listed"
],
"type": "string",
"description": "Only reservations in this state."
},
"cancelled_only": {
"type": "boolean",
"description": "true = only cancelled reservations."
},
"completed_only": {
"type": "boolean",
"description": "true = only completed reservations."
},
"confirmed_only": {
"type": "boolean",
"description": "true = only confirmed reservations."
},
"reservation_type_ids": {
"type": "array",
"items": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"maxItems": 50,
"description": "Only these reservation type ids (from gingr_list_reservation_types)."
}
}
}| confirmed_only |
| boolean |
| true = only confirmed reservations. |
| reservation_type_ids | array | Only these reservation type ids (from gingr_list_reservation_types). |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"owner_id"
],
"properties": {
"limit": {
"type": "integer",
"maximum": 200,
"minimum": 1,
"description": "Return at most this many reservations (1-200, default 50)."
},
"to_date": {
"type": "string",
"description": "Only reservations up to this date (YYYY-MM-DD)."
},
"owner_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Owner id (from gingr_list_owners / gingr_get_owner).",
"exclusiveMinimum": 0
},
"from_date": {
"type": "string",
"description": "Only reservations from this date (YYYY-MM-DD)."
},
"animal_ids": {
"type": "array",
"items": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"maxItems": 50,
"description": "Only these animal (pet) ids."
},
"restrict_to": {
"enum": [
"pending_requests",
"currently_checked_in",
"future",
"past",
"wait_listed"
],
"type": "string",
"description": "Only reservations in this state."
},
"cancelled_only": {
"type": "boolean",
"description": "true = only cancelled reservations."
},
"completed_only": {
"type": "boolean",
"description": "true = only completed reservations."
},
"confirmed_only": {
"type": "boolean",
"description": "true = only confirmed reservations."
},
"reservation_type_ids": {
"type": "array",
"items": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"maxItems": 50,
"description": "Only these reservation type ids (from gingr_list_reservation_types)."
}
}
}