# Get System Info

## zapiGetSystemInformation

<mark style="color:blue;">`GET`</mark> `https://{yourdomainname}.zaui.net/zapi/`

#### Request Body

| Name                                            | Type    | Description                                                                     |
| ----------------------------------------------- | ------- | ------------------------------------------------------------------------------- |
| methodName<mark style="color:red;">\*</mark>    | string  | The method being called.                                                        |
| zapiToken<mark style="color:red;">\*</mark>     | integer | Token that must be used for a reseller to communicate with the supplier system. |
| zapiAccountId<mark style="color:red;">\*</mark> | integer | Generated by the supplier system.                                               |
| zapiUserId<mark style="color:red;">\*</mark>    | integer | Generated by the supplier system when a new contact is created.                 |

{% tabs %}
{% tab title="200 " %}

```xml
<?xml version="1.0" encoding="utf-8"?>
<response>
    <zapiVersion>2.1</zapiVersion>
    <error>0</error>
    <message>OK</message>
    <methodResponse>
        <methodName>zapiGetSystemInformation</methodName>
        <methodErrorCode>0</methodErrorCode>
        <methodErrorMessage/>
        <systemName>
            <![CDATA[Zaui Software]]>
        </systemName>
        <themeName>
            <![CDATA[suppliertestsystem]]>
        </themeName>
        <themeLocation>
            <![CDATA[]]>
        </themeLocation>
        <companyName>
            <![CDATA[Supplier Test System]]>
        </companyName>
        <companyTelephoneNumber>
            <![CDATA[6045669284]]>
        </companyTelephoneNumber>
        <companyWebsite>
            <![CDATA[www.zaui.com]]>
        </companyWebsite>
        <companyCityAndProvince>
            <![CDATA[Vancouver, BC]]>
        </companyCityAndProvince>
        <systemLogo>https://zaui.azureedge.net/application/suppliertestsystem/data/companyImages/logo.jpg?v=1604698138</systemLogo>
        <currentVersion>6.2.93.660.App3 C289 Beta</currentVersion>
        <businessHours>
            <hours>
                <startDate>2010-01-01</startDate>
                <openingTime>06:00:00</openingTime>
                <closingTime>20:00:00</closingTime>
                <endDate>2030-12-31</endDate>
            </hours>
        </businessHours>
        <autocompleteFields>
            <firstName>
                <![CDATA[John]]>
            </firstName>
            <lastName>
                <![CDATA[Doe]]>
            </lastName>
            <mobile>
                <![CDATA[604-333-4444]]>
            </mobile>
            <email>
                <![CDATA[johndoe@zaui.net]]>
            </email>
        </autocompleteFields>
        <systemDateTime>2021-11-25 13:51:07 -08:00</systemDateTime>
        <systemTimeZoneAsString>America/Vancouver</systemTimeZoneAsString>
        <gratuitiesEnabled>1</gratuitiesEnabled>
        <flexPricingEnabled>1</flexPricingEnabled>
        <gatewaySettings>
            <gatewayTypeId></gatewayTypeId>
            <gatewayName></gatewayName>
            <gatewayPublicKey></gatewayPublicKey>
        </gatewaySettings>
        <currencySettings>
            <currencySignificantDigits>2</currencySignificantDigits>
            <currencyId>14</currencyId>
            <currencyName>
                <![CDATA[Canadian Dollar]]>
            </currencyName>
            <currencySymbol>$</currencySymbol>
            <symbolPosition>before</symbolPosition>
            <isoCode>CAD</isoCode>
            <paymentGatewayId>0</paymentGatewayId>
            <rateId>14</rateId>
            <rate>0</rate>
        </currencySettings>
        <currencies/>
        <allowedPassengers>
            <passengerType>
                <systemTypeId>10</systemTypeId>
                <systemTypeName>seniors</systemTypeName>
                <name>
                    <![CDATA[Seniors]]>
                </name>
                <defaultValue>0</defaultValue>
                <basePrice>$0.00</basePrice>
            </passengerType>
            <passengerType>
                <systemTypeId>11</systemTypeId>
                <systemTypeName>adults</systemTypeName>
                <name>
                    <![CDATA[Adults]]>
                </name>
                <defaultValue>2</defaultValue>
                <basePrice>$0.00</basePrice>
            </passengerType>
            <passengerType>
                <systemTypeId>12</systemTypeId>
                <systemTypeName>students</systemTypeName>
                <name>
                    <![CDATA[Students]]>
                </name>
                <defaultValue>0</defaultValue>
                <basePrice>$0.00</basePrice>
            </passengerType>
            <passengerType>
                <systemTypeId>13</systemTypeId>
                <systemTypeName>children</systemTypeName>
                <name>
                    <![CDATA[Children]]>
                </name>
                <defaultValue>0</defaultValue>
                <basePrice>$0.00</basePrice>
            </passengerType>
            <passengerType>
                <systemTypeId>14</systemTypeId>
                <systemTypeName>infants</systemTypeName>
                <name>
                    <![CDATA[Infants]]>
                </name>
                <defaultValue>0</defaultValue>
                <basePrice>$0.00</basePrice>
            </passengerType>
        </allowedPassengers>
        <airlines></airlines>
        <destinations>
            <destination>
                <destinationId>9</destinationId>
                <destinationName>
                    <![CDATA[Own Transport]]>
                </destinationName>
                <destinationIsDepartureHub>false</destinationIsDepartureHub>
                <locations>
                    <location>
                        <locationId>77</locationId>
                        <locationName>
                            <![CDATA[Own Transport]]>
                        </locationName>
                        <locationIsAirport>false</locationIsAirport>
                    </location>
                </locations>
            </destination>
        </destinations>
        <companyReceiptText/>
        <receiptThankYouText>Thank you for your business</receiptThankYouText>
    </methodResponse>
</response>
```

{% endtab %}
{% endtabs %}

{% tabs %}
{% tab title="Request " %}

```markup
<request>
   <zapiToken></zapiToken>
   <zapiAccountId></zapiAccountId>
   <zapiUserId></zapiUserId>
   <zapiMethod>
      <methodName>zapiGetSystemInformation</methodName>
   </zapiMethod>
</request>
```

{% endtab %}

{% tab title="Response " %}

```markup
<?xml version="1.0" encoding="UTF-8"?>
<response>
   <zapiVersion>2.1</zapiVersion>
   <error>0</error>
   <message>OK</message>
   <methodResponse>
      <methodName>zapiGetSystemInformation</methodName>
      <methodErrorCode>0</methodErrorCode>
      <methodErrorMessage />
      <systemName></systemName>
      <themeName></themeName>
      <themeLocation></themeLocation>
      <companyName></companyName>
      <companyTelephoneNumber></companyTelephoneNumber>
      <companyWebsite></companyWebsite>
      <companyCityAndProvince></companyCityAndProvince>
      <systemLogo></systemLogo>
      <currentVersion></currentVersion>
      <businessHours>
         <hours>
            <startDate></startDate>
            <openingTime></openingTime>
            <closingTime></closingTime>
            <endDate></endDate>
         </hours>
      </businessHours>
      <autocompleteFields>
         <firstName></firstName>
         <lastName></lastName>
         <mobile></mobile>
         <email></email>
      </autocompleteFields>
      <systemDateTime></systemDateTime>
      <systemTimeZoneAsString></systemTimeZoneAsString>
      <gratuitiesEnabled></gratuitiesEnabled>
      <flexPricingEnabled></flexPricingEnable
      <gatewaySettings>
         <gatewayTypeId></gatewayTypeId>
         <gatewayName></gatewayName>
         <gatewayPublicKey></gatewayPublicKey>
      </gatewaySettings>
      <currencySettings>
         <currencySignificantDigits></currencySignificantDigits>
         <currencyId></currencyId>
         <currencyName></currencyName>
         <currencySymbol></currencySymbol>
         <symbolPosition></symbolPosition>
         <isoCode></isoCode>
         <paymentGatewayId></paymentGatewayId>
         <rateId></rateId>
         <rate></rate>
      </currencySettings>
      <currencies>
         <currency>
            <currencyId></currencyId>
            <currencyName></currencyName>
            <currencySymbol></currencySymbol>
            <symbolPosition></symbolPosition>
            <isoCode></isoCode>
            <paymentGatewayId></paymentGatewayId>
            <rateId></rateId>
            <rate></rate>
         </currency>
      </currencies>
      <allowedPassengers>
         <passengerType>
            <systemTypeId></systemTypeId>
            <systemTypeName></systemTypeName>
            <name></name>
            <defaultValue></defaultValue>
            <basePrice></basePrice>
         </passengerType>
      </allowedPassengers>
      <airlines>
         <airline>
            <airlineId></airlineId>
            <airlineName></airlineName>
            <airlineAbbreviation></airlineAbbreviation>
         </airline>
      </airlines>
      <destinations>
         <destination>
            <destinationId></destinationId>
            <destinationName></destinationName>
            <destinationIsDepartureHub></destinationIsDepartureHub>
            <locations>
               <location>
                  <locationId></locationId>
                  <locationName></locationName>
                  <locationIsAirport></locationIsAirport>
               </location>
            </locations>
         </destination>
      </destinations>
      <companyReceiptText></companyReceiptText>
      <receiptThankYouText></receiptThankYouText>
   </methodResponse>
</response>
```

{% endtab %}
{% endtabs %}
