# Общие сведения

API сайта Oasis позволяет получить данные в формате JSON и XML.

Для выгрузки доступны:

* [Товары](https://oasiscatalog.gitbooks.io/api-oasis/content/vigruzhaemaya-informatsiya/tovari.html)
* [Остатки](https://oasiscatalog.gitbooks.io/api-oasis/content/vigruzhaemaya-informatsiya/ostatki.html)
* Справочники

## Виды справочников

* [Справочники рубрик](https://oasiscatalog.gitbooks.io/api-oasis/content/vigruzhaemaya-informatsiya/spravochniki/rubrik.html)
* [Справочники складов](https://oasiscatalog.gitbooks.io/api-oasis/content/vigruzhaemaya-informatsiya/spravochniki-skladov.html)
* [Справочники брендов](https://oasiscatalog.gitbooks.io/api-oasis/content/vigruzhaemaya-informatsiya/brendov.html)
* [Справочники групп скидок](https://oasiscatalog.gitbooks.io/api-oasis/content/vigruzhaemaya-informatsiya/spravochniki-grupp-skidok.html)

## Ключ работы с API

Для работы с API необходимо иметь ключ доступа.

Чтобы получить ключ доступа необходимо быть партнером OASIS.

На сервисе используется [BASIC HTTP-аутентификация](http://en.wikipedia.org/wiki/Basic_access_authentication). Нужно отправлять ключ в качестве имени пользователя (пароль оставлять пустым) в каждом запросе к API.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://oasiscatalog.gitbook.io/api-oasis/overview/api-documentation-v.3-old/obshie-svedeniya.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
