get Data
id: get
title: Calling up a Registration Form
sidebar_label: Calling up Registration Forms
This call queries all stored data of one or more forms.
Parameters
Name |
Data type |
Application |
meta |
Property |
Meta-Object |
Registration form |
Array |
Array with registration form number |
Examples
The following example retrieves the data from two registration forms.
Request:
Response:
| { "meta": { "requestId": "0324b440-c0ec-4828-a13c-5b1b81797d78", "timestamp": "2019-06-13T11:55:26.039028", "user": { "id": 6, "username": "demo_hotel" }, "gemeinde": 1 }, "response": [ { "input_id": "123465", "personen": [ { "tarif_id": 1, "Gast_Vorname": "Max", "Gast_Name": "Mustermann", "arrival_date": "2019-01-01", "departure_date": "2019-01-15" } ] }, { "input_id": "123466", "reisegruppen": [ { "tarif_id": 2, "anzahl": 12 }, { "tarif_id": 1, "anzahl": 2 } ] } ] }
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39 | <?xml version="1.0" encoding="UTF-8"?>
<root>
<meta>
<gemeinde>1</gemeinde>
<requestId>0324b440-c0ec-4828-a13c-5b1b81797d78</requestId>
<timestamp>2019-06-13T11:55:26.039028</timestamp>
<user>
<id>6</id>
<username>demo_hotel</username>
</user>
</meta>
<response>
<list-element>
<input_id>123465</input_id>
<personen>
<list-element>
<Gast_Name>Mustermann</Gast_Name>
<Gast_Vorname>Max</Gast_Vorname>
<arrival_date>2019-01-01</arrival_date>
<departure_date>2019-01-15</departure_date>
<tarif_id>1</tarif_id>
</list-element>
</personen>
</list-element>
<list-element>
<input_id>123466</input_id>
<reisegruppen>
<list-element>
<anzahl>12</anzahl>
<tarif_id>2</tarif_id>
</list-element>
<list-element>
<anzahl>2</anzahl>
<tarif_id>1</tarif_id>
</list-element>
</reisegruppen>
</list-element>
</response>
</root>
|