REST DocumentationIndustriesGET List industries

List industries

Returns a paginated list of the industries, sorted by id. The id is the value a customer carries as industry.

Availability: Full version only — a Clock instance answers 404 for this endpoint.

Request

GET /api/v1/industries
curl --request GET \
     --url 'https://www.zep-online.de/zepinstanz/next/api/v1/industries' \
     --header 'Accept: application/json' \
     --header 'Authorization: Bearer {token}'

Query parameters

  • Name
    limit
    Type
    integer, nullable
    Description

    The number of records per page, 1 to 200. Defaults to 15.

  • Name
    page
    Type
    integer, nullable
    Description

    The page of results to return, counting from 1.

Response

{
  "data": [
    {
      "id": "MB",
      "description": {
        "de": "Maschinenbau",
        "en": "Mechanical engineering"
      }
    }
  ],
  "links": {
    "first": "string",
    "last": "string",
    "prev": "string",
    "next": "string"
  },
  "meta": {
    "current_page": 1,
    "from": 1,
    "last_page": 1,
    "links": [
      {
        "url": "string",
        "label": "string",
        "active": true
      }
    ],
    "path": "string",
    "per_page": 1,
    "to": 1,
    "total": 1
  }
}

Response fields

  • Name
    id
    Type
    string
    Description

    The industry’s short name, the value a customer carries as its industry.

  • Name
    description
    Type
    object, nullable
    Description

    Description of the industry per language; null when it has none.

  • Name
    description.de
    Type
    string, nullable
    Description
  • Name
    description.en
    Type
    string
    Description
  • Name
    description.fr
    Type
    string
    Description
  • Name
    description.es
    Type
    string
    Description
  • Name
    description.pl
    Type
    string
    Description
Generated from the OpenAPI specification — edit the source code, not this page.