Перейти к основному содержанию
GET
/
v1
/
tenant
cURL
curl --request GET \
  --url https://api.example.com/v1/tenant/
[
  {
    "id": 123,
    "start_at": "2023-11-07T05:31:56Z",
    "end_at": "2023-11-07T05:31:56Z",
    "user": 123,
    "name": "<string>",
    "type_code": "<string>",
    "link": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "limits": [
      {
        "id": 123,
        "type": "staff",
        "limit": 123,
        "limit_free": 123,
        "price": "<string>",
        "count": 123,
        "start_at": "2023-11-07T05:31:56Z",
        "end_at": "2023-11-07T05:31:56Z"
      }
    ],
    "address": "<string>",
    "logo": "<string>",
    "type": 123,
    "currency": "KZT",
    "country": "KZ",
    "extra": "<unknown>"
  }
]

Ответ

200 - application/json
id
integer
обязательно
start_at
string<date-time> | null
обязательно
end_at
string<date-time> | null
обязательно
user
integer | null
обязательно
name
string
обязательно
Maximum string length: 255
type_code
string | null
обязательно
created_at
string<date-time>
обязательно
limits
object[]
обязательно
address
string
Maximum string length: 255
logo
string<uri> | null
type
integer | null
currency
string
по умолчанию:KZT
country
  • KZ - Kazakhstan
  • UAE - United Arab Emirates
Доступные опции:
KZ,
UAE
extra
any