URL: https://api.rentsoft.de/q/apponlineintegration/getallarticles

Header:
Array
(
    [0] => X-Api-Version: 1
    [1] => X-Client-ID: 11418
)


API Response::


API Response Orig::
                SELECT
                    
                        article.*,
                        IF (article.article_quantity_type = 0, article.article_quantity, (SELECT count(*) AS quantity FROM article_stock WHERE article_stock.status = 1 AND article_stock.article_id = article.id AND article_stock.reference_number !=  AND article_stock.deleted = 0 )) AS quantity,
                        (SELECT article_image.filename FROM article_image WHERE article_image.article_id = article.id AND article_image.prio = 1) AS main_image,
                        config_location.name AS location_name,
                        config_location.title AS location_title,
                        config_location.street,
                        config_location.zip,
                        config_location.city,
                        config_location.country,
                        (
                          SELECT
                                IF (article.article_quantity_type = 1, 
                                    count(article_count),
                                    SUM(article_count)
                                ) AS total
                            FROM calendar_article_v2
                            WHERE
                            calendar_article_v2.article_id = article.id 
                              AND status = 1 AND
                              (
                                (1778140800 <= start AND 1778133600 >= start) OR
                                (1778140800 >= start AND 1778133600 >= start AND 1778140800 <= end AND 1778133600 <= end) OR
                                (1778140800 <= end AND 1778133600 >= end) OR
                                (1778140800 <= start AND 1778133600 >= end)) GROUP BY article_id
                        ) AS currently_rented
                FROM article
                LEFT JOIN article_export ON article_export.article_id = article.id
                LEFT JOIN config_location ON config_location.id = article.location_id
                LEFT JOIN article_category ON article_category.id = article.article_category_id
                WHERE article.deleted = 0 AND article.name !=  AND article_export.config_hp_integration_id = 109443
                HAVING quantity >= 1 AND currently_rented IS NULL OR quantity > currently_rented  ORDER BY article.model ASC


Curl-Error::


GET Values:
configHpIntegrationId=109443&categoriesFilter=&start=1778140800&end=1778133600&limit=10&offset=0&sort=model_ASC&calculateRentalPrice=no&showAvailableOnly=yes&configLocation=0


POST Values::
Array
(
)

SERVER Values::
Array
(
    [USER] => www-data
    [HOME] => /var/www
    [HTTP_HOST] => booking.just4funw4.at
    [HTTP_REFERER] => https://booking.just4funw4.at/sitemap.xml
    [HTTP_ACCEPT_ENCODING] => gzip, br, zstd, deflate
    [HTTP_USER_AGENT] => Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
    [HTTP_ACCEPT] => */*
    [REDIRECT_STATUS] => 200
    [RENTSOFT_ENVIRONMENT] => live
    [SERVER_NAME] => shop.gs-eventverleih.de
    [SERVER_PORT] => 443
    [SERVER_ADDR] => 10.132.0.3
    [REMOTE_PORT] => 20833
    [REMOTE_ADDR] => 216.73.216.213
    [SERVER_SOFTWARE] => nginx/1.14.2
    [GATEWAY_INTERFACE] => CGI/1.1
    [HTTPS] => on
    [SERVER_PROTOCOL] => HTTP/1.1
    [DOCUMENT_ROOT] => /var/www/html/client/public
    [DOCUMENT_URI] => /index.php
    [REQUEST_URI] => /ob/index/index/id/109443
    [SCRIPT_NAME] => /index.php
    [CONTENT_LENGTH] => 
    [CONTENT_TYPE] => 
    [REQUEST_METHOD] => GET
    [QUERY_STRING] => 
    [SCRIPT_FILENAME] => /var/www/html/client/public/index.php
    [FCGI_ROLE] => RESPONDER
    [PHP_SELF] => /index.php
    [REQUEST_TIME_FLOAT] => 1778064170.2082
    [REQUEST_TIME] => 1778064170
)

Error: "" - Code: 0