<script src="https://api.softsolutions.sk/docs/package/getPackages" async></script>
<!DOCTYPE html>
<html lang="sk">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Package Plugin</title>
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i" rel="stylesheet">
<style>
html,body {width: 100%; height: 100%; max-width: 1200px; margin: 0; padding: 0; background-color: #f9f9f9; font-family: 'Open Sans', sans-serif; display: table;}
h1 {text-align: center;}
ul {list-style: square;}
.m-l-10 {margin-left: 10px;}
.codes ul {list-style: none; padding: 0;}
.codes ul li {margin: 5px 0;}
.codes ul li span {display: inline-block;}
.codes ul li .code {background-color: #822630; color:white; font-weight: bold; padding: 5px; margin: 0 5px;}
.codes ul li .desc {}
.list {width: 300px; min-height: 100%; height: 100%; float: left; padding: 15px; box-sizing: border-box; background-color: #e6e6e6;}
.list h1 {font-size: 20px;}
.list h2 {font-size: 15px;}
.list h3 {font-size: 13px;}
.list ul.methodList {list-style: none; margin-left: 15px; padding: 0; font-size: 14px;}
.list ul.methodList li {padding: 3px 0;}
.list ul.methodList li a {color: #0360c3; text-decoration: none; font-weight: 500;}
.list ul.methodList li a:hover {font-weight: 600;}
.info {width: auto; float: left; padding: 15px; padding-left: 30px; box-sizing: border-box; max-width: calc(100% - 300px); font-size: 14px;}
.info h2 {color: #0360c9; font-size: 21px;}
.info h3 {background-color: #eaeaea; font-size: 16px; padding: 5px 10px;}
.info h4 {font-size: 15px;}
.info h5 {font-size: 13px; background: #cae6e0; padding: 5px;}
.info .warning {background: #c35135; color: white; padding: 15px; font-weight: bold;}
.info .warning small{font-weight: normal; font-size: 13px; margin-top: 10px; display: inline-block;}
.info .warning a{color: white;}
.info .method .request {margin: 20px 0;}
.info .method .request .url {padding: 12px 20px 12px 10px; border: 2px dashed #868686; font-weight: bold;}
.info .method .request .url .typeGET {margin-right: 9px; color: white; background: #1f8657; padding: 5px 10px; font-size: small;}
.info .method .request .url .typePOST {margin-right: 9px; color: white; background: #86331f; padding: 5px 10px; font-size: small;}
.info .method .request .mParam{color: red;}
.info .method .request .params .name {color: #9e2406;}
.info .method .request .params .name.optional {}
.info .method .request .params .name.optional:after {content: "*"}
.info .method .request .params .name, .info .method .response .params .name {font-weight: bold;}
.info .method .request .params .type, .info .method .response .params .type {font-style: italic;}
.info .method .request .params .type:before, .info .method .response .params .type:before{content: " (";}
.info .method .request .params .type:after, .info .method .response .params .type:after{content: ") :";}
</style>
</head>
<body>
<div class="list">
<h1>Package Plugin</h1>
<ul class="methodList">
<li><a href="https://api.softsolutions.sk/docs/package/errors" class="errors" >Chybové hlášky</a></li>
</ul>
<h2>Zoznam metód</h2>
<h2>Iframe</h2>
<ul class="methodList">
<li><a href="https://api.softsolutions.sk/docs/package/getPackageCalendar" class="getPackageCalendar" >getPackageCalendar</a></li>
<li><a href="https://api.softsolutions.sk/docs/package/getPackageCalendar2" class="getPackageCalendar2" >getPackageCalendar2</a></li>
<li><a href="https://api.softsolutions.sk/docs/package/getPackages" class="getPackages" >getPackages</a></li>
<li><a href="https://api.softsolutions.sk/docs/package/getPackageInfo" class="getPackageInfo" >getPackageInfo</a></li>
<li><a href="https://api.softsolutions.sk/docs/package/getMoreNights" class="getMoreNights" >getMoreNights</a></li>
<li><a href="https://api.softsolutions.sk/docs/package/getMoreNightInfo" class="getMoreNightInfo" >getMoreNightInfo</a></li>
<li><a href="https://api.softsolutions.sk/docs/package/getRoomCalendar" class="getRoomCalendar" >getRoomCalendar</a></li>
<li><a href="https://api.softsolutions.sk/docs/package/getRoomCalendar2" class="getRoomCalendar" >getRoomCalendar2</a></li>
<li><a href="https://api.softsolutions.sk/docs/package/crosselpage" class="crosselpage" >CrosselPage</a></li>
</ul>
<h2>Json</h2>
<ul class="methodList">
<li><a href="https://api.softsolutions.sk/docs/package/getPackagesJson" class="getPackages" >getPackages</a></li>
<li><a href="https://api.softsolutions.sk/docs/package/getPackageJson" class="getPackage" >getPackage</a></li>
<li><a href="https://api.softsolutions.sk/docs/package/getMoreNightsJson" class="getMoreNights" >getMoreNights</a></li>
<li><a href="https://api.softsolutions.sk/docs/package/getCheapestOffer" class="getMoreNights" >getCheapestOffer</a></li>
</ul>
</div>
<div class="info">
<div class="method">
<h2>getPackages</h2>
<p class="desc">Podstránka obsahuje všetky balíčky, ktoré je možné rezervovať v priebehu 1 roka.</p>
<div class="request">
<h3>Request</h3>
<div class="url">
<span class="typeGET">GET</span>
//api.softsolutions.sk/booking/package/getPackages/<span class="mParam">{hotelID}</span>/<span class="mParam">{lang}</span> </div>
<div class="params">
<h4>Parametre</h4>
<div class="m-l-10">
* povinný parameter
<h5>Url parametre</h5>
<ul>
<li>
<span class="name">hotelID *</span>
<span class="type">integer</span>
identifikátor hotela </li>
<li>
<span class="name">lang *</span>
<span class="type">string</span>
kód jazykovej mutácie </li>
</ul>
<h5>
Query parametre
</h5>
<ul>
</ul>
</div>
</div>
</div>
<div class="response">
<h3>Response</h3>
<div class="params">
<ul>
</ul>
</div>
</div>
</div>
</div>
<script src="https://code.jquery.com/jquery-1.12.4.min.js"></script>
</body>
</html>