Referencja API

Dostęp produkcyjny zamknięty · 37 operacji

Pobierz wyposażenie i opcje

GET/api/v1/catalog/equipment

Grupy wyposażenia i dodatkowych opcji.

Wymagany zakres listings:read

Przejdź do przykładu

Parametry

NazwaMiejsceTypWymaganyOpis
scopequery"passenger" | "delivery" | "truck" | "motorcycle" | "camper" | "trailer" | "agriculture" | "construction"NiePodaj scope albo listingTypeValue. "passenger" | "delivery" | "truck" | "motorcycle" | "camper" | "trailer" | "agriculture" | "construction"
listingTypeValuequerystringNiePodaj listingTypeValue albo scope. min. znaków 1 · maks. znaków 100

Odpowiedzi

200 Grupy wyposażenia i dodatkowych opcji.
application/json
Schemat object
NazwaTypWymaganyOpis
scope"passenger" | "delivery" | "truck" | "motorcycle" | "camper" | "trailer" | "agriculture" | "construction"Nie"passenger" | "delivery" | "truck" | "motorcycle" | "camper" | "trailer" | "agriculture" | "construction"
manifestVersionstringNie—
groupsobject[]Nie—
JSON Schema
{
  "type": "object",
  "properties": {
    "scope": {
      "type": "string",
      "enum": [
        "passenger",
        "delivery",
        "truck",
        "motorcycle",
        "camper",
        "trailer",
        "agriculture",
        "construction"
      ]
    },
    "manifestVersion": {
      "type": "string"
    },
    "groups": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "kind": {
            "enum": [
              "equipment",
              "attribute"
            ]
          },
          "items": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "key": {
                  "type": "string"
                },
                "label": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    }
  }
}
Pozostałe błędy API Błąd przetwarzania żądania.
application/json
Schemat object
NazwaTypWymaganyOpis
codestringTak—
messagestringTak—
requestIdstringTak—
issuesobject[]Nie—
JSON Schema
{
  "type": "object",
  "required": [
    "code",
    "message",
    "requestId"
  ],
  "properties": {
    "code": {
      "type": "string"
    },
    "message": {
      "type": "string"
    },
    "requestId": {
      "type": "string"
    },
    "issues": {
      "type": "array",
      "items": {
        "type": "object"
      }
    }
  }
}
401 Brak prawidłowego klucza API.
403 Brak zakresu wymaganego przez operację lub żądanie bez HTTPS na produkcji.
429 Przekroczono limit zapytań. Sprawdź Retry-After.
503 Dostęp jest zamknięty lub usługa jest chwilowo niedostępna. Sprawdź code.

Obsługa błędów i limitów ↗