Buk

Buk Cargos API

The Cargos API from Buk — 1 operation(s) for cargos.

OpenAPI Specification

buk-cargos-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Buk Cargos API
  version: '1.0'
  description: 'Operations tagged Cargos across 5 of this provider''s published API definitions: buk-data-access-api-brasil-openapi.yml, buk-data-access-api-chile-openapi.yml, buk-data-access-api-colombia-openapi.yml, buk-data-access-api-mexico-openapi.yml, buk-data-access-api-peru-openapi.yml. Each path carries the servers of the definition it was published in.'
host: demo.buk.cl
tags:
- name: Cargos
paths:
  /role_families:
    get:
      summary: Listar familia de cargos
      description: '''Retorna todas las familias de cargos registradas en el sistema''


        Este endpoint no requiere permisos especiales.


        '
      tags:
      - Cargos
      parameters:
      - name: search
        in: query
        type: string
        description: Filtra las familias de cargos por nombre
      - name: page_size
        in: query
        type: integer
        description: (OPCIONAL) Número de respuestas por página. Por defecto tiene un valor de 25 y debe estar entre un rango de [25 - 100]
      responses:
        '200':
          description: Como respuesta recibimos un arreglo (data) con las familias de cargos
          name: data
          schema:
            properties:
              pagination:
                $ref: '#/definitions/Pagination'
              data:
                type: array
                items:
                  $ref: '#/definitions/RoleFamily'
definitions:
  RoleFamily:
    properties:
      id:
        type: integer
      name:
        type: string
      quantity_of_roles:
        type: integer
  Pagination:
    properties:
      next:
        type: string
      previous:
        type: string
      count:
        type: integer
      total_pages:
        type: integer
securityDefinitions:
  auth_token:
    type: apiKey
    name: auth_token
    in: header
x-refined-from:
- buk-data-access-api-brasil-openapi.yml
- buk-data-access-api-chile-openapi.yml
- buk-data-access-api-colombia-openapi.yml
- buk-data-access-api-mexico-openapi.yml
- buk-data-access-api-peru-openapi.yml