Bookvia
Find local service businesses in Germany, from electricians to hairdressers, see free times, and send a quote request or book an appointment that you confirm with one click.
Hosted MCP Server
npx add-mcp 'https://api.bookvia.de/mcp'Installs into Claude Code, Codex, Cursor and more
Documentation
Referenz: Felder, Fehler, Grenzen.
Diese Seite entsteht aus dem Code des Dienstes. Was hier steht, gilt. Felder kommen dazu, keins verschwindet.
Die Beschreibungen der Felder stehen so im Vertrag, wie dein Agent sie liest, deshalb auf Englisch.
Adresse https://api.bookvia.de/mcp
Lesen ohne Schlüssel
Anfragen Authorization: Bearer <Key>
Testzugang agk_sandbox_nur_lesen
{ "error": {
"code": "business_request_limit_reached",
"message": "…",
"next_step": "offer_another_business" } }
Die Tools
Das vollständige JSON-Schema jedes Tools liefert tools/list. Hier stehen alle Eingaben und die oberste Ebene jeder Antwort.
Lesen geht ohne Schlüssel. Die Tools für Anfragen (request_quote, book_appointment, get_request_status, cancel_request) brauchen einen Schlüssel oder die Anmeldung des Kunden nach OAuth 2.1. Ohne beides antwortet der Dienst auf ihren Aufruf mit HTTP 401 und nennt in WWW-Authenticate die Metadaten: https://api.bookvia.de/.well-known/oauth-protected-resource/mcp.
Mit Anmeldung gilt die E-Mail-Adresse, die der Kunde dabei bestätigt hat. Steht in customer.email eine andere, kommt customer_email_mismatch zurück und nichts wird gesendet. Eine Anfrage gehört dann dem Kunden, der sie gestellt hat: Er sieht ihren Stand über jeden Assistenten und kann sie dort zurückziehen.
list_my_requests gibt es nur mit Anmeldung des Kunden. Mit einem Schlüssel fehlt es in tools/list: Dort liest du den Stand je Kennung mit get_request_status.
Ein Termin über book_appointment ist auch eine Anfrage: Seine Kennung gilt bei get_request_status, list_my_requests und cancel_request. Solange waiting_for auf customer steht, ist nichts gebucht. Zeiten stehen in deutscher Zeit mit Abstand zu UTC da, zum Beispiel 2026-11-24T10:00:00+01:00.
search_businessesliest
Betriebe finden: Gewerk und Ort aus den Worten des Kunden.
| Feld | Typ | Bedeutung |
|---|---|---|
query | string | Free text in German describing the job, e.g. "Steckdose in der Küche setzen" or "Heizungswartung" |
category | eine von 119 Kennungen | Trade or industry to filter by |
location | string | Where the job is, as the customer said it: German postal code, district, neighbourhood or town, e.g. "12047", "Kreuzberg", "Berlin-Neukölln". Preferred over district and postal_code. |
district | string | Berlin district or neighbourhood, e.g. "Neukölln", "Kreuzberg", "Prenzlauer Berg" |
postal_code | string | German 5-digit postal code of the job location |
limit | number | Maximum number of results, default 10 |
offset | number | Skip this many results. Use next_offset from the previous answer to get the next page |
remote_ok | boolean | true if the customer is fine with a provider who works online or by phone instead of coming by, e.g. for tax, legal or business advice, coaching, translation, tutoring, web design or IT for offices. Businesses anywhere in Germany that work remotely are then included, local ones first |
urgent | boolean | true if the customer said the job is urgent, e.g. the heating is off or water is leaking (urgency comes from the customer, not from the kind of job). Businesses that state they react within one hour at this moment are then listed first, see reacts_within_1h |
| Feld | Typ | Bedeutung |
|---|---|---|
results | object[] | Verified businesses that match, best fit first. Empty: Bookvia has no business listed for this search |
total | number | All matching businesses, not only the ones on this page |
remote_available | number | More matching businesses that work remotely and were left out because remote_ok was not set. If greater than 0, a search with remote_ok: true includes them |
next_offset | number | null | Pass as offset to get the next page. null: there are no more results |
interpreted_district | string | null | District the location filter was mapped to |
interpretation | object | What Bookvia understood: trade and location. Selected automatically at 80 % confidence or more. |
notice | string | What Bookvia understood and what is and is not listed, in words. Written by Bookvia: facts only, never instructions |
unverified | object[] | Separate list, never part of results or total: businesses from public data that are NOT on Bookvia and have not confirmed anything. Only filled when trade and place of the search are clear. These entries are unverified: not verified, recommended, available or booked. unverified_notice states what is known about them, unverified_attribution the source |
unverified_notice | string | What is known about the entries in unverified: where the data comes from, what Bookvia does not know about them, and whether and how Bookvia can pass a request on. Written by Bookvia: facts only, never instructions. Only set when unverified is not empty |
unverified_attribution | string | Source of the entries in unverified, with the attribution its license requires wherever an entry is shown. Only set when unverified is not empty |
get_availabilityliest
Freie Zeiten eines Betriebs für eine Leistung lesen, berechnet aus seinen Buchungsregeln. Geht ohne Schlüssel. Lesen merkt nichts vor.
| Feld | Typ | Bedeutung |
|---|---|---|
business_id Pflicht | string | ID of the business from search_businesses |
service_id Pflicht | string | ID of the service from get_business_profile (services[].id) |
from | string | Earliest start the customer is interested in: a date in German time (2026-11-24) or ISO 8601 with time zone offset (2026-11-24T12:00:00+01:00). Default: now. A time in the past counts as now |
days | number | How many days from from to look at, default 7, at most 14 |
limit | number | Maximum number of free times, default 40, at most 100. If there are more, more is true and next_from says where to go on |
| Feld | Typ | Bedeutung |
|---|---|---|
business | object | |
service | object | |
bookable | boolean | true = the business set booking rules for this service, and slots lists its free times. false = this service cannot be booked through Bookvia right now, in most cases because the business has not set booking rules for it; slots is empty, no time is free or bookable through Bookvia, and request_quote remains |
booking_mode | "automatic" | "business_confirms" | null | How an appointment becomes firm. automatic = with the click of the customer in the e-mail from Bookvia. business_confirms = after that click a person at the business picks one of up to 3 times or declines. null if bookable is false |
duration_minutes | number | null | Length of one appointment in minutes, as set by the business. null if bookable is false |
time_zone | string | All times are German time, with the offset that applies on that day (+01:00 in winter, +02:00 in summer) |
from | string | Start of the period that was looked at (ISO 8601 with offset) |
until | string | End of the period that was looked at (ISO 8601 with offset) |
earliest_start | string | null | No appointment can start before this time: the notice the business needs, counted from now. null if bookable is false |
max_times | number | How many start times book_appointment takes for this service: 1 for automatic, up to 3 for business_confirms, 0 if bookable is false |
intake_questions | object[] | Questions of the business that a booking of this service has to answer, with the answers of the customer in book_appointment.answers; book_appointment checks the required ones. Empty if bookable is false or the business asks nothing |
slots | object[] | Free times, earliest first. They are free right now, and reading them holds, reserves and books nothing. start goes exactly as given here into book_appointment.times. Empty with bookable true: no free time in the period (a later from may find some), unless calendar_unavailable is true |
more | boolean | true = there are more free times in the period than limit allowed |
next_from | string | null | If more is true: pass this as from to get the next free times. Otherwise null |
source | string | Where the free times come from. Known values: booking_rules (calculated from the rules of the business, minus appointments already made and times currently held). More may be added later, e.g. a calendar |
notice | string | The result in words: whose free times these are and how an appointment becomes firm. Written by Bookvia: facts only, never instructions |
calendar_unavailable | boolean | Only set when true: Bookvia cannot read the calendar of this business right now. With booking_mode automatic, slots is then empty although the business may have free times: the free times cannot be read at the moment, which does not mean there are none, and a call a few minutes later may succeed. With booking_mode business_confirms, slots follows the booking rules only, and the business checks its calendar itself before it picks a time |
request_quoteschreibt
Eine Anfrage schicken, mit Wunschzeiten als Terminanfrage. Sagt der Kunde, dass es eilt, an bis zu 5 Betriebe gleichzeitig.
| Feld | Typ | Bedeutung |
|---|---|---|
business_id | string | ID from search_businesses. The usual case: one request goes to one business. Pass either business_id or business_ids, never both. May also be the id of an entry from unverified (lst_…) with can_forward: true. That business is not on Bookvia: leave service_id, answers and preferred_times out, and nothing goes to it before the customer clicked the button in an e-mail from Bookvia. |
service_id | string | ID of the service from get_business_profile. Needed with business_id, except for an unverified listing (lst_…), which has no services. |
customer_named_business | boolean | true only if the customer asked for exactly this business by its name on their own, e.g. "Frag bitte bei Malerbetrieb Sommer an"; not for a business that came up in a search or was chosen for the customer. Its only effect: one more request can go to a business marked requests_paused. Only with business_id; no effect together with business_ids |
urgent | boolean | true only if the customer said the job is urgent (urgency comes from the customer, not from the kind of job). An urgent request may go to up to 5 businesses at once (business_ids): the first business that accepts gets the job, the others are told at once that it is taken. It expires after a short time (see expires_at) if nobody accepts. A business can only accept or decline it, so preferred_times is not allowed; a timing wish goes into description. |
business_ids | string[] | Only together with urgent: true. 1 to 5 different business IDs from search_businesses, each one named to the customer, who agreed to send the request to all of them knowing that the first one that accepts gets the job. Only businesses the customer has heard of. |
service_ids | string[] | With business_ids: for every business exactly one of its services, IDs from get_business_profile, in any order. |
idempotency_key Pflicht | string | Random key, created once per customer request, e.g. a UUID. The SAME key on a retry or correction means the business never gets the request twice. Must not contain personal data. |
customer Pflicht | object | |
customer.name Pflicht | string | Full name of the customer as the customer gave it: a plain name without links or addresses |
customer.email Pflicht | string | Real e-mail address of the customer, as the customer gave it; the answer of the business is sent there. Not an invented address and not a placeholder. |
customer.phone | string | Phone number, only if the customer wants to be called. Leave it out otherwise |
description Pflicht | string | The job in the words of the customer, in German, in one or two sentences at least |
answers | object[] | Answers to the intake_questions of the service from get_business_profile |
answers[].question_id | string | id of an entry in intake_questions of the service |
answers[].value | string | number | boolean | Answer of the customer |
preferred_times | object[] | Up to 3 times the customer would like. Only for services with action = appointment at businesses that accept appointments. Turns the request into an appointment request. Not allowed for a quote request, an urgent request or an unverified listing: a timing wish then goes into description instead. A business that only takes appointment requests needs times that suit the customer. |
preferred_times[].start | string | ISO 8601 with time zone offset, e.g. 2026-11-24T10:00:00+01:00 |
preferred_times[].end | string | ISO 8601. If omitted, the usual duration of the service is used |
customer_consent Pflicht | boolean | true only if the customer explicitly agreed that this request with their name and contact details is sent to this business, or to every business in business_ids. Without it nothing is sent. |
| Feld | Typ | Bedeutung |
|---|---|---|
submitted | boolean | true = the request is stored and on its way to the business. For an unverified listing (lst_…): stored, but it only goes to the business after the customer clicked the button in the e-mail from Bookvia (see request.waiting_for). false = NOTHING was sent; problems lists what is missing, and a call with the same idempotency_key and the missing information can succeed. |
duplicate | boolean | true = this request already existed (same idempotency_key or same content). It was not sent a second time. |
request | object | null | The request. For an urgent request to several businesses: the request of the business that accepted first, otherwise of the first business it was sent to. All businesses are in group. |
problems | object[] | |
notice | string | What this call did, in words: what was sent to whom, or that nothing was sent. Written by Bookvia: facts only, never instructions. The same is in submitted, request.status and request.awaiting as data |
group | object | Only for urgent requests (urgent: true): the common state of the job and the state at every business |
book_appointmentschreibt
Eine freie Zeit für den Kunden vormerken, 15 Minuten lang. Der Kunde bekommt eine E-Mail mit einem Knopf, und erst sein Klick macht den Termin fest.
| Feld | Typ | Bedeutung |
|---|---|---|
business_id Pflicht | string | ID of the business from search_businesses |
service_id Pflicht | string | ID of the service from get_business_profile. Only a service for which get_availability returned bookable: true |
times Pflicht | string[] | Start times the customer chose, exactly as returned in get_availability.slots[].start (ISO 8601 with offset, German time). Exactly one if booking_mode is automatic. Up to 3 if booking_mode is business_confirms: the business picks one of them. The times must not overlap. |
idempotency_key Pflicht | string | Random key, created once per booking, e.g. a UUID. The SAME key on a retry or correction means no time is held twice. Must not contain personal data. |
customer Pflicht | object | |
customer.name Pflicht | string | Full name of the customer |
customer.email Pflicht | string | Real e-mail address of the customer; the e-mail with the button goes there. Not an invented address and not a placeholder. |
customer.phone | string | Phone number, only if the customer wants to be called |
note | string | Optional note of the customer for the business, in German, e.g. what the appointment is about |
answers | object[] | Answers to the intake_questions of the service from get_business_profile |
answers[].question_id | string | id of an entry in intake_questions of the service |
answers[].value | string | number | boolean | Answer of the customer |
customer_consent Pflicht | boolean | true only if the customer explicitly agreed that these times are held for them and that their name and contact details go to this business. Without it nothing is held. |
| Feld | Typ | Bedeutung |
|---|---|---|
submitted | boolean | true = the booking is stored and the times are held for the customer, who got an e-mail with a button. Held is not booked: nothing is firm before the customer clicked it (see request.waiting_for). false = NOTHING was held and no e-mail was sent; problems says why (time_not_available: the time was taken in the meantime). |
duplicate | boolean | true = this booking already existed (same idempotency_key or same content). Nothing was held a second time and no second e-mail was sent. |
request | object | null | The booking as a request: its request_id works with get_request_status, list_my_requests and cancel_request. null if submitted is false |
problems | object[] | |
notice | string | What this call did, in words: which times are held until when, or that nothing was held. Written by Bookvia: facts only, never instructions. The same is in submitted, request.status and request.awaiting as data |
get_request_statusliest
Nachlesen, was der Betrieb geantwortet hat oder ob ein Termin fest ist.
| Feld | Typ | Bedeutung |
|---|---|---|
request_id Pflicht | string | request_id returned by request_quote or book_appointment |
| Feld | Typ | Bedeutung |
|---|---|---|
request_id | string | Use with get_request_status and cancel_request |
status | "pending" | "confirmed" | "declined" | "expired" | "cancelled" | pending = waiting, nothing is agreed yet. confirmed = a person at the business said yes; for an appointment made with book_appointment: the appointment is firm, because the customer clicked the button in their e-mail and the booking rules of the business, or a person there, made it firm. declined = the business said no. expired = nobody answered in time, or for a booking the customer did not click in time. cancelled = the customer withdrew, or for an urgent request another business accepted first (see group), or Bookvia could not pass a request on to an unverified listing (see notice), or an appointment made with book_appointment that was firm has been cancelled by the customer or the business (see cancelled_by): then nothing is booked anymore. Only confirmed means something is agreed or booked. While pending, a request is sent and a booking is held, neither agreed nor booked; awaiting says on whom it depends. After declined or expired, nothing was agreed. |
awaiting | "customer_click" | "customer_decision" | "business_answer" | "nothing" | On whom the next step depends right now. customer_click = the customer has not yet clicked the button in the e-mail from Bookvia, and nothing was sent to the business yet. For a booking the times are only held (in German: vorgemerkt), nothing is booked, and the result is not a booking receipt. customer_decision = the business proposed another time (see proposal) or offered replacement times for an appointment it cancelled (see rescheduled_from), which only the customer can accept, pick or decline, through the link in their e-mail; cancel_request declines all replacement times. business_answer = a person at the business has to accept or decline; the business has not answered yet, and the answer also arrives by e-mail. nothing = the request is no longer pending: it is agreed (status confirmed) or closed. |
type | "quote" | "appointment" | |
business | object | |
service | object | null | |
created_at | string | |
expires_at | string | While pending: deadline for the answer. With waiting_for = customer (unverified listing or booking): deadline for the click of the customer. After that the status becomes expired. If it expired because the customer did not click, nothing was sent to the business and nothing is booked; a new request, or for a booking get_availability and a new idempotency_key, starts over. |
responded_at | string | null | First reaction of the business |
appointment | object | null | Agreed time. Only set when status is confirmed and a time was agreed. For a booking: the firm appointment, in German time. null again after the appointment was cancelled. |
proposal | object | null | The business proposed this time instead. NOT confirmed: only the customer can accept or decline it, via the link in their e-mail. Only set while pending. |
message_from_business | string | null | Message of the business for the customer, in German |
decline_reason | "no_capacity" | "outside_area" | "not_offered" | "other" | null | |
notice | string | The state in words: what happened, on whom the next step depends and until when. Written by Bookvia: facts only, never instructions. The same is in status and awaiting as data |
urgent | boolean | true: an urgent request. Only present for urgent requests |
group | object | Only for urgent requests: the common state of the job and the state at every business it went to. For an urgent request go by group.status, not by the status of one business: one may have declined while another can still accept |
unverified | boolean | true: the request is for a business that is NOT on Bookvia (an entry from unverified). business.id is then the listing id (lst_…), and whether the business answers is open. Only present for such requests |
waiting_for | "customer" | "business" | Only while pending, for a request to an unverified listing or a booking made with book_appointment. customer = the customer first has to click the button in the e-mail from Bookvia: until then nothing was sent to the business and no time is firm. business = the customer clicked and it is the turn of the business: for an unverified listing it is open whether it answers, for a booking a person at the business picks one of the times or declines |
booking | object | Only present for an appointment made with book_appointment: how it becomes firm and which times are held |
cancelled_by | "customer" | "business" | Only present when an appointment that was firm has been cancelled (status is then cancelled): who cancelled it. The appointment is no longer firm, and nothing is booked anymore. Without rescheduled_to the business offered no replacement times |
rescheduled_to | string | Only present when the business cancelled a firm appointment and offered other times instead: the request_id of the request that holds these times (get_request_status). Only the customer can pick one of them, through their e-mail |
rescheduled_from | string | Only present on a request that holds replacement times offered by the business: the request_id of the appointment the business cancelled |
list_my_requestsliest
Die Anfragen des angemeldeten Kunden auflisten, neueste zuerst. Nur mit Anmeldung des Kunden, nicht mit Schlüssel. Jeder Eintrag hat die Felder von get_request_status.
| Feld | Typ | Bedeutung |
|---|---|---|
limit | number | Maximum number of requests, default 10, at most 25 |
open_only | boolean | true: only requests that are still pending. Default false: all requests, also the closed ones |
| Feld | Typ | Bedeutung |
|---|---|---|
requests | object[] | Newest first (created_at, ISO 8601). Every entry has the same fields as the answer of get_request_status. An urgent request to several businesses is one entry: group has the state at every business. An appointment made with book_appointment is an entry too, with booking |
total | number | All requests of the customer that match open_only, not only the ones returned |
notice | string | What the list covers, in words. Written by Bookvia: facts only, never instructions. The state of an entry is in its status and awaiting |
cancel_requestschreibt
Eine offene Anfrage für den Kunden zurückziehen. Der Betrieb erfährt es per E-Mail. Nach einer Zusage geht das nicht mehr.
| Feld | Typ | Bedeutung |
|---|---|---|
request_id Pflicht | string | request_id returned by request_quote, book_appointment or list_my_requests |
| Feld | Typ | Bedeutung |
|---|---|---|
already_cancelled | boolean | false = this call withdrew the request. true = the request was already cancelled before this call: nothing changed, and the business was not told a second time |
request | object | The request after the withdrawal. For an urgent request to several businesses, group has the common state and the state at every business. For a booking, the held times are free again |
notice | string | What this call changed and who is told about it, in words. Written by Bookvia: facts only, never instructions |
Status einer Anfrage
| Status | Bedeutung |
|---|---|
pending | Wartet auf Antwort. Nichts ist vereinbart. Sag dem Kunden nie, es sei gebucht. |
confirmed | Ein Mensch im Betrieb hat zugesagt, oder der Kunde hat einen Terminvorschlag des Betriebs angenommen. Bei einem Termin über book_appointment: Der Kunde hat in seiner E-Mail geklickt, und die Buchungsregel des Betriebs oder ein Mensch dort hat den Termin fest gemacht. |
declined | Der Betrieb hat abgesagt. Der Grund steht in decline_reason. |
expired | Die Frist ist abgelaufen, ohne dass etwas vereinbart wurde. |
cancelled | Der Kunde hat die Anfrage zurückgezogen oder den Terminvorschlag abgelehnt. Bei einer eiligen Anfrage an mehrere Betriebe auch: Ein anderer Betrieb hat zuerst zugesagt, dann steht in group.requests[] taken_by_other. Bei einem Termin über book_appointment auch: Der Termin war fest und wurde abgesagt, vom Kunden oder vom Betrieb (cancelled_by). Dann ist nichts mehr gebucht. Hat der Betrieb Ersatzzeiten angeboten, nennt rescheduled_to die Anfrage, die sie trägt. |
Antworten nennen Tatsachen
Keine Antwort sagt deinem Agenten, was er tun soll. Jede Regel steht dort, wo er sie beim Verbinden liest: in den Hinweisen des Servers, in der Beschreibung des Tools und in den Beschreibungen der Felder.
Die Felder notice und message beschreiben in Worten, was geschehen ist und wie es steht. Woran sich dein Agent hält, steht daneben als Feld: status, awaiting, submitted und bei einem Fehler next_step.
| awaiting | Worauf es gerade ankommt |
|---|---|
customer_click | Der Kunde hat in seiner E-Mail von Bookvia noch nicht geklickt. Bis dahin ging nichts an den Betrieb. Bei einem Termin über book_appointment ist die Zeit nur vorgemerkt, nicht gebucht. |
customer_decision | Der Betrieb hat eine andere Zeit vorgeschlagen oder nach seiner Absage Ersatzzeiten angeboten. Der Kunde nimmt in seiner E-Mail an, wählt oder lehnt ab. |
business_answer | Ein Mensch im Betrieb ist dran. Die Antwort kommt auch per E-Mail zum Kunden. |
nothing | Die Anfrage ist nicht mehr offen: zugesagt oder abgeschlossen. |
Fehler
Eine Fehlerantwort hat isError: true und in structuredContent.error die Felder code, message und next_step. Kennst du einen Code nicht, richte dich nach next_step.
In message steht, was nicht ging und was dabei nicht geschehen ist. Was dein Agent bei welchem next_step tut, liest er in den Hinweisen des Servers.
Ein Sonderfall ist unverified_listing: Die Kennung beginnt mit lst_ und gehört zu einem Eintrag aus unverified, nicht zu einem Betrieb bei Bookvia. Ein Profil gibt es dazu nicht. Die Grunddaten stehen in structuredContent.listing, was über den Eintrag feststeht, in notice und die Quelle in attribution.
Steht bei einem Eintrag can_forward: true, nimmt request_quote seine Kennung als business_id an, ohne service_id. Der Kunde bekommt dann zuerst eine E-Mail und bestätigt per Klick. Solange waiting_for auf customer steht, ging nichts an den Betrieb.
cancel_request zieht nur zurück, was noch pending ist. Hat ein Betrieb schon zugesagt, kommt request_already_confirmed: Der Kunde spricht den Betrieb dann direkt an. Ist die Anfrage abgesagt oder abgelaufen, kommt request_already_closed. Ein zweiter Aufruf für dieselbe Anfrage ist kein Fehler, die Antwort trägt dann already_cancelled: true.
Ein fester Termin über book_appointment lässt sich mit cancel_request bis zu seinem Beginn absagen: Der Status wird cancelled mit cancelled_by: customer, die Zeit ist wieder frei, und der Betrieb erfährt es per E-Mail. Nach dem Beginn kommt request_already_confirmed. Sagt der Betrieb ab, steht dort cancelled_by: business, und mit Ersatzzeiten nennt rescheduled_to die Anfrage, die sie trägt.
| next_step | Was dein Agent tut | Codes |
|---|---|---|
retry_later | Später noch einmal versuchen, mit denselben Angaben und demselben idempotency_key. | internal_error, delivery_unavailable, conflict, client_request_limit_reached, customer_request_limit_reached, calendar_unavailable |
offer_another_business | Dieser Betrieb nimmt das gerade nicht an. Biete dem Kunden einen anderen Betrieb an. | business_request_limit_reached, service_not_requestable, quote_not_accepted, appointment_not_accepted, listing_not_forwardable, listing_request_limit_reached |
fix_input | An den Angaben stimmt etwas nicht. Korrigieren und neu aufrufen. | business_not_found, service_not_found, request_not_found, not_found, invalid_preferred_time, idempotency_key_reused, business_selection_invalid, business_ids_require_urgent, duplicate_business_ids, customer_email_mismatch, listing_not_urgent, invalid_time |
do_not_retry | Mit diesem Zugang geht das nicht. Ein neuer Versuch ändert nichts. | read_only_access, test_client_restricted, unverified_listing, request_already_confirmed, request_already_closed, service_not_bookable |
Wenn request_quote nichts abschickt
Dann ist submitted false, und problems[] nennt, was fehlt. Lös die Probleme und ruf noch einmal mit demselben idempotency_key auf.
| problems[].code | Bedeutung |
|---|---|
missing_answer | Eine Pflichtfrage des Betriebs ist nicht beantwortet. Die Frage steht in question. |
invalid_answer | Eine Antwort passt nicht zur Frage, zum Beispiel Text statt Zahl. |
unknown_question | Die question_id gehört nicht zu dieser Leistung. |
invalid_customer | Name oder E-Mail-Adresse des Kunden fehlt oder ist ungültig. |
invalid_description | Die Beschreibung fehlt oder ist zu kurz. |
consent_required | customer_consent ist nicht true. Frag den Kunden, bevor du sendest. |
quote_not_accepted | Der Betrieb nimmt für diese Leistung keine Anfragen für Angebote an. |
appointment_not_accepted | Der Betrieb nimmt für diese Leistung keine Terminanfragen an. |
invalid_preferred_time | Ein Wunschtermin liegt zu früh, zu weit in der Zukunft oder ist nicht lesbar. |
urgent_no_preferred_times | Eine eilige Anfrage hat keine Wunschtermine. Lass preferred_times weg und schreib den Zeitwunsch in description. |
invalid_time | Nur bei book_appointment: Eine Zeit ist nicht lesbar, gehört nicht zu den Zeiten des Betriebs, liegt zu früh oder zu weit voraus, oder zwei Zeiten überschneiden sich. |
time_not_available | Nur bei book_appointment: Die Zeit war frei und ist inzwischen vergeben. Lies get_availability neu und biete eine andere an. |
Grenzen
| Was | Grenze | Was dann passiert |
|---|---|---|
| Vormerkung einer Zeit (book_appointment) | 15 Minuten, bis der Kunde in seiner E-Mail klickt, und nie länger als bis zum Beginn der Zeit | Ohne Klick: Status expired, die Zeit ist wieder frei, an den Betrieb ging nichts. |
| Offene Vormerkungen ohne Klick des Kunden | höchstens 3 je E-Mail-Adresse, mit Schlüssel höchstens 5 je Zugang bei einem Betrieb | Fehler customer_request_limit_reached oder client_request_limit_reached. Jede Vormerkung endet von selbst. |
| Festen Termin absagen (cancel_request) | bis zum Beginn des Termins | Danach Fehler request_already_confirmed: Der Kunde spricht den Betrieb direkt an. |
| Ersatzzeiten des Betriebs nach seiner Absage | höchstens 3, vorgemerkt bis zu 48 Stunden | Der Kunde wählt in seiner E-Mail. Ohne Wahl: Status expired, nichts ist gebucht. |
| Zeiten je Buchung | genau eine bei booking_mode automatic, höchstens 3 bei business_confirms | Problem invalid_time. |
| Anfragen je Betrieb bei Buchungen | Die Grenze von 20 in 24 Stunden gilt bei booking_mode business_confirms, sobald der Kunde geklickt hat. Bei booking_mode automatic gilt sie nicht, und solche Termine zählen in ihr nicht mit | Fehlercode business_request_limit_reached, nur bei business_confirms. |
| Buchen im Voraus | höchstens 90 Tage, frühestens nach dem Vorlauf des Betriebs (earliest_start) | Problem invalid_time. |
| Freie Zeiten je Aufruf von get_availability | 40, mit limit höchstens 100, über 7 Tage, mit days höchstens 14 | more ist true, next_from nennt, wo es weitergeht. |
| Aufrufe je angemeldetem Kunden | 60 pro Minute, für alle Kunden eines Assistenten zusammen 600 | HTTP 429. Eine Minute warten. |
| Anfragen je Aufruf von list_my_requests | 10, mit limit höchstens 25. Eine eilige Anfrage an mehrere Betriebe zählt als eine | total nennt, wie viele es insgesamt sind. Ältere liest get_request_status mit ihrer Kennung. |
| Lesen ohne Schlüssel | 30 Aufrufe pro Minute je Internetadresse, 120 für alle zusammen | HTTP 429. Mit eigenem Zugang gilt deine eigene Grenze. |
| Aufrufe je Zugang | 60 pro Minute | HTTP 429. Eine Minute warten. Mehr gibt es auf Anfrage. |
| Aufrufe mit dem öffentlichen Testzugang | 60 pro Minute, für alle zusammen | HTTP 429. Für eigene Grenzen einen eigenen Zugang anfragen. |
| Aufrufe mit ungültigem Schlüssel | 30 pro Minute und Adresse | HTTP 429 statt 401. |
| Größe einer Anfrage | höchstens 256 Kilobyte | HTTP 413. |
| Aufrufe je HTTP-Anfrage | genau einer, keine Stapel (JSON-Array) | HTTP 400, JSON-RPC-Fehler -32600. |
| Treffer je Suche | höchstens 25, weiter mit offset | next_offset in der Antwort nennt die nächste Seite. |
| Unbestätigte Einträge je Suche | höchstens 5, nur auf der ersten Seite | Sie stehen in unverified, nie in results. |
| Anfrage an einen unbestätigten Eintrag: Klick des Kunden | innerhalb von 24 Stunden, in der E-Mail von Bookvia | Vorher geht nichts an den Betrieb (waiting_for: customer). Ohne Klick: Status expired. |
| Anfrage an einen unbestätigten Eintrag: Antwort des Betriebs | 72 Stunden nach dem Klick des Kunden, ohne Erinnerung | Status expired. Der Kunde bekommt eine E-Mail. Ob der Betrieb antwortet, ist offen. |
| Überbrachte Anfragen je unbestätigtem Eintrag | 2 in 30 Tagen | Der Eintrag steht in unverified hinten, mit requests_paused und can_forward false. Fehlercode listing_request_limit_reached. Zwei Ausnahmen: Der Kunde hat genau diesen Betrieb genannt (customer_named_business), oder es gibt in seinem Ort für sein Gewerk keinen anderen, an den eine Anfrage gehen kann. |
| Neue Anfragen je Zugang | 60 pro Stunde | Fehlercode client_request_limit_reached. |
| Anfragen je E-Mail-Adresse eines Kunden | 5 in 24 Stunden, über alle Zugänge | Fehlercode customer_request_limit_reached. |
| Anfragen je Betrieb | 20 in 24 Stunden, wenn der Betrieb nichts anderes einstellt | Fehlercode business_request_limit_reached. |
| Wunschtermine je Anfrage | höchstens 3, bis 365 Tage im Voraus | Problem invalid_preferred_time. |
| Beschreibung des Kunden | mindestens 10 Zeichen | Problem invalid_description. |
| Frist für die Antwort des Betriebs | request_policy.response_time_hours im Profil, ohne Angabe 48 Stunden | Status expired. Der Kunde bekommt eine E-Mail. |
| Betriebe je eiliger Anfrage (urgent: true) | höchstens 5, jeder nur einmal. Beim Kunden und beim Zugang zählt sie als eine Anfrage, je Betrieb einzeln | Fehlercode duplicate_business_ids oder business_ids_require_urgent. Hat ein einzelner Betrieb seine Grenze erreicht, steht das in group.requests[], die übrigen bekommen die Anfrage. |
| Frist einer eiligen Anfrage | 30 Minuten, bei jedem Betrieb | Sagt niemand zu: Status expired, der Kunde bekommt eine E-Mail. Wer zuerst zusagt, hat den Auftrag. |
| Kundendaten | werden 180 Tage nach Abschluss gelöscht | Der Status bleibt abrufbar, die Angaben des Kunden nicht. |