Gestão de Pátio (yms)

Controle de Patio (patio)

31 views 04/08/2020 22/10/2020 integrador 0

2.0info: 7.0.4 Controle de Patio description: Serviço controle de Patio do Portal Agendamento x-senior-domain: Controle de Pátio x-senior-domain-path: yms x-senior-service-path: patio contact: name: Senior X Platform url: http://dev.senior.com.br email: seniorx-dev@senior.com.brhost: platform.senior.com.br /t/senior.com.br/bridge/1.0/rest/ymssecurityDefinitions: APIKeyHeader: type: apiKey in: header name: Authorizationsecurity: – APIKeyHeader: [] – application/json – application/jsonpaths: /patio/queries/buscarHistoricoControleChegada: post: description: Query para buscar histórico de controle de chegadas relacionado a determinada área tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – areaId properties: areaId: type: string description: ID da área para buscar o histórico responses: 200: description: Ok schema: type: object required: – content properties: content: type: array items: type: object allOf: – #/definitions/controleArea minimum: 1 description: Ultimos dados de controle default: description: Error response schema: #/definitions/genericError get: description: Query para buscar histórico de controle de chegadas relacionado a determinada área tags: – Queries x-senior-visibility: PRIVATE parameters: – name: areaId description: ID da área para buscar o histórico in: query required: true type: string responses: 200: description: Ok schema: type: object required: – content properties: content: type: array items: type: object allOf: – #/definitions/controleArea minimum: 1 description: Ultimos dados de controle default: description: Error response schema: #/definitions/genericError /patio/queries/buscarExecucaoCircuitoPorSequencia: post: description: Busca informações da execução do circuito pela sequência tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – sequenciaCircuitoId properties: sequenciaCircuitoId: type: string description: Id da sequência do circuito responses: 200: description: Ok schema: type: object required: – execucaoCircuito properties: execucaoCircuito: type: object allOf: – #/definitions/execucaoCircuito description: Execução do circuito default: description: Error response schema: #/definitions/genericError get: description: Busca informações da execução do circuito pela sequência tags: – Queries x-senior-visibility: PRIVATE parameters: – name: sequenciaCircuitoId description: Id da sequência do circuito in: query required: true type: string responses: 200: description: Ok schema: type: object required: – execucaoCircuito properties: execucaoCircuito: type: object allOf: – #/definitions/execucaoCircuito description: Execução do circuito default: description: Error response schema: #/definitions/genericError /patio/queries/buscaVagaLivre: post: description: Busca uma Vaga livre, ou seja, que esteja desocupada, ativa e desbloqueada. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – areaId properties: areaId: type: string description: Id da Área que se encontra a Vaga responses: 200: description: Ok schema: type: object allOf: – #/definitions/vaga default: description: Error response schema: #/definitions/genericError get: description: Busca uma Vaga livre, ou seja, que esteja desocupada, ativa e desbloqueada. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: areaId description: Id da Área que se encontra a Vaga in: query required: true type: string responses: 200: description: Ok schema: type: object allOf: – #/definitions/vaga default: description: Error response schema: #/definitions/genericError /patio/queries/quantidadeExecucaoCircuitoPorVeiculo: post: description: Busca a quantidade de circuitos em execução por veículo tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – veiculoId properties: veiculoId: type: string description: Id do veículo responses: 200: description: Ok schema: type: object required: – quantidade properties: quantidade: type: integer format: int64 description: A quantidade de circuitos em execucão default: description: Error response schema: #/definitions/genericError get: description: Busca a quantidade de circuitos em execução por veículo tags: – Queries x-senior-visibility: PRIVATE parameters: – name: veiculoId description: Id do veículo in: query required: true type: string responses: 200: description: Ok schema: type: object required: – quantidade properties: quantidade: type: integer format: int64 description: A quantidade de circuitos em execucão default: description: Error response schema: #/definitions/genericError /patio/queries/quantidadeExecucaoCircuitoPorMotorista: post: description: Busca a quantidade de circuitos em execução por motorista tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – motoristaId properties: motoristaId: type: string description: Id do motorista responses: 200: description: Ok schema: type: object required: – quantidade properties: quantidade: type: integer format: int64 description: A quantidade de circuitos em execucão default: description: Error response schema: #/definitions/genericError get: description: Busca a quantidade de circuitos em execução por motorista tags: – Queries x-senior-visibility: PRIVATE parameters: – name: motoristaId description: Id do motorista in: query required: true type: string responses: 200: description: Ok schema: type: object required: – quantidade properties: quantidade: type: integer format: int64 description: A quantidade de circuitos em execucão default: description: Error response schema: #/definitions/genericError /patio/queries/listCondicoes: post: description: Busca a lista completa de todos os detalhes para acionar condições disponéveis tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – condicoes properties: condicoes: type: array items: type: object allOf: – #/definitions/condicaoDetalhes minimum: 1 description: Lista de condições default: description: Error response schema: #/definitions/genericError get: description: Busca a lista completa de todos os detalhes para acionar condições disponéveis tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – condicoes properties: condicoes: type: array items: type: object allOf: – #/definitions/condicaoDetalhes minimum: 1 description: Lista de condições default: description: Error response schema: #/definitions/genericError /patio/queries/listComandos: post: description: Busca a lista completa de todos os detalhes para acionar comandos disponéveis tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – comandos properties: comandos: type: array items: type: object allOf: – #/definitions/comandoDetalhes minimum: 1 description: Lista de comandos default: description: Error response schema: #/definitions/genericError get: description: Busca a lista completa de todos os detalhes para acionar comandos disponéveis tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – comandos properties: comandos: type: array items: type: object allOf: – #/definitions/comandoDetalhes minimum: 1 description: Lista de comandos default: description: Error response schema: #/definitions/genericError /patio/queries/buscaControladorAtivo: post: description: Busca um controlador ativo para uma determinada execução circuito\n A busca pode ser feita pelo identificador da execução circuito ou pelo identificador da agenda, se os dois parâmetros forem informados somente o primeiro será avaliado.\n Se nenhum controlador estiver ativo a busca retorna com valor vazio.\n tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: execucaoCircuitoId: type: string description: Identificador da execução circuito agendaId: type: string description: Identificador da agenda responses: 200: description: Ok schema: type: object properties: controlador: type: object allOf: – #/definitions/controladorAtual description: Controlador atual encontrado default: description: Error response schema: #/definitions/genericError get: description: Busca um controlador ativo para uma determinada execução circuito\n A busca pode ser feita pelo identificador da execução circuito ou pelo identificador da agenda, se os dois parâmetros forem informados somente o primeiro será avaliado.\n Se nenhum controlador estiver ativo a busca retorna com valor vazio.\n tags: – Queries x-senior-visibility: PRIVATE parameters: – name: execucaoCircuitoId description: Identificador da execução circuito in: query type: string – name: agendaId description: Identificador da agenda in: query type: string responses: 200: description: Ok schema: type: object properties: controlador: type: object allOf: – #/definitions/controladorAtual description: Controlador atual encontrado default: description: Error response schema: #/definitions/genericError /patio/queries/buscaExecucaoCircuitoPorVeiculo: post: description: Endpoint para buscar circuitos por veiculo e status em execução. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: veiculoId: type: string description: Id do veículo ativo no circuito responses: 200: description: Ok schema: type: object required: – execucao properties: execucao: type: object allOf: – #/definitions/execucaoCircuito description: Lista de execuções filtradas default: description: Error response schema: #/definitions/genericError get: description: Endpoint para buscar circuitos por veiculo e status em execução. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: veiculoId description: Id do veículo ativo no circuito in: query type: string responses: 200: description: Ok schema: type: object required: – execucao properties: execucao: type: object allOf: – #/definitions/execucaoCircuito description: Lista de execuções filtradas default: description: Error response schema: #/definitions/genericError /patio/queries/buscaVeiculoPorArea: post: description: Busca veículos em execução de acordo com área informada tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – areaId properties: areaId: type: string description: Identificador da área responses: 200: description: Ok schema: type: object properties: veiculos: type: array items: type: object allOf: – #/definitions/composicaoVeiculo description: Veículos em execução na área default: description: Error response schema: #/definitions/genericError get: description: Busca veículos em execução de acordo com área informada tags: – Queries x-senior-visibility: PRIVATE parameters: – name: areaId description: Identificador da área in: query required: true type: string responses: 200: description: Ok schema: type: object properties: veiculos: type: array items: type: object allOf: – #/definitions/composicaoVeiculo description: Veículos em execução na área default: description: Error response schema: #/definitions/genericError /patio/queries/buscaPlacaVeiculoPrimarioPorArea: post: description: Busca placas de veículos primários em execução de acordo com área informada tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – areaId properties: areaId: type: string description: Identificador da área responses: 200: description: Ok schema: type: object properties: placas: type: array items: type: string description: Placas de veículos primários em execução na área default: description: Error response schema: #/definitions/genericError get: description: Busca placas de veículos primários em execução de acordo com área informada tags: – Queries x-senior-visibility: PRIVATE parameters: – name: areaId description: Identificador da área in: query required: true type: string responses: 200: description: Ok schema: type: object properties: placas: type: array items: type: string description: Placas de veículos primários em execução na área default: description: Error response schema: #/definitions/genericError /patio/queries/validarExecucaoCircuito: post: description: Valida se é possível criar uma execução de circuito.\n \n Retorna o status 200 caso seja possível ou 40(x) caso não seja possível.\n tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – circuitoId – agendaId – veiculoId – motoristaId – sequenciaCircuitoId properties: circuitoId: type: string description: ID do Circuito que será executado agendaId: type: string description: ID da Agenda que será executada veiculoId: type: string description: ID da Composição de Veículos que entrará no circuito motoristaId: type: string description: ID do Motorista que entrará no circuito sequenciaCircuitoId: type: string description: ID da primeira sequência que será executada vagaId: type: string description: ID da vaga a ser ocupada pelo veículo responses: 200: description: Ok schema: type: object default: description: Error response schema: #/definitions/genericError get: description: Valida se é possível criar uma execução de circuito.\n \n Retorna o status 200 caso seja possível ou 40(x) caso não seja possível.\n tags: – Queries x-senior-visibility: PRIVATE parameters: – name: circuitoId description: ID do Circuito que será executado in: query required: true type: string – name: agendaId description: ID da Agenda que será executada in: query required: true type: string – name: veiculoId description: ID da Composição de Veículos que entrará no circuito in: query required: true type: string – name: motoristaId description: ID do Motorista que entrará no circuito in: query required: true type: string – name: sequenciaCircuitoId description: ID da primeira sequência que será executada in: query required: true type: string – name: vagaId description: ID da vaga a ser ocupada pelo veículo in: query type: string responses: 200: description: Ok schema: type: object default: description: Error response schema: #/definitions/genericError /patio/queries/healthcheck: post: description: Query para o SRE verificar a disponibilidade do serviço tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object responses: 200: description: Ok schema: type: object required: – status – checks properties: status: type: string allOf: – #/definitions/serviceHealthStatus description: Status do serviço checks: type: array items: type: object allOf: – #/definitions/checkData minimum: 1 description: Verificações para assegurar o status default: description: Error response schema: #/definitions/genericError get: description: Query para o SRE verificar a disponibilidade do serviço tags: – Queries x-senior-visibility: PRIVATE parameters: responses: 200: description: Ok schema: type: object required: – status – checks properties: status: type: string allOf: – #/definitions/serviceHealthStatus description: Status do serviço checks: type: array items: type: object allOf: – #/definitions/checkData minimum: 1 description: Verificações para assegurar o status default: description: Error response schema: #/definitions/genericError /patio/queries/buscarTipoAgendamento: post: description: Busca os tipos de agendamento de acordo com o(s) filtro(s) informados tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – page – size properties: plantaId: type: string description: Id da planta tipoAtividade: type: string allOf: – #/definitions/tipoAtividadeTipoAgedamento description: Tipo de atividade do agendamento descricao: type: string description: Descrição do agendamento page: type: integer format: int64 description: Offset para paginação size: type: integer format: int64 description: Quantos itens exibir sortField: type: string description: Campo para ordenação sortOrder: type: integer format: int64 description: Se ordenação é ascendente ou descendente responses: 200: description: Ok schema: type: object required: – tiposAgendamento – totalElements – totalPages properties: tiposAgendamento: type: array items: type: object allOf: – #/definitions/tipoAgendamento minimum: 1 description: Tipos de agendamento vinculados a planta totalElements: type: integer format: int64 description: Total de elementos para paginação totalPages: type: integer format: int64 description: Total de paginas para paginação default: description: Error response schema: #/definitions/genericError /patio/queries/getMetadata: post: description: Default getMetadata query. Every service must handle this command and return metadata in the format requested. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: metadataFormat: type: string description: responses: 200: description: Ok schema: type: object required: – metadata properties: metadata: type: string description: default: description: Error response schema: #/definitions/genericError get: description: Default getMetadata query. Every service must handle this command and return metadata in the format requested. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: metadataFormat description: in: query type: string responses: 200: description: Ok schema: type: object required: – metadata properties: metadata: type: string description: default: description: Error response schema: #/definitions/genericError /patio/queries/exportArea: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError /patio/queries/exportVaga: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError /patio/queries/exportCircuito: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError /patio/queries/exportExecucaoCircuito: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError /patio/queries/exportPlanta: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError /patio/queries/exportEndereco: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError /patio/queries/exportTipoVeiculo: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError /patio/queries/exportVeiculo: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError /patio/queries/exportMotorista: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError /patio/queries/exportControleArea: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError /patio/queries/exportTurno: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError /patio/queries/exportTurnoData: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError /patio/queries/exportSelecaoDescritor: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError /patio/queries/exportComposicaoVeiculo: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError /patio/queries/exportControleRotina: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError /patio/queries/exportFila: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError /patio/queries/exportAgenda: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError /patio/queries/exportTipoAgendamento: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError /patio/queries/exportAnexo: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError /patio/queries/exportExternalTenant: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError /patio/queries/exportExternalUser: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError /patio/queries/exportLimiteOperacao: post: description: tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/exportConfig description: responses: 200: description: Ok schema: type: object required: – exportJobId properties: exportJobId: type: string description: default: description: Error response schema: #/definitions/genericError /patio/queries/getDependencies: post: description: Returns a list with all dependencies from this service, along with their respective versions tags: – Queries x-senior-visibility: PUBLIC responses: 200: description: Ok schema: type: object required: – dependencies properties: dependencies: type: array items: type: object allOf: – #/definitions/dependency minimum: 1 description: List with this service dependencies default: description: Error response schema: #/definitions/genericError get: description: Returns a list with all dependencies from this service, along with their respective versions tags: – Queries x-senior-visibility: PUBLIC responses: 200: description: Ok schema: type: object required: – dependencies properties: dependencies: type: array items: type: object allOf: – #/definitions/dependency minimum: 1 description: List with this service dependencies default: description: Error response schema: #/definitions/genericError /patio/actions/ativarArea: post: description: Ação para ativar uma area tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – idArea properties: idArea: type: string description: Area que será ativada responses: 200: description: Ok schema: type: object required: – area properties: area: type: object allOf: – #/definitions/area description: Area ativa default: description: Error response schema: #/definitions/genericError /patio/actions/desativarArea: post: description: Ação para desativar area tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – idArea properties: idArea: type: string description: Area que sera desativada responses: 200: description: Ok schema: type: object required: – area properties: area: type: object allOf: – #/definitions/area description: Area desativada default: description: Error response schema: #/definitions/genericError /patio/actions/bloquearVaga: post: description: Ação para bloquear uma vaga tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – idVaga – motivo properties: idVaga: type: string description: Vaga que será bloqueada motivo: type: string description: Motivo do bloqueio responses: 200: description: Ok schema: type: object required: – vaga properties: vaga: type: object allOf: – #/definitions/vaga description: Vaga bloqueada default: description: Error response schema: #/definitions/genericError /patio/actions/desbloquearVaga: post: description: Ação para desbloquear uma vaga tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – idVaga properties: idVaga: type: string description: Vaga que será desbloqueada responses: 200: description: Ok schema: type: object required: – vaga properties: vaga: type: object allOf: – #/definitions/vaga description: Vaga desbloqueada default: description: Error response schema: #/definitions/genericError /patio/actions/bloquearArea: post: description: Ação para bloquear uma área tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – idArea – motivo properties: idArea: type: string description: Área que será bloqueada motivo: type: string description: Motivo do bloqueio responses: 200: description: Ok schema: type: object required: – area properties: area: type: object allOf: – #/definitions/area description: Área bloqueada default: description: Error response schema: #/definitions/genericError /patio/actions/desbloquearArea: post: description: Ação para desbloquear área tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – idArea properties: idArea: type: string description: Área que será desbloqueada responses: 200: description: Ok schema: type: object required: – area properties: area: type: object allOf: – #/definitions/area description: Área desativada default: description: Error response schema: #/definitions/genericError /patio/actions/executarCircuito: post: description: Ação para avançar o veículo no circuito tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – execucaoCircuitoId – sequenciaCircuitoId properties: execucaoCircuitoId: type: string description: Referênicia para a execução do circuito sequenciaCircuitoId: type: string description: Proxima sequencia da execucao vagaId: type: string description: Vaga a ser ocupada responses: 200: description: Ok schema: type: object required: – execucaoCircuito properties: execucaoCircuito: type: object allOf: – #/definitions/execucaoCircuito description: Execução do circuito com a nova sequência default: description: Error response schema: #/definitions/genericError /patio/actions/reverterCircuito: post: description: Ação para reverter a execução do circuito tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – execucaoCircuitoId – sequenciaCircuitoId properties: execucaoCircuitoId: type: string description: Referênicia para a execução do circuito sequenciaCircuitoId: type: string description: Sequencia da execucao anterior vagaId: type: string description: Vaga a ser ocupada responses: 200: description: Ok schema: type: object required: – execucaoCircuito properties: execucaoCircuito: type: object allOf: – #/definitions/execucaoCircuito description: Execução do circuito com a sequência anterior default: description: Error response schema: #/definitions/genericError /patio/actions/finalizarCircuito: post: description: Ação para finalizar a execução do circuito tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – execucaoCircuitoId properties: execucaoCircuitoId: type: string description: Referênicia para a execução do circuito responses: 200: description: Ok schema: type: object required: – execucaoCircuito properties: execucaoCircuito: type: object allOf: – #/definitions/execucaoCircuito description: Execução do circuito finalizada default: description: Error response schema: #/definitions/genericError /patio/actions/criarExecucaoCircuito: post: description: Ação para criar a execução do circuito tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – circuitoId – agendaId – veiculoId – motoristaId – sequenciaCircuitoId properties: circuitoId: type: string description: ID do Circuito que será executado agendaId: type: string description: ID da Agenda que será executada veiculoId: type: string description: ID da Composição de Veículos que entrará no circuito motoristaId: type: string description: ID do Motorista que entrará no circuito sequenciaCircuitoId: type: string description: ID da primeira sequência que será executada vagaId: type: string description: ID da vaga a ser ocupada pelo veículo observacao: type: string description: Observações da execução responses: 200: description: Ok schema: type: object required: – execucaoCircuito properties: execucaoCircuito: type: object allOf: – #/definitions/execucaoCircuito description: A execucao do circuito criada default: description: Error response schema: #/definitions/genericError /patio/actions/confirmarChegadaVeiculo: post: description: Confirma a chegada do veículo na área da sequência tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – execucaoCircuitoId – areaId properties: execucaoCircuitoId: type: string description: Id da execução do circuito areaId: type: string description: Id da área em que o veículo chegou responses: 200: description: Ok schema: type: object required: – execucaoCircuito properties: execucaoCircuito: type: object allOf: – #/definitions/execucaoCircuito description: A execução do circuito com a área confirmada default: description: Error response schema: #/definitions/genericError /patio/actions/filtrarExecucaoCircuito: post: description: Endpoint para filtrar circuito por seus relacionamentos tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – page – size properties: plantaId: type: string description: Id da planta areaId: type: string description: Id da área circuitoId: type: string description: Id do circuito veiculoId: type: string description: Id do veículo vagaId: type: string description: Id da vaga page: type: integer format: int64 description: Offset para paginação size: type: integer format: int64 description: Quantos itens exibir sortField: type: string description: Campo para ordenação sortOrder: type: integer format: int64 description: Se ordenação é ascendente ou descendete responses: 200: description: Ok schema: type: object required: – execucoes – totalElements – totalPages properties: execucoes: type: array items: type: object allOf: – #/definitions/execucaoCircuito minimum: 1 description: Lista de execuções filtradas totalElements: type: integer format: int64 description: Total de elementos para paginação totalPages: type: integer format: int64 description: Total de paginas para paginação default: description: Error response schema: #/definitions/genericError /patio/actions/cancelarExecucaoCircuitoReiniciarAgendamento: post: description: Cancelar a Execução do Circuito sem cancelar o agendamento tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – execucaoCircuitoId properties: execucaoCircuitoId: type: string description: Execucao a ser Cancelado responses: 200: description: Ok schema: type: object required: – circuitoCancelado properties: circuitoCancelado: type: object allOf: – #/definitions/execucaoCircuito description: Circuito Cancelado default: description: Error response schema: #/definitions/genericError /patio/actions/cancelarExecucaoCircuitoCancelarAgendamento: post: description: Cancelar a Execução do Circuito e Cancelar o agendamento tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – execucaoCircuitoId properties: execucaoCircuitoId: type: string description: Execucao a ser Cancelado responses: 200: description: Ok schema: type: object required: – circuitoCancelado properties: circuitoCancelado: type: object allOf: – #/definitions/execucaoCircuito description: Circuito Cancelado default: description: Error response schema: #/definitions/genericError /patio/actions/adicionaVariavelExecucaoCircuito: post: description: Salva uma variável na execução circuito. tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – execucaoCircuitoId – alvoId – chave – valor properties: execucaoCircuitoId: type: string description: ID da execução circuito alvoId: type: string description: ID da Sequência ou Área ao qual as variáveis devem ser vinculadas chave: type: string description: Chave da variável, caso já exista, o valor será substituído valor: type: string description: Valor da variável responses: 200: description: Ok schema: type: object required: – execucaoCircuito properties: execucaoCircuito: type: object allOf: – #/definitions/execucaoCircuito description: A execução do circuito com as variáveis adicionadas default: description: Error response schema: #/definitions/genericError /patio/actions/adicionaImagemExecucaoCircuito: post: description: Salva uma imagem nas variáveis na execução circuito. tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – execucaoCircuitoId – alvoId – cameraIp – imagemUrl properties: execucaoCircuitoId: type: string description: ID da execução circuito alvoId: type: string description: ID da Sequência ou Área ao qual a imagem deve ser vinculada cameraIp: type: string description: IP da câmera que tirou a foto imagemUrl: type: string description: URL em que a imagem está hospedada responses: 200: description: Ok schema: type: object required: – execucaoCircuito properties: execucaoCircuito: type: object allOf: – #/definitions/execucaoCircuito description: A execução do circuito com as variáveis adicionadas default: description: Error response schema: #/definitions/genericError /patio/actions/vagaChangeAll: post: description: Retorna todas as vagas cadastradas tags: – Actions x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – vaga properties: vaga: type: array items: type: object allOf: – #/definitions/vaga minimum: 1 description: Lista de vagas default: description: Error response schema: #/definitions/genericError /patio/actions/filtrarVaga: post: description: Endpoint para filtrar Vaga por seus relacionamentos tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – page – size properties: descricao: type: string description: Descricao da Vaga rua: type: integer format: int64 description: Rua da Vaga numero: type: integer format: int64 description: Numero da Vaga areaId: type: string description: Id da area ocupada: type: boolean description: Vaga ocupada ativo: type: boolean description: Vaga ativa page: type: integer format: int64 description: Offset para paginação size: type: integer format: int64 description: Quantos itens exibir sortField: type: string description: Campo para ordenação sortOrder: type: integer format: int64 description: Se ordenação é ascendente ou descendete bloqueio: type: boolean description: Vaga bloqueada responses: 200: description: Ok schema: type: object required: – vagas – totalElements – totalPages properties: vagas: type: array items: type: object allOf: – #/definitions/vaga minimum: 1 description: Lista de execuções filtradas totalElements: type: integer format: int64 description: Total de elementos para paginação totalPages: type: integer format: int64 description: Total de paginas para paginação default: description: Error response schema: #/definitions/genericError /patio/actions/filtrarAgenda: post: description: Endpoint para filtrar Agendamentos por seus relacionamentos tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – page – size properties: plantaId: type: string description: Id da planta descricao: type: string description: Id da ExternalTenant dataEsperada: type: string format: date description: Data esperada do Agendamento status: type: string allOf: – #/definitions/statusAgendamento description: Status do Agendamento motoristaId: type: string description: Id do Motorista veiculoId: type: string description: Id do Veículo tipoAgendamentoId: type: string description: Id do tipo de agendamento page: type: integer format: int64 description: Offset para paginação size: type: integer format: int64 description: Quantos itens exibir sortField: type: string description: Campo para ordenação sortOrder: type: integer format: int64 description: Se ordenação é ascendente ou descendete responses: 200: description: Ok schema: type: object required: – agendas – totalElements – totalPages properties: agendas: type: array items: type: object allOf: – #/definitions/agenda minimum: 1 description: Lista de execuções filtradas totalElements: type: integer format: int64 description: Total de elementos para paginação totalPages: type: integer format: int64 description: Total de paginas para paginação default: description: Error response schema: #/definitions/genericError /patio/actions/bloquearVeiculo: post: description: Ação para bloquear um veículo tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – veiculoId – motivo properties: veiculoId: type: string description: ID do veículo que será bloqueado motivo: type: string description: Motivo do bloqueio responses: 200: description: Ok schema: type: object required: – veiculo properties: veiculo: type: object allOf: – #/definitions/veiculo description: Veículo bloqueado default: description: Error response schema: #/definitions/genericError /patio/actions/desbloquearVeiculo: post: description: Ação para desbloquear um veículo tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – veiculoId properties: veiculoId: type: string description: ID do veículo que será desbloqueado responses: 200: description: Ok schema: type: object required: – veiculo properties: veiculo: type: object allOf: – #/definitions/veiculo description: Veículo desbloqueado default: description: Error response schema: #/definitions/genericError /patio/actions/bloquearMotorista: post: description: Ação para bloquear um motorista tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – motoristaId – motivo properties: motoristaId: type: string description: ID do motorista que será bloqueado motivo: type: string description: Motivo do bloqueio responses: 200: description: Ok schema: type: object required: – motorista properties: motorista: type: object allOf: – #/definitions/motorista description: Motorista bloqueado default: description: Error response schema: #/definitions/genericError /patio/actions/desbloquearMotorista: post: description: Ação para desbloquear um motorista tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – motoristaId properties: motoristaId: type: string description: ID do motorista que será desbloqueado responses: 200: description: Ok schema: type: object required: – motorista properties: motorista: type: object allOf: – #/definitions/motorista description: Motorista desbloqueado default: description: Error response schema: #/definitions/genericError /patio/actions/atualizarAgenda: post: description: Ação para atualizar a agenda no serviço de agendamentos tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – agenda properties: agenda: type: object allOf: – #/definitions/agenda description: Dados para atualizar a agenda responses: 200: description: Ok schema: type: object default: description: Error response schema: #/definitions/genericError /patio/actions/cadastrarAgendamentoSimplificado: post: description: \n Cadastra um novo agendamento de maneira simplificada.\n \n Esta ação cadastra um agendamento, já colocando seu status como agendado. A data esperada\n será o momento do cadastro. As validações de turno e limite de operação não serão feitas,\n por isso é recomendado que utilize esta chamada apenas na chegada do veículo.\n tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – descricao – tipoAgendamentoId – plantaId properties: descricao: type: string description: Descrição do agendamento tipoAgendamentoId: type: string description: ID do tipo de agendamento plantaId: type: string description: ID da planta parceiroId: type: string description: ID do parceiro (Cliente Externo) motoristaId: type: string description: ID do motorista composicaoVeiculoId: type: string description: ID da composicao de veículo observacao: type: string description: Observação do agendamento responses: 200: description: Ok schema: type: object allOf: – #/definitions/agenda default: description: Error response schema: #/definitions/genericError /patio/actions/cadastrarTurnoPorDiaSemana: post: description: Ação para criar turnos vinculados aos dias da semana. Será criado turnos a partir do dia em que essa ação for executada até o último dia do ano corrente. tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – horaInicio – horaFim – plantaId – dias properties: descricao: type: string description: Descrição do turno horaInicio: type: string description: Horário de início do turno horaFim: type: string description: Horário de fim do turno plantaId: type: string description: ID da Planta ao qual o turno será vinculado dias: type: array items: type: integer format: int64 minimum: 1 description: \n Lista de dias da semana ao qual o turno será vinculadado. Os dias são identificados por números naturais, onde:\n * Segunda feira = 1\n * Terça feira = 2\n * Quarta feira = 3\n * Quinta feira = 4\n * Sexta feira = 5\n * Sábado = 6\n * Domingo = 7\n responses: 200: description: Ok schema: type: object required: – turnos properties: turnos: type: array items: type: object allOf: – #/definitions/turnoData minimum: 1 description: Lista de turnos criados para os dias escolhidos. Observação: a lista retornada pela ação contém os turnos para os primeiros dias informados. default: description: Error response schema: #/definitions/genericError /patio/actions/cadastrarTurnoPorDia: post: description: Ação para criar turnos vinculados aos dias selecionados. tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – horaInicio – horaFim – plantaId – dias properties: descricao: type: string description: Descrição do turno horaInicio: type: string description: Horário de início do turno horaFim: type: string description: Horário de fim do turno plantaId: type: string description: ID da Planta ao qual o turno será vinculado dias: type: array items: type: string format: date minimum: 1 description: Dias aos quais o turno será vinculado responses: 200: description: Ok schema: type: object required: – turnos properties: turnos: type: array items: type: object allOf: – #/definitions/turnoData minimum: 1 description: Lista de turnos criados para os dias escolhidos. default: description: Error response schema: #/definitions/genericError /patio/actions/bloquearTurno: post: description: Ação para bloquear um turno. Ao bloquear o turno especificado, todas as datas vinculadas ao mesmo é automaticamente bloqueadas. tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – turnoId – motivo properties: turnoId: type: string description: ID do turno ao qual se pretende bloquear motivo: type: string description: Um motivo para bloqueio do turno responses: 200: description: Ok schema: type: object required: – turno properties: turno: type: object allOf: – #/definitions/turno description: Representa o turno bloqueado default: description: Error response schema: #/definitions/genericError /patio/actions/desbloquearTurno: post: description: Ação para desbloquear um turno. Ao desbloquear o turno especificado, todas as datas vinculadas ao mesmo é automaticamente desbloqueadas. tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – turnoId properties: turnoId: type: string description: ID do turno ao qual se pretende desbloquear responses: 200: description: Ok schema: type: object required: – turno properties: turno: type: object allOf: – #/definitions/turno description: Representa o turno desbloqueado default: description: Error response schema: #/definitions/genericError /patio/actions/bloquearTurnoPorData: post: description: Ação para bloquear um turno nas datas especificadas. tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – turnoId – datas – motivo properties: turnoId: type: string description: ID do turno ao qual se pretende bloquear datas: type: array items: type: string format: date minimum: 1 description: Dias aos quais o turno será bloqueado motivo: type: string description: Um motivo para bloqueio do turno responses: 200: description: Ok schema: type: object required: – turnod properties: turnod: type: array items: type: object allOf: – #/definitions/turnoData minimum: 1 description: Representa os turnos bloqueados nas datas especificadas default: description: Error response schema: #/definitions/genericError /patio/actions/desbloquearTurnoPorData: post: description: Ação para desbloquear um turno nas datas especificadas. tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – turnoId – datas properties: turnoId: type: string description: ID do turno ao qual se pretende desbloquear datas: type: array items: type: string format: date minimum: 1 description: Dias aos quais o turno será desbloqueado responses: 200: description: Ok schema: type: object required: – turnod properties: turnod: type: array items: type: object allOf: – #/definitions/turnoData minimum: 1 description: Representa os turnos desbloqueados nas datas especificadas default: description: Error response schema: #/definitions/genericError /patio/actions/cadastrarSelecaoNaSequencia: post: description: Cadastra uma seleção ligado a uma sequência tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – sequenciaId – selecaoDescritor properties: sequenciaId: type: string description: Id da sequência selecaoDescritor: type: object allOf: – #/definitions/selecaoDescritor description: Descritor da seleção responses: 200: description: Ok schema: type: object required: – selecaoDescritor properties: selecaoDescritor: type: object allOf: – #/definitions/selecaoDescritor description: Descritor cadastrado default: description: Error response schema: #/definitions/genericError /patio/actions/cadastrarSelecaoNaArea: post: description: Cadastra uma seleção ligado a uma Área tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – areaId – selecaoDescritor properties: areaId: type: string description: Id da área selecaoDescritor: type: object allOf: – #/definitions/selecaoDescritor description: Descritor da seleção responses: 200: description: Ok schema: type: object required: – selecaoDescritor properties: selecaoDescritor: type: object allOf: – #/definitions/selecaoDescritor description: Descritor cadastrado default: description: Error response schema: #/definitions/genericError /patio/actions/executarSelecao: post: description: Executa as condições e comandos da sequência e área atual da execução do circuito. Caso um controlador seja fornecido pelo parâmetro `controlador` somente o mesmo será executado. tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – variaveis properties: execucaoCircuitoId: type: string description: Id da execução do circuito agendaId: type: string description: Id da agenda variaveis: type: string description: Variáveis no formato JSON necessárias para a execução da seleção controlador: type: string description: Identificador do controlador responses: 200: description: Ok schema: type: object allOf: – #/definitions/execucaoCircuito default: description: Error response schema: #/definitions/genericError /patio/actions/cadastrarFilaItem: post: description: Cria um item na fila a partir de uma execução de circuito tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – execucaoCircuitoId properties: execucaoCircuitoId: type: string description: Id da execução de circuito responses: 200: description: Ok schema: type: object allOf: – #/definitions/filaItem default: description: Error response schema: #/definitions/genericError /patio/actions/moverFilaItem: post: description: Move um item para uma determinada posição absoluta na fila. tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – filaItemId – posicao properties: filaItemId: type: string description: Id do item posicao: type: integer format: int64 description: Nova posição para o item minimum: 0 responses: 200: description: Ok schema: type: object allOf: – #/definitions/filaItem default: description: Error response schema: #/definitions/genericError /patio/actions/chamarFilaItens: post: description: Chama os itens da fila para iniciar operação até atingir o limite da planta tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – filaId properties: filaId: type: string description: Id da fila responses: 200: description: Ok schema: type: object required: – filaItens properties: filaItens: type: array items: type: object allOf: – #/definitions/filaItem minimum: 1 description: Itens da fila que foram chamados default: description: Error response schema: #/definitions/genericError /patio/actions/voltarFilaItem: post: description: Volta o item para o status de aguardando tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – filaItemId properties: filaItemId: type: string description: Id do item responses: 200: description: Ok schema: type: object allOf: – #/definitions/filaItem default: description: Error response schema: #/definitions/genericError /patio/actions/confirmarEntradaFilaItem: post: description: Confirma a entrada do veículo que está na fila para operação tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – execucaoCircuitoId properties: execucaoCircuitoId: type: string description: Id da execução do circuito responses: 200: description: Ok schema: type: object allOf: – #/definitions/filaItem default: description: Error response schema: #/definitions/genericError /patio/actions/criarVeiculo: post: description: Cria um veículo simplificado sendo obrigatório apenas a placa e o tipo de agendamento.\n O tipo de veículo setado como padrão é definido através do tipo de agendamento.\n Caso for um veículo primário, é criada uma composição de veiculo com o mesmo. tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – placa – tipoAgendamento properties: placa: type: string description: Placa do veículo tipoAgendamento: type: object allOf: – #/definitions/tipoAgendamento description: Tipo de agendamento responses: 200: description: Ok schema: type: object required: – composicaoVeiculo properties: composicaoVeiculo: type: object allOf: – #/definitions/composicaoVeiculo description: Veículo criado default: description: Error response schema: #/definitions/genericError /patio/actions/criarMotorista: post: description: Cria um motorista simplificado sendo obrigatório apenas o nome.\n O tipo de motorista setado como padrão é Terceiro tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – nome properties: nome: type: string maxLength: 255 description: Nome do motorista responses: 200: description: Ok schema: type: object required: – motorista properties: motorista: type: object allOf: – #/definitions/motorista description: Motorista criado default: description: Error response schema: #/definitions/genericError /patio/actions/odata: post: description: tags: – Actions x-senior-visibility: PRIVATE responses: 204: description: No response default: description: Error response schema: #/definitions/genericError /patio/actions/importArea: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: default: description: Error response schema: #/definitions/genericError /patio/actions/importVaga: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: default: description: Error response schema: #/definitions/genericError /patio/actions/importCircuito: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: default: description: Error response schema: #/definitions/genericError /patio/actions/importExecucaoCircuito: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: default: description: Error response schema: #/definitions/genericError /patio/actions/importPlanta: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: default: description: Error response schema: #/definitions/genericError /patio/actions/importEndereco: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: default: description: Error response schema: #/definitions/genericError /patio/actions/importTipoVeiculo: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: default: description: Error response schema: #/definitions/genericError /patio/actions/importVeiculo: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: default: description: Error response schema: #/definitions/genericError /patio/actions/importMotorista: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: default: description: Error response schema: #/definitions/genericError /patio/actions/importControleArea: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: default: description: Error response schema: #/definitions/genericError /patio/actions/importTurno: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: default: description: Error response schema: #/definitions/genericError /patio/actions/importTurnoData: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: default: description: Error response schema: #/definitions/genericError /patio/actions/importSelecaoDescritor: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: default: description: Error response schema: #/definitions/genericError /patio/actions/importComposicaoVeiculo: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: default: description: Error response schema: #/definitions/genericError /patio/actions/importControleRotina: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: default: description: Error response schema: #/definitions/genericError /patio/actions/importFila: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: default: description: Error response schema: #/definitions/genericError /patio/actions/importAgenda: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: default: description: Error response schema: #/definitions/genericError /patio/actions/importTipoAgendamento: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: default: description: Error response schema: #/definitions/genericError /patio/actions/importAnexo: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: default: description: Error response schema: #/definitions/genericError /patio/actions/importExternalTenant: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: default: description: Error response schema: #/definitions/genericError /patio/actions/importExternalUser: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: default: description: Error response schema: #/definitions/genericError /patio/actions/importLimiteOperacao: post: description: tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – config properties: config: type: object allOf: – #/definitions/importConfig description: responses: 200: description: Ok schema: type: object required: – importJobId properties: importJobId: type: string description: default: description: Error response schema: #/definitions/genericError /patio/signals/registrarCondicao: post: description: \n Registra uma rotina de condição\n tags: – Signals parameters: – name: input in: body required: true schema: type: object required: – servico – detalhes – habilitado properties: servico: type: string description: Serviço (domain.service) dono da rotina detalhes: type: object allOf: – #/definitions/condicaoDetalhes description: Detalhes de descrição da rotina habilitado: type: boolean description: Indica se a rotina deve estar habilitada ou não para uso responses: 202: description: Accepted default: description: Error response schema: #/definitions/genericError /patio/signals/registrarComando: post: description: \n Registra uma rotina de comando\n tags: – Signals parameters: – name: input in: body required: true schema: type: object required: – servico – detalhes – habilitado properties: servico: type: string description: Serviço (domain.service) dono da rotina detalhes: type: object allOf: – #/definitions/comandoDetalhes description: Detalhes de descrição da rotina habilitado: type: boolean description: Indica se a rotina deve estar habilitada ou não para uso responses: 202: description: Accepted default: description: Error response schema: #/definitions/genericError /patio/signals/condicaoExecutadaComSucesso: post: description: \n Registra que a condição foi executada com sucesso e salva o seu retorno.\n tags: – Signals parameters: – name: input in: body required: true schema: type: object required: – controlador – condicao properties: controlador: type: string description: Id do controlador condicao: type: string description: Id da condição resposta: type: boolean description: Resposta da condição executada responses: 202: description: Accepted default: description: Error response schema: #/definitions/genericError /patio/signals/comandoExecutadoComSucesso: post: description: \n Registra que o comando foi executado com sucesso e salva o seu retorno.\n tags: – Signals parameters: – name: input in: body required: true schema: type: object required: – controlador – comando – variaveisDeEscopo properties: controlador: type: string description: Id do controlador comando: type: string description: Id do comando variaveisDeEscopo: type: string description: Variáveis que devem ser salvas no escopo do controlador responses: 202: description: Accepted default: description: Error response schema: #/definitions/genericError /patio/signals/rotinaExecutadaComErro: post: description: \n Registra que a rotina (condição ou comando) foi executada, contudo houve um erro na execução.\n tags: – Signals parameters: – name: input in: body required: true schema: type: object required: – controlador – tipoRotina – rotina – mensagem properties: controlador: type: string description: Id do controlador tipoRotina: type: string allOf: – #/definitions/tipoRotina description: Tipo da rotina executada rotina: type: string description: Id da rotina mensagem: type: string description: Mensagem contendo os detalhes do erro responses: 202: description: Accepted default: description: Error response schema: #/definitions/genericError /patio/signals/rotinaFaltaParametros: post: description: \n Indica que não foi possível executar a rotina, pois há parâmetros obrigatórios não informados no momento da execução.\n tags: – Signals parameters: – name: input in: body required: true schema: type: object required: – controlador – tipoRotina – rotina – parametros properties: controlador: type: string description: Id do controlador tipoRotina: type: string allOf: – #/definitions/tipoRotina description: Tipo da rotina executada rotina: type: string description: Id da rotina parametros: type: array items: type: object allOf: – #/definitions/parametro minimum: 1 description: Lista de parâmetros ausente responses: 202: description: Accepted default: description: Error response schema: #/definitions/genericError /patio/entities/area: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/area responses: 200: description: The created resource schema: #/definitions/area default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/area responses: 200: description: The created resource schema: #/definitions/area default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/area default: description: Error response schema: #/definitions/genericError /patio/entities/area/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/area responses: 200: description: Ok schema: #/definitions/area default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/area responses: 200: description: Ok schema: #/definitions/area default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/area default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /patio/entities/area/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/area responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /patio/entities/vaga: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/vaga responses: 200: description: The created resource schema: #/definitions/vaga default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/vaga responses: 200: description: The created resource schema: #/definitions/vaga default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/vaga default: description: Error response schema: #/definitions/genericError /patio/entities/vaga/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/vaga responses: 200: description: Ok schema: #/definitions/vaga default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/vaga responses: 200: description: Ok schema: #/definitions/vaga default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/vaga default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /patio/entities/vaga/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/vaga responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /patio/entities/circuito: post: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/circuito responses: 200: description: The created resource schema: #/definitions/circuito default: description: Error response schema: #/definitions/genericError patch: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/circuito responses: 200: description: The created resource schema: #/definitions/circuito default: description: Error response schema: #/definitions/genericError get: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/circuito default: description: Error response schema: #/definitions/genericError /patio/entities/circuito/{id}: put: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/circuito responses: 200: description: Ok schema: #/definitions/circuito default: description: Error response schema: #/definitions/genericError patch: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/circuito responses: 200: description: Ok schema: #/definitions/circuito default: description: Error response schema: #/definitions/genericError get: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/circuito default: description: Error response schema: #/definitions/genericError delete: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /patio/entities/circuito/bulk: post: description: This entity is customizable. tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/circuito responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /patio/entities/sequenciaCircuito: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/sequenciaCircuito responses: 200: description: The created resource schema: #/definitions/sequenciaCircuito default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/sequenciaCircuito responses: 200: description: The created resource schema: #/definitions/sequenciaCircuito default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/sequenciaCircuito default: description: Error response schema: #/definitions/genericError /patio/entities/sequenciaCircuito/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/sequenciaCircuito responses: 200: description: Ok schema: #/definitions/sequenciaCircuito default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/sequenciaCircuito responses: 200: description: Ok schema: #/definitions/sequenciaCircuito default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/sequenciaCircuito default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /patio/entities/circuito/{parentId}/sequencias: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: entity in: body required: true schema: type: array items: #/definitions/sequenciaCircuito responses: 200: description: The created resources schema: type: array items: #/definitions/sequenciaCircuito default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: entity in: body required: true schema: type: array items: #/definitions/sequenciaCircuito responses: 200: description: The created resources schema: type: array items: #/definitions/sequenciaCircuito default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/sequenciaCircuito default: description: Error response schema: #/definitions/genericError /patio/entities/circuito/{parentId}/sequencias/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/sequenciaCircuito responses: 200: description: Ok schema: #/definitions/sequenciaCircuito default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/sequenciaCircuito responses: 200: description: Ok schema: #/definitions/sequenciaCircuito default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/sequenciaCircuito default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /patio/entities/sequenciaCircuito/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/sequenciaCircuito responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /patio/entities/execucaoCircuito: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/execucaoCircuito responses: 200: description: The created resource schema: #/definitions/execucaoCircuito default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/execucaoCircuito responses: 200: description: The created resource schema: #/definitions/execucaoCircuito default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/execucaoCircuito default: description: Error response schema: #/definitions/genericError /patio/entities/execucaoCircuito/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/execucaoCircuito responses: 200: description: Ok schema: #/definitions/execucaoCircuito default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/execucaoCircuito responses: 200: description: Ok schema: #/definitions/execucaoCircuito default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/execucaoCircuito default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /patio/entities/execucaoCircuito/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/execucaoCircuito responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /patio/entities/historicoExecucaoCircuito: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/historicoExecucaoCircuito responses: 200: description: The created resource schema: #/definitions/historicoExecucaoCircuito default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/historicoExecucaoCircuito responses: 200: description: The created resource schema: #/definitions/historicoExecucaoCircuito default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/historicoExecucaoCircuito default: description: Error response schema: #/definitions/genericError /patio/entities/historicoExecucaoCircuito/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/historicoExecucaoCircuito responses: 200: description: Ok schema: #/definitions/historicoExecucaoCircuito default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/historicoExecucaoCircuito responses: 200: description: Ok schema: #/definitions/historicoExecucaoCircuito default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/historicoExecucaoCircuito default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /patio/entities/execucaoCircuito/{parentId}/historico: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: entity in: body required: true schema: type: array items: #/definitions/historicoExecucaoCircuito responses: 200: description: The created resources schema: type: array items: #/definitions/historicoExecucaoCircuito default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: entity in: body required: true schema: type: array items: #/definitions/historicoExecucaoCircuito responses: 200: description: The created resources schema: type: array items: #/definitions/historicoExecucaoCircuito default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/historicoExecucaoCircuito default: description: Error response schema: #/definitions/genericError /patio/entities/execucaoCircuito/{parentId}/historico/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/historicoExecucaoCircuito responses: 200: description: Ok schema: #/definitions/historicoExecucaoCircuito default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/historicoExecucaoCircuito responses: 200: description: Ok schema: #/definitions/historicoExecucaoCircuito default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/historicoExecucaoCircuito default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /patio/entities/historicoExecucaoCircuito/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/historicoExecucaoCircuito responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /patio/entities/ramoExecucao: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/ramoExecucao responses: 200: description: The created resource schema: #/definitions/ramoExecucao default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/ramoExecucao responses: 200: description: The created resource schema: #/definitions/ramoExecucao default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/ramoExecucao default: description: Error response schema: #/definitions/genericError /patio/entities/ramoExecucao/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/ramoExecucao responses: 200: description: Ok schema: #/definitions/ramoExecucao default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/ramoExecucao responses: 200: description: Ok schema: #/definitions/ramoExecucao default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/ramoExecucao default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /patio/entities/execucaoCircuito/{parentId}/ramos: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: entity in: body required: true schema: type: array items: #/definitions/ramoExecucao responses: 200: description: The created resources schema: type: array items: #/definitions/ramoExecucao default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: entity in: body required: true schema: type: array items: #/definitions/ramoExecucao responses: 200: description: The created resources schema: type: array items: #/definitions/ramoExecucao default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/ramoExecucao default: description: Error response schema: #/definitions/genericError /patio/entities/execucaoCircuito/{parentId}/ramos/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/ramoExecucao responses: 200: description: Ok schema: #/definitions/ramoExecucao default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/ramoExecucao responses: 200: description: Ok schema: #/definitions/ramoExecucao default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/ramoExecucao default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /patio/entities/ramoExecucao/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/ramoExecucao responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /patio/entities/planta: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/planta responses: 200: description: The created resource schema: #/definitions/planta default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/planta responses: 200: description: The created resource schema: #/definitions/planta default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/planta default: description: Error response schema: #/definitions/genericError /patio/entities/planta/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/planta responses: 200: description: Ok schema: #/definitions/planta default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/planta responses: 200: description: Ok schema: #/definitions/planta default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/planta default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /patio/entities/planta/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/planta responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /patio/entities/endereco: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/endereco responses: 200: description: The created resource schema: #/definitions/endereco default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/endereco responses: 200: description: The created resource schema: #/definitions/endereco default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/endereco default: description: Error response schema: #/definitions/genericError /patio/entities/endereco/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/endereco responses: 200: description: Ok schema: #/definitions/endereco default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/endereco responses: 200: description: Ok schema: #/definitions/endereco default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/endereco default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /patio/entities/endereco/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/endereco responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /patio/entities/tipoVeiculo: post: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/tipoVeiculo responses: 200: description: The created resource schema: #/definitions/tipoVeiculo default: description: Error response schema: #/definitions/genericError patch: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/tipoVeiculo responses: 200: description: The created resource schema: #/definitions/tipoVeiculo default: description: Error response schema: #/definitions/genericError get: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/tipoVeiculo default: description: Error response schema: #/definitions/genericError /patio/entities/tipoVeiculo/{id}: put: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/tipoVeiculo responses: 200: description: Ok schema: #/definitions/tipoVeiculo default: description: Error response schema: #/definitions/genericError patch: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/tipoVeiculo responses: 200: description: Ok schema: #/definitions/tipoVeiculo default: description: Error response schema: #/definitions/genericError get: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/tipoVeiculo default: description: Error response schema: #/definitions/genericError delete: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /patio/entities/tipoVeiculo/bulk: post: description: This entity is customizable. tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/tipoVeiculo responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /patio/entities/veiculo: post: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/veiculo responses: 200: description: The created resource schema: #/definitions/veiculo default: description: Error response schema: #/definitions/genericError patch: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/veiculo responses: 200: description: The created resource schema: #/definitions/veiculo default: description: Error response schema: #/definitions/genericError get: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/veiculo default: description: Error response schema: #/definitions/genericError /patio/entities/veiculo/{id}: put: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/veiculo responses: 200: description: Ok schema: #/definitions/veiculo default: description: Error response schema: #/definitions/genericError patch: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/veiculo responses: 200: description: Ok schema: #/definitions/veiculo default: description: Error response schema: #/definitions/genericError get: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/veiculo default: description: Error response schema: #/definitions/genericError delete: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /patio/entities/veiculo/bulk: post: description: This entity is customizable. tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/veiculo responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /patio/entities/compartimento: post: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/compartimento responses: 200: description: The created resource schema: #/definitions/compartimento default: description: Error response schema: #/definitions/genericError patch: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/compartimento responses: 200: description: The created resource schema: #/definitions/compartimento default: description: Error response schema: #/definitions/genericError get: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/compartimento default: description: Error response schema: #/definitions/genericError /patio/entities/compartimento/{id}: put: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/compartimento responses: 200: description: Ok schema: #/definitions/compartimento default: description: Error response schema: #/definitions/genericError patch: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/compartimento responses: 200: description: Ok schema: #/definitions/compartimento default: description: Error response schema: #/definitions/genericError get: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/compartimento default: description: Error response schema: #/definitions/genericError delete: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /patio/entities/veiculo/{parentId}/compartimentos: post: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: entity in: body required: true schema: type: array items: #/definitions/compartimento responses: 200: description: The created resources schema: type: array items: #/definitions/compartimento default: description: Error response schema: #/definitions/genericError patch: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: entity in: body required: true schema: type: array items: #/definitions/compartimento responses: 200: description: The created resources schema: type: array items: #/definitions/compartimento default: description: Error response schema: #/definitions/genericError get: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/compartimento default: description: Error response schema: #/definitions/genericError /patio/entities/veiculo/{parentId}/compartimentos/{id}: put: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/compartimento responses: 200: description: Ok schema: #/definitions/compartimento default: description: Error response schema: #/definitions/genericError patch: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/compartimento responses: 200: description: Ok schema: #/definitions/compartimento default: description: Error response schema: #/definitions/genericError get: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/compartimento default: description: Error response schema: #/definitions/genericError delete: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /patio/entities/compartimento/bulk: post: description: This entity is customizable. tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/compartimento responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /patio/entities/seta: post: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/seta responses: 200: description: The created resource schema: #/definitions/seta default: description: Error response schema: #/definitions/genericError patch: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/seta responses: 200: description: The created resource schema: #/definitions/seta default: description: Error response schema: #/definitions/genericError get: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/seta default: description: Error response schema: #/definitions/genericError /patio/entities/seta/{id}: put: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/seta responses: 200: description: Ok schema: #/definitions/seta default: description: Error response schema: #/definitions/genericError patch: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/seta responses: 200: description: Ok schema: #/definitions/seta default: description: Error response schema: #/definitions/genericError get: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/seta default: description: Error response schema: #/definitions/genericError delete: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /patio/entities/compartimento/{parentId}/setas: post: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: entity in: body required: true schema: type: array items: #/definitions/seta responses: 200: description: The created resources schema: type: array items: #/definitions/seta default: description: Error response schema: #/definitions/genericError patch: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: entity in: body required: true schema: type: array items: #/definitions/seta responses: 200: description: The created resources schema: type: array items: #/definitions/seta default: description: Error response schema: #/definitions/genericError get: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/seta default: description: Error response schema: #/definitions/genericError /patio/entities/compartimento/{parentId}/setas/{id}: put: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/seta responses: 200: description: Ok schema: #/definitions/seta default: description: Error response schema: #/definitions/genericError patch: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/seta responses: 200: description: Ok schema: #/definitions/seta default: description: Error response schema: #/definitions/genericError get: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/seta default: description: Error response schema: #/definitions/genericError delete: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /patio/entities/seta/bulk: post: description: This entity is customizable. tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/seta responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /patio/entities/motorista: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/motorista responses: 200: description: The created resource schema: #/definitions/motorista default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/motorista responses: 200: description: The created resource schema: #/definitions/motorista default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/motorista default: description: Error response schema: #/definitions/genericError /patio/entities/motorista/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/motorista responses: 200: description: Ok schema: #/definitions/motorista default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/motorista responses: 200: description: Ok schema: #/definitions/motorista default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/motorista default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /patio/entities/motorista/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/motorista responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /patio/entities/controleArea: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/controleArea responses: 200: description: The created resource schema: #/definitions/controleArea default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/controleArea responses: 200: description: The created resource schema: #/definitions/controleArea default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/controleArea default: description: Error response schema: #/definitions/genericError /patio/entities/controleArea/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/controleArea responses: 200: description: Ok schema: #/definitions/controleArea default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/controleArea responses: 200: description: Ok schema: #/definitions/controleArea default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/controleArea default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /patio/entities/controleArea/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/controleArea responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /patio/entities/turno: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/turno responses: 200: description: The created resource schema: #/definitions/turno default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/turno responses: 200: description: The created resource schema: #/definitions/turno default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/turno default: description: Error response schema: #/definitions/genericError /patio/entities/turno/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/turno responses: 200: description: Ok schema: #/definitions/turno default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/turno responses: 200: description: Ok schema: #/definitions/turno default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/turno default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /patio/entities/turno/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/turno responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /patio/entities/turnoData: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/turnoData responses: 200: description: The created resource schema: #/definitions/turnoData default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/turnoData responses: 200: description: The created resource schema: #/definitions/turnoData default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/turnoData default: description: Error response schema: #/definitions/genericError /patio/entities/turnoData/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/turnoData responses: 200: description: Ok schema: #/definitions/turnoData default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/turnoData responses: 200: description: Ok schema: #/definitions/turnoData default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/turnoData default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /patio/entities/turnoData/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/turnoData responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /patio/entities/condicaoDescritor: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/condicaoDescritor responses: 200: description: The created resource schema: #/definitions/condicaoDescritor default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/condicaoDescritor responses: 200: description: The created resource schema: #/definitions/condicaoDescritor default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/condicaoDescritor default: description: Error response schema: #/definitions/genericError /patio/entities/condicaoDescritor/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/condicaoDescritor responses: 200: description: Ok schema: #/definitions/condicaoDescritor default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/condicaoDescritor responses: 200: description: Ok schema: #/definitions/condicaoDescritor default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/condicaoDescritor default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /patio/entities/rotinaDescritor/{parentId}/condicao: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: entity in: body required: true schema: type: object allOf: – #/definitions/condicaoDescritor responses: 200: description: The created resource schema: #/definitions/condicaoDescritor default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: entity in: body required: true schema: type: object allOf: – #/definitions/condicaoDescritor responses: 200: description: The created resource schema: #/definitions/condicaoDescritor default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/condicaoDescritor default: description: Error response schema: #/definitions/genericError /patio/entities/rotinaDescritor/{parentId}/condicao/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/condicaoDescritor responses: 200: description: Ok schema: #/definitions/condicaoDescritor default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/condicaoDescritor responses: 200: description: Ok schema: #/definitions/condicaoDescritor default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/condicaoDescritor default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /patio/entities/condicaoDescritor/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/condicaoDescritor responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /patio/entities/comandoDescritor: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/comandoDescritor responses: 200: description: The created resource schema: #/definitions/comandoDescritor default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/comandoDescritor responses: 200: description: The created resource schema: #/definitions/comandoDescritor default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/comandoDescritor default: description: Error response schema: #/definitions/genericError /patio/entities/comandoDescritor/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/comandoDescritor responses: 200: description: Ok schema: #/definitions/comandoDescritor default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/comandoDescritor responses: 200: description: Ok schema: #/definitions/comandoDescritor default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/comandoDescritor default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /patio/entities/rotinaDescritor/{parentId}/comandos: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: entity in: body required: true schema: type: array items: #/definitions/comandoDescritor responses: 200: description: The created resources schema: type: array items: #/definitions/comandoDescritor default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: entity in: body required: true schema: type: array items: #/definitions/comandoDescritor responses: 200: description: The created resources schema: type: array items: #/definitions/comandoDescritor default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/comandoDescritor default: description: Error response schema: #/definitions/genericError /patio/entities/rotinaDescritor/{parentId}/comandos/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/comandoDescritor responses: 200: description: Ok schema: #/definitions/comandoDescritor default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/comandoDescritor responses: 200: description: Ok schema: #/definitions/comandoDescritor default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/comandoDescritor default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /patio/entities/comandoDescritor/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/comandoDescritor responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /patio/entities/selecaoDescritor: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/selecaoDescritor responses: 200: description: The created resource schema: #/definitions/selecaoDescritor default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/selecaoDescritor responses: 200: description: The created resource schema: #/definitions/selecaoDescritor default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/selecaoDescritor default: description: Error response schema: #/definitions/genericError /patio/entities/selecaoDescritor/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/selecaoDescritor responses: 200: description: Ok schema: #/definitions/selecaoDescritor default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/selecaoDescritor responses: 200: description: Ok schema: #/definitions/selecaoDescritor default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/selecaoDescritor default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /patio/entities/selecaoDescritor/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/selecaoDescritor responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /patio/entities/rotinaDescritor: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/rotinaDescritor responses: 200: description: The created resource schema: #/definitions/rotinaDescritor default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/rotinaDescritor responses: 200: description: The created resource schema: #/definitions/rotinaDescritor default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/rotinaDescritor default: description: Error response schema: #/definitions/genericError /patio/entities/rotinaDescritor/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/rotinaDescritor responses: 200: description: Ok schema: #/definitions/rotinaDescritor default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/rotinaDescritor responses: 200: description: Ok schema: #/definitions/rotinaDescritor default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/rotinaDescritor default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /patio/entities/selecaoDescritor/{parentId}/rotinas: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: entity in: body required: true schema: type: array items: #/definitions/rotinaDescritor responses: 200: description: The created resources schema: type: array items: #/definitions/rotinaDescritor default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: entity in: body required: true schema: type: array items: #/definitions/rotinaDescritor responses: 200: description: The created resources schema: type: array items: #/definitions/rotinaDescritor default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/rotinaDescritor default: description: Error response schema: #/definitions/genericError /patio/entities/selecaoDescritor/{parentId}/rotinas/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/rotinaDescritor responses: 200: description: Ok schema: #/definitions/rotinaDescritor default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/rotinaDescritor responses: 200: description: Ok schema: #/definitions/rotinaDescritor default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/rotinaDescritor default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /patio/entities/rotinaDescritor/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/rotinaDescritor responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /patio/entities/composicaoVeiculo: post: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/composicaoVeiculo responses: 200: description: The created resource schema: #/definitions/composicaoVeiculo default: description: Error response schema: #/definitions/genericError patch: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/composicaoVeiculo responses: 200: description: The created resource schema: #/definitions/composicaoVeiculo default: description: Error response schema: #/definitions/genericError get: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/composicaoVeiculo default: description: Error response schema: #/definitions/genericError /patio/entities/composicaoVeiculo/{id}: put: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/composicaoVeiculo responses: 200: description: Ok schema: #/definitions/composicaoVeiculo default: description: Error response schema: #/definitions/genericError patch: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/composicaoVeiculo responses: 200: description: Ok schema: #/definitions/composicaoVeiculo default: description: Error response schema: #/definitions/genericError get: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/composicaoVeiculo default: description: Error response schema: #/definitions/genericError delete: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /patio/entities/composicaoVeiculo/bulk: post: description: This entity is customizable. tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/composicaoVeiculo responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /patio/entities/controleRotina: get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/controleRotina default: description: Error response schema: #/definitions/genericError /patio/entities/logRotina: get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/logRotina default: description: Error response schema: #/definitions/genericError /patio/entities/controleRotina/{parentId}/logs: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: entity in: body required: true schema: type: array items: #/definitions/logRotina responses: 200: description: The created resources schema: type: array items: #/definitions/logRotina default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: entity in: body required: true schema: type: array items: #/definitions/logRotina responses: 200: description: The created resources schema: type: array items: #/definitions/logRotina default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/logRotina default: description: Error response schema: #/definitions/genericError /patio/entities/controleRotina/{parentId}/logs/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/logRotina responses: 200: description: Ok schema: #/definitions/logRotina default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/logRotina responses: 200: description: Ok schema: #/definitions/logRotina default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/logRotina default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /patio/entities/fila: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/fila responses: 200: description: The created resource schema: #/definitions/fila default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/fila responses: 200: description: The created resource schema: #/definitions/fila default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/fila default: description: Error response schema: #/definitions/genericError /patio/entities/fila/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/fila responses: 200: description: Ok schema: #/definitions/fila default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/fila responses: 200: description: Ok schema: #/definitions/fila default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/fila default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /patio/entities/fila/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/fila responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /patio/entities/filaItem: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/filaItem responses: 200: description: The created resource schema: #/definitions/filaItem default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/filaItem responses: 200: description: The created resource schema: #/definitions/filaItem default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/filaItem default: description: Error response schema: #/definitions/genericError /patio/entities/filaItem/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/filaItem responses: 200: description: Ok schema: #/definitions/filaItem default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/filaItem responses: 200: description: Ok schema: #/definitions/filaItem default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/filaItem default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /patio/entities/fila/{parentId}/itens: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: entity in: body required: true schema: type: array items: #/definitions/filaItem responses: 200: description: The created resources schema: type: array items: #/definitions/filaItem default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: entity in: body required: true schema: type: array items: #/definitions/filaItem responses: 200: description: The created resources schema: type: array items: #/definitions/filaItem default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/filaItem default: description: Error response schema: #/definitions/genericError /patio/entities/fila/{parentId}/itens/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/filaItem responses: 200: description: Ok schema: #/definitions/filaItem default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/filaItem responses: 200: description: Ok schema: #/definitions/filaItem default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/filaItem default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: parentId in: path required: true type: string – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /patio/entities/filaItem/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/filaItem responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /patio/entities/agenda: get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/agenda default: description: Error response schema: #/definitions/genericError /patio/entities/agenda/{id}: get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/agenda default: description: Error response schema: #/definitions/genericError /patio/entities/tipoAgendamento: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/tipoAgendamento responses: 200: description: The created resource schema: #/definitions/tipoAgendamento default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/tipoAgendamento responses: 200: description: The created resource schema: #/definitions/tipoAgendamento default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/tipoAgendamento default: description: Error response schema: #/definitions/genericError /patio/entities/tipoAgendamento/{id}: put: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/tipoAgendamento responses: 200: description: Ok schema: #/definitions/tipoAgendamento default: description: Error response schema: #/definitions/genericError patch: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/tipoAgendamento responses: 200: description: Ok schema: #/definitions/tipoAgendamento default: description: Error response schema: #/definitions/genericError get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/tipoAgendamento default: description: Error response schema: #/definitions/genericError delete: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /patio/entities/tipoAgendamento/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/tipoAgendamento responses: 200: description: The bulk creation has created resources default: description: Error response schema: #/definitions/genericError /patio/entities/anexo: get: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/anexo default: description: Error response schema: #/definitions/genericError /patio/entities/anexo/{id}: get: description: This entity is customizable. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/anexo default: description: Error response schema: #/definitions/genericError /patio/entities/externalTenant: get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/externalTenant default: description: Error response schema: #/definitions/genericError /patio/entities/externalTenant/{id}: get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/externalTenant default: description: Error response schema: #/definitions/genericError /patio/entities/externalUser: get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/externalUser default: description: Error response schema: #/definitions/genericError /patio/entities/externalUser/{id}: get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/externalUser default: description: Error response schema: #/definitions/genericError /patio/entities/limiteOperacao: get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/limiteOperacao default: description: Error response schema: #/definitions/genericError /patio/entities/limiteOperacao/{id}: get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/limiteOperacao default: description: Error response schema: #/definitions/genericError definitions: statusCircuito: description: Controle de execução de Circuito type: string enum: – AGUARDANDO – EXECUTANTO – CONCLUIDO – REVERTIDO – CANCELADO statusExecucaoSequencia: description: Status de execução da sequência do circuito type: string enum: – EXECUTANDO – CONCLUIDO – REVERTIDO – AGUARDANDO semirreboque: description: Tipo do semirreboque type: string enum: – ABERTA – FECHADA – BASCULANTE – FRIGORIFICA – TANQUE – CEGONHEIRA – PORTA_CONTEINERES – CARRETA_PRANCHA – CARREGA_TUDO statusVeiculo: description: Indica o status do veículo dentro da execução do circuito type: string enum: – NA_AREA – EM_TRANSITO – SAINDO_AREA statusAgendamento: description: Status da Agenda type: string enum: – AGUARDANDO_CONFIRMACAO – AGUARDANDO_CONFIRMACAO_SOLICITANTE – AGENDADO – REJEITADO – CANCELADO – EM_EXECUCAO – CONCLUIDO – AGUARDANDO_INTEGRACAO – REJEITADO_POR_INTEGRACAO tipoAtividadeTipoAgedamento: description: Informa que a Agenda Reservada é uma Descarregamento(Recebimento) ou um Carregamento(Expedição) type: string enum: – CARREGAMENTO – DESCARREGAMENTO gatilhoExecucao: description: Gatilho para a execução type: string enum: – ENTRADA – EM_EXECUCAO – SAIDA tipoCampo: description: Representa um tipo de campo type: string enum: – BINARY – BOOLEAN – DATE – DATETIME – DOUBLE – ENUM – INTEGER – MONEY – STRING – TIME – ARRAY_BOOLEAN – ARRAY_DATE – ARRAY_DATETIME – ARRAY_DOUBLE – ARRAY_ENUM – ARRAY_INTEGER – ARRAY_MONEY – ARRAY_STRING – ARRAY_TIME tipoMotorista: description: Tipo de Motorista type: string enum: – PROPRIO – AGREGADO – TERCEIRO tipoRotina: description: Tipo de rotina type: string enum: – CONDICAO – COMANDO statusExecucaoRotina: description: Representa os estados possíveis para o Log de execução de rotinas type: string enum: – EXECUTADO – EXECUTANDO – ERRO – AGUARDANDO_PARAMETRO filaItemStatus: description: Representa os estados possíveis para os items da fila de operação type: string enum: – AGUARDANDO – LIBERADO – EM_OPERACAO – CONCLUIDO serviceHealthStatus: description: Define o Status do serviço type: string enum: – UP – DOWN userNotificationKind: description: User notification kind. type: string enum: – Operational – Management – News userNotificationPriority: description: User notification priority. type: string enum: – Error – Alert – None eventEmailFormat: description: Format of the email type: string enum: – HTML – PLAIN_TEXT fieldType: description: type: string enum: – BINARY – BOOLEAN – DATE – DATETIME – DOUBLE – ENUM – INTEGER – MONEY – STRING – TIME fileFormat: description: type: string enum: – CSV – FLAT – JSON – XML hookFunction: description: type: string enum: – BEFORE_PARSE – BEFORE_CONVERSION – ON_ERROR – VALIDATE eventType: description: type: string enum: – CHUNK – DOWNLOAD – ERROR – FINISH – START errorStrategy: description: type: string enum: – CALL_SCRIPT – IGNORE – STOP status: description: type: string enum: – DONE – DONE_WITH_ERRORS – DOWNLOADING – ERROR – NOT_STARTED – RUNNING errorType: description: type: string enum: – CONVERT_ERROR – SERVICE_ERROR parametro: description: Representa um parâmetro dentro da estrutura de rotinas type: object required: – nome – label – tipo properties: nome: type: string description: Nome do parâmetro label: type: string description: Label que é visível para o usuário tipo: type: string allOf: – #/definitions/tipoCampo description: Tipo do prâmetro obrigatorio: type: boolean description: Indica se o parâmetro é obrigátio para a execução da rotina condicaoDetalhes: description: Representa a descrição detalhada de uma condição type: object required: – nome – label properties: nome: type: string description: Nome da condição, único na aplicação label: type: string description: Nome da condição que é exibida para o usuário parametrosDeCadastro: type: array items: type: object allOf: – #/definitions/parametro description: Parâmetros necessários para criar a condição parametrosDeExecucao: type: array items: type: object allOf: – #/definitions/parametro description: Parâmetros necessários para executar a condição comandoDetalhes: description: Representa a descrição detalhada de um comando type: object required: – nome – label – icone properties: nome: type: string description: Nome do comando, único na aplicação label: type: string description: Nome do comando que é exibida para o usuário icone: type: string description: Ícone (nome da classe CSS no frontend) do comando parametrosDeCadastro: type: array items: type: object allOf: – #/definitions/parametro description: Parâmetros necessários para criar o comando parametrosDeExecucao: type: array items: type: object allOf: – #/definitions/parametro description: Parâmetros necessários para executar o comando escopoRotina: description: Representa o escopo de execução de rotinas type: object required: – id – execucaoCircuito – variaveis – background properties: id: type: string description: Id do controlador execucaoCircuito: type: object allOf: – #/definitions/execucaoCircuito description: Execução circuito que está executando a rotina variaveis: type: string description: Variáveis do controlador background: type: boolean description: Indica se a rotina está sendo executada em background, ou seja, sem ação do usuário controladorAtual: description: Informações do controle de rotina em execução type: object required: – id – execucaoCircuito – alvo properties: id: type: string description: Id do controlador execucaoCircuito: type: string description: Identificador da execução de circuito alvo: type: string description: Identificador do alvo condicao: type: boolean description: Indica se a condição do controlador retornou true ou false comando: type: object allOf: – #/definitions/comandoDescritor description: Comando atual do controlador checkData: description: Dados do healthcheck type: object required: – name – status properties: name: type: string description: Nome do healthcheck status: type: string allOf: – #/definitions/serviceHealthStatus description: Status do healthcheck area: description: Subdivisões da Planta. type: object required: – descricao – planta – vagaDinamica properties: id: type: string format: uuid description: uuid descricao: type: string description: Descrição observacao: type: string description: Observação planta: type: object allOf: – #/definitions/planta description: Planta em que a area está localizada vagaDinamica: type: boolean description: Indica se vagas podem ser criadas dinamicamente ativo: type: boolean description: Indica se a area está ativa bloqueio: type: boolean description: Indica o bloqueio da área default: false motivo: type: string description: Motivo do bloqueio selecoes: type: array items: type: object allOf: – #/definitions/selecaoDescritor description: Comandos de seleção vinculadas a esta área createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: vaga: description: Vaga type: object required: – descricao – area – rua – numero – ocupada properties: id: type: string format: uuid description: uuid descricao: type: string description: Descrição da vaga area: type: object allOf: – #/definitions/area description: Area da vaga rua: type: integer format: int64 description: Rua onde está a vaga numero: type: integer format: int64 description: Numero dentro da rua ocupada: type: boolean description: Identifica se a vaga esta ocupada ativo: type: boolean description: Indica se a vaga esta ativa bloqueio: type: boolean description: Indica o bloqueio da vaga motivo: type: string description: Motivo do bloqueio createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: circuito: description: Circuito type: object required: – descricao – tipoAgendamento – planta – subcircuito properties: id: type: string format: uuid description: uuid descricao: type: string description: Descrição da vaga sequencias: type: array items: type: object allOf: – #/definitions/sequenciaCircuito description: sequencias tipoAgendamento: type: object allOf: – #/definitions/tipoAgendamento description: Tipo do agendamento do circuito planta: type: object allOf: – #/definitions/planta description: Planta em que o circuito deve ser executado subcircuito: type: boolean description: Indica se é um subcircuito createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: sequenciaCircuito: description: Sequencia de execução do circuito type: object required: – descricao – area – sequencia properties: id: type: string format: uuid description: uuid descricao: type: string description: Descrição da sequencia area: type: object allOf: – #/definitions/area description: Area do circuito sequencia: type: integer format: int64 description: Posicao no circuito circuito: type: object allOf: – #/definitions/circuito description: Circuito da sequência selecoes: type: array items: type: object allOf: – #/definitions/selecaoDescritor description: Comandos de seleção vinculadas a esta sequência createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: execucaoCircuito: description: Execucao do Circuito type: object required: – agenda – sequenciaCircuito – status – circuito – veiculo – motorista – statusVeiculo – ramos – ramoAtual properties: id: type: string format: uuid description: ID agenda: type: object allOf: – #/definitions/agenda description: Agendamento sequenciaCircuito: type: object allOf: – #/definitions/sequenciaCircuito description: Sequencia atual do Circuito status: type: string allOf: – #/definitions/statusCircuito description: Status do circuito vaga: type: object allOf: – #/definitions/vaga description: Vaga atualmente alocada pelo veiculo circuito: type: object allOf: – #/definitions/circuito description: Circuito da execucao veiculo: type: object allOf: – #/definitions/composicaoVeiculo description: Veiculo do circuito motorista: type: object allOf: – #/definitions/motorista description: Motorista do circuito statusVeiculo: type: string allOf: – #/definitions/statusVeiculo description: Status do veículo dentro da execução dataInicio: type: string format: date-time description: Data inicio da execução dataFim: type: string format: date-time description: Data fim da execução ramos: type: array items: type: object allOf: – #/definitions/ramoExecucao minimum: 1 description: Ramos da execução do circuito ramoAtual: type: object allOf: – #/definitions/ramoExecucao description: Ramo atual da execução historico: type: array items: type: object allOf: – #/definitions/historicoExecucaoCircuito description: Histórico de execuções nas áreas variaveis: type: string maxLength: 4000 description: Variáveis que acompanham a execução do circuito, por padrão as variáveis são armazenadas no formato JSON observacao: type: string description: Observações da execução createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: historicoExecucaoCircuito: description: Armazena o histórico de execuções dos circuitos type: object required: – sequenciaCircuito – vaga – dataInicio – status – statusFinal properties: id: type: string format: uuid description: ID execucaoCircuito: type: object allOf: – #/definitions/execucaoCircuito description: Execução do circuito sequenciaCircuito: type: object allOf: – #/definitions/sequenciaCircuito description: Sequencia do Circuito vaga: type: object allOf: – #/definitions/vaga description: Vaga alocada pelo veiculo dataInicio: type: string format: date-time description: Data inicio da execução dataFim: type: string format: date-time description: Data fim da execução status: type: string allOf: – #/definitions/statusExecucaoSequencia description: Status da execução da sequência do circuito statusFinal: type: string allOf: – #/definitions/statusExecucaoSequencia description: Status final do histórico createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: ramoExecucao: description: Representa um ramo da execução do circuito. Ao iniciar a execução, um ramo denominado *Principal* é criado e segue a execução até o seu fim. Ao criar um subcircuito, um novo ramo é criado e segue a execução até o fim. type: object required: – circuito – sequenciaCircuito properties: id: type: string format: uuid description: Id do ramo execucaoCircuito: type: object allOf: – #/definitions/execucaoCircuito description: Execucão do circuito circuito: type: object allOf: – #/definitions/circuito description: Circuito ao qual esse ramo representa sequenciaCircuito: type: object allOf: – #/definitions/sequenciaCircuito description: A última sequência do circuito por onde o veículo passou createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: planta: description: Planta de operação type: object required: – nome properties: id: type: string format: uuid description: uuid nome: type: string description: Nome da planta cnpj: type: array items: type: string description: Lista de CNPJs vinculados a planta endereco: type: object allOf: – #/definitions/endereco description: Endereço da planta createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: endereco: description: Endereço da planta type: object required: – logradouro – bairro – cidade – estado – pais – cep properties: id: type: string format: uuid description: ID do endereço logradouro: type: string description: Logradouro numero: type: string description: Número complemento: type: string description: Complemento bairro: type: string description: Bairro cidade: type: string description: Cidade estado: type: string description: Estado pais: type: string description: País cep: type: string description: Código postal createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: tipoVeiculo: description: Tipo do Veículo type: object required: – descricao – eixos – tara – capacidade properties: id: type: string format: uuid description: ID descricao: type: string description: Descrição do tipo de veículo eixos: type: integer format: int64 description: Quantidade de eixos minimum: 1 tara: type: number format: double description: Tara (em KG) – É a medida que expressa a massa do veículo sem sua carga minimum: 0.1 capacidade: type: number format: double description: Capacidade (em KG) – É a medida que expressa a capacidade de carga útil minimum: 0.1 semirreboque: type: string allOf: – #/definitions/semirreboque description: Tipo do semirreboque caso o Tipo de Veículo seja um semirreboque tipoAgendamentos: type: array items: type: object allOf: – #/definitions/tipoAgendamento description: Tipos de agendamento para cadastro simplificado createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: veiculo: description: Veiculo type: object required: – descricao – placa – tipoVeiculo – comprimento – frotaPropria properties: id: type: string format: uuid description: ID do veículo descricao: type: string description: Descrição do veículo placa: type: string description: Placa do veículo rntrc: type: string description: Registro do veículo tipoVeiculo: type: object allOf: – #/definitions/tipoVeiculo description: Tipo do veículo comprimento: type: number format: double description: Comprimento (em metros) minimum: 0.1 uf: type: string description: UF de origem do veículo ano: type: integer format: int64 description: Ano minimum: 1900 cor: type: string description: Cor marca: type: string description: Marca modelo: type: string description: Modelo frotaPropria: type: boolean description: Frota Própria parceiros: type: array items: type: object allOf: – #/definitions/externalTenant description: Indica os parceiros que são donos do veículo. Caso vazio, o veículo é identificado como frota própria bloqueado: type: boolean description: Indica se o veículo está bloqueado default: false motivoDoBloqueio: type: string description: Motivo do bloqueio do veículo compartimentos: type: array items: type: object allOf: – #/definitions/compartimento description: Compartimentos de um veículo quando ele é um semirreboque do tipo tanque createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: compartimento: description: Compartimentos do veículo quando ele é um semirreboque do tipo tanque type: object required: – descricao – capacidade properties: id: type: string format: uuid description: ID do compartimento descricao: type: string description: Descrição do compartimento capacidade: type: number format: double description: Capacidade em Litros do compartimento minimum: 0.1 setas: type: array items: type: object allOf: – #/definitions/seta description: Setas do compartimento veiculo: type: object allOf: – #/definitions/veiculo description: Veiculo que o compartimento pertence createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: seta: description: Demarcações de carregamento de um compartimento type: object required: – descricao – capacidade properties: id: type: string format: uuid description: ID da seta descricao: type: string description: Descrição da seta capacidade: type: number format: double description: Capacidade em Litros da seta minimum: 0.1 compartimento: type: object allOf: – #/definitions/compartimento description: Compartimento que a seta pertence createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: motorista: description: Dados do motorista type: object required: – nome – tipoMotorista properties: id: type: string format: uuid description: uuid nome: type: string description: Nome do motorista cpf: type: string description: CPF do motorista cnh: type: string description: CNH do motorista rg: type: string description: RG do motorista telefone: type: string description: Telefone do motorista contato: type: string description: Contato do motorista bloqueio: type: boolean description: Indica o bloqueio do motorista default: false motivo: type: string description: Motivo do bloqueio categoriaCNH: type: string description: Categoria da CNH validadeCNH: type: string format: date description: Validade da CNH emissaoCNH: type: string format: date description: Emissão da CNH nascimento: type: string format: date description: Data de nascimento tipoMotorista: type: string allOf: – #/definitions/tipoMotorista description: Tipo de Motorista parceiros: type: array items: type: object allOf: – #/definitions/externalTenant description: Indica os parceiros que estão vinculados ao motorista. Caso vazio, o motorista é identificado como colaborador da empresa createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: controleArea: description: Dados do controle de areas type: object required: – areaAtual – proximaArea – vaga – veiculo – motorista – execucaoCircuito properties: id: type: string format: uuid description: ID do controle de área areaAtual: type: object allOf: – #/definitions/area description: Área atual que está chamando proximaArea: type: object allOf: – #/definitions/area description: Próxima área que o veículo deve se encaminhar vaga: type: object allOf: – #/definitions/vaga description: Vaga que o veículo deve se encaminhar veiculo: type: object allOf: – #/definitions/veiculo description: Veículo que deve se encaminhar motorista: type: object allOf: – #/definitions/motorista description: Informações do motorista do veículo execucaoCircuito: type: object allOf: – #/definitions/execucaoCircuito description: Execução do circuito que esse controle está ligado createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: turno: description: Representa um Turno. Um Turno é uma faixa de tempo em que a Planta estará disponível para execução de tarefas type: object required: – horaInicio – horaFim – ativo – bloqueado – planta properties: id: type: string format: uuid description: ID que identifica o turno descricao: type: string description: Descrição do turno horaInicio: type: string description: Horário de início do turno horaFim: type: string description: Horário de fim do turno ativo: type: boolean description: Indica se o turno está ativo ou não bloqueado: type: boolean description: Indica se o turno encontra-se bloqueado motivoBloqueio: type: string description: Mensagem informativa para o motivo do turno estar bloqueado planta: type: object allOf: – #/definitions/planta description: Planta ao qual o turno está vinculado createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: turnoData: description: Representa um turno vinculado a uma determinada data do ano type: object required: – data – turno – ativo – bloqueado properties: id: type: string format: uuid description: ID que identifica o turno vinculado a data data: type: string format: date description: Data ao qual se deseja vincular um turno turno: type: object allOf: – #/definitions/turno description: Turno vinculado a data determinada ativo: type: boolean description: Indica se o turno está ativo para a data determinada bloqueado: type: boolean description: Indica se o turno encontra-se bloqueado para a data determinada motivoBloqueio: type: string description: Mensagem informativa para o motivo do turno estar bloqueado createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: condicaoDescritor: description: Descreve uma condição type: object required: – descricao – nome – variaveis properties: id: type: string format: uuid description: Id da descrição descricao: type: string description: Descrição do descritor nome: type: string description: Nome da condição variaveis: type: string description: Variáveis da condição descritas no formato Json rotina: type: object allOf: – #/definitions/rotinaDescritor description: Seleção ao qual a condição está vinculada createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: comandoDescritor: description: Descreve um comando type: object required: – descricao – nome – condicaoEstado – variaveis – posicao properties: id: type: string format: uuid description: Id da descrição descricao: type: string description: Descrição do descritor nome: type: string description: Nome do comando condicaoEstado: type: boolean description: Indica em qual estado a condição deve retornar para executar esta ação. Por definição, a condição retorna os seguintes estados: Verdadeiro ou Falso variaveis: type: string description: Variáveis do comando descritas no formato Json rotina: type: object allOf: – #/definitions/rotinaDescritor description: Rotina ao qual a condição está vinculada posicao: type: integer format: int64 description: Posição que define a ordem de execução do comando minimum: 1 createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: selecaoDescritor: description: Descreve uma entrada de seleção dentro da área de um circuito type: object required: – descricao – gatilho – rotinas properties: id: type: string format: uuid description: Id da descrição descricao: type: string description: Descrição da seleção gatilho: type: string allOf: – #/definitions/gatilhoExecucao description: Indica em qual momento essa seleção deve ser executada rotinas: type: array items: type: object allOf: – #/definitions/rotinaDescritor minimum: 1 description: Rotinas à serem executadas ativo: type: boolean description: Indica se a seleção está ativa createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: rotinaDescritor: description: Descreve uma rotina type: object required: – codigo – posicao – condicaoEstado properties: id: type: string format: uuid description: ID da rotina codigo: type: integer format: int64 description: Código da rotina minimum: 1 pai: type: integer format: int64 description: código pai da rotina posicao: type: integer format: int64 description: Endereço da rotina minimum: 0 condicaoEstado: type: boolean description: Indica em qual estado a condição da rotina anterior deve está para executar esta rotina condicao: type: object allOf: – #/definitions/condicaoDescritor description: Condição da rotina comandos: type: array items: type: object allOf: – #/definitions/comandoDescritor description: Comandos da rotina selecao: type: object allOf: – #/definitions/selecaoDescritor description: Seleção da rotina createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: composicaoVeiculo: description: Composição de veículos type: object required: – primario properties: id: type: string format: uuid description: ID da composição descricao: type: string description: Descrição da composição capacidadeTotal: type: number format: double description: Capacidade total da composição primario: type: object allOf: – #/definitions/veiculo description: Veículo primário secundarios: type: array items: type: object allOf: – #/definitions/veiculo description: Veículos secundários createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: controleRotina: description: Controle de execução da rotina type: object required: – alvoId – execucaoCircuito – selecao – posicao – rotinaAtual – rotinaSuperior – finalizado – variaveis – logs properties: id: type: string format: uuid description: ID alvoId: type: string description: Id do alvo, pode ser uma área ou sequência execucaoCircuito: type: object allOf: – #/definitions/execucaoCircuito description: Execução circuito selecao: type: object allOf: – #/definitions/selecaoDescritor description: Rotina condicao: type: boolean description: Resultado da condição posicao: type: integer format: int64 description: Posição que aponta para o comando que deve ser executado rotinaAtual: type: integer format: int64 description: Aponta para o código da rotina em execuçao rotinaSuperior: type: integer format: int64 description: Aponta para o código da rotina superior finalizado: type: boolean description: Indica se o controle foi finalizado variaveis: type: string maxLength: 4000 description: Variáveis de escopo do controle de rotinas logs: type: array items: type: object allOf: – #/definitions/logRotina minimum: 1 description: Log de execução das rotinas createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: logRotina: description: Log de execução da rotina type: object required: – id – tipoRotina – rotina – status properties: id: type: string format: uuid description: ID controle: type: object allOf: – #/definitions/controleRotina description: Controlador tipoRotina: type: string allOf: – #/definitions/tipoRotina description: Tipo da rotina rotina: type: string description: ID da rotina status: type: string allOf: – #/definitions/statusExecucaoRotina description: Status da execução da rotina mensagem: type: string description: Mensagem informativa createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: fila: description: Fila de veículos que aguardam em uma determinada área para entrar em operação type: object required: – descricao – capacidadeOperacao – planta – tipoAgendamentos properties: id: type: string format: uuid description: ID descricao: type: string description: Descrição da fila capacidadeOperacao: type: integer format: int64 description: Quantidades de veículos que podem está simultaneamente em operação planta: type: object allOf: – #/definitions/planta description: Planta que a fila está vinculada tipoAgendamentos: type: array items: type: object allOf: – #/definitions/tipoAgendamento minimum: 1 description: Tipos de agendamentos que a fila controla itens: type: array items: type: object allOf: – #/definitions/filaItem description: Itens da fila createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: filaItem: description: Itens da fila type: object required: – prioridade – posicao – execucaoCircuito – entrada – status properties: id: type: string format: uuid description: ID prioridade: type: integer format: int64 description: Prioridade do item na fila posicao: type: number format: double description: Posição do item na fila execucaoCircuito: type: object allOf: – #/definitions/execucaoCircuito description: Execução circuito do item entrada: type: string format: date-time description: Data de entrada na fila status: type: string allOf: – #/definitions/filaItemStatus description: Status do item fila: type: object allOf: – #/definitions/fila description: Fila do item createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: agenda: description: Replicação da agenda do yms.agenda type: object required: – id – codigo – tipoAgendamento – descricao – planta properties: id: type: string description: uuid codigo: type: integer format: int64 description: Código da agenda tipoAgendamento: type: object allOf: – #/definitions/tipoAgendamento description: Tipo do Agendamento descricao: type: string description: Descrição do Agendamento dataEsperadaAgendamento: type: string format: date-time description: Data Esperada de Inicio do Agendamento motorista: type: object allOf: – #/definitions/motorista description: Dados do Motorista veiculo: type: object allOf: – #/definitions/composicaoVeiculo description: Composição de Veículos da Agenda status: type: string allOf: – #/definitions/statusAgendamento description: Status Agendamento planta: type: object allOf: – #/definitions/planta description: Planta de Operação do Agendamento empresa: type: string description: Descrição da propriedade externalTenant observacao: type: string description: Observações para informar situações do agendamento anexos: type: array items: type: object allOf: – #/definitions/anexo description: Arquivo anexado createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: tipoAgendamento: description: Tipo de Agendamento type: object required: – id – descricao – ativo – tipoAtividade properties: id: type: string description: uuid descricao: type: string description: Descrição do Tipo Agendamento ativo: type: boolean description: Indica se o Tipo de Agendamento está ativo tipoAtividade: type: string allOf: – #/definitions/tipoAtividadeTipoAgedamento description: Define se o Tipo de Agendamento é de Carregamento ou Descarregamento bloqueio: type: boolean description: Indica o bloqueio do Tipo de Agendamento default: false motivo: type: string description: Motivo do bloqueio createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: anexo: description: Anexos do agendamento type: object required: – descricao – nome – url properties: id: type: string description: Id do agendamento descricao: type: string description: Descrição do agendamento nome: type: string description: Nome do anexo a ser usado no repositório remoto (Não pode ser repetido, senão o arquivo será sobreescrito) url: type: string description: Url do anexo no repositório de arquivos agenda: type: object allOf: – #/definitions/agenda description: Agenda que o anexo pertence createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: externalTenant: description: Representa um Parceiro type: object required: – id – descricao – cnpj – tenantDomain – ativo properties: id: type: string description: ID descricao: type: string description: Descrição do tenant cnpj: type: string maxLength: 18 description: CNPJ do parceiro tenantDomain: type: string description: Tenant externo ex: senior.com.br ativo: type: boolean description: Indica se usuario está ativo veiculos: type: array items: type: object allOf: – #/definitions/veiculo description: Veículos vinculados ao parceiro motoristas: type: array items: type: object allOf: – #/definitions/motorista description: Motoristas vinculados ao parceiro createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: externalUser: description: Representa um usuário externo type: object required: – id – email – externalTenant properties: id: type: string format: uuid description: Id do usuário email: type: string description: E-mail do usuário externalTenant: type: object allOf: – #/definitions/externalTenant description: Parceiro ao qual o usuario externo está vinculado createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: limiteOperacao: description: Limite de Operação – define os intervalos de tempo em que as agendas podem ser cadastradas e limite de agendamentos nesse mesmo intervalo type: object required: – id – descricao – tempoDeExecucao – limitePorIntervalo – planta – tipoAgendamentos properties: id: type: string description: ID descricao: type: string description: Descrição do limite tempoDeExecucao: type: integer format: int64 description: Informa o tempo de execução estimado (em segundos) minimum: 1 limitePorIntervalo: type: integer format: int64 description: Informa o limite de agendamentos em um intervalo de tempo definido pelo tempo de execução minimum: 1 planta: type: object allOf: – #/definitions/planta description: Planta ao qual o limite está vinculado turnos: type: array items: type: object allOf: – #/definitions/turno description: Turnos vinculados ao limite de operação tipoAgendamentos: type: array items: type: object allOf: – #/definitions/tipoAgendamento minimum: 1 description: Lista de Tipos de Agendamentos ligados ao limite de operação createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: notifyUserEventPayload: description: Represents a regular user event notification payload discriminator: _discriminator type: object required: – notificationKind – notificationPriority – notificationSubject – notificationContent – sourceDomain – sourceService – destinationUser – _discriminator properties: notificationClass: type: string description: Class of notification notificationOrigin: type: string description: Origin of notification. Free text. Optional. notificationKind: type: string allOf: – #/definitions/userNotificationKind description: Notification kind. notificationPriority: type: string allOf: – #/definitions/userNotificationPriority description: Notification priority. notificationSubject: type: string description: Notification subject. notificationContent: type: string description: Notification content. sourceDomain: type: string description: Domain that generates the notification. sourceService: type: string description: Service that generates the notification. destinationUser: type: string description: Username of the destination user. link: type: string description: Notification link _discriminator: type: string description: emailNotifyUserEventPayload: description: Represents an email notification payload allOf: – #/definitions/notifyUserEventPayload – type: object required: – from properties: from: type: string description: Email sender address sendTo: type: array items: type: string description: Additional recipients to send the email to format: type: string allOf: – #/definitions/eventEmailFormat description: Email format pushNotifyUserEventPayload: description: Represents a push notification payload allOf: – #/definitions/notifyUserEventPayload – type: object required: – applicationId properties: applicationId: type: string description: Apple/Google application id blobReference: description: Default blob reference type. Every service defines its own. type: object required: – targetObjectId properties: domainName: type: string description: The domain the blob belongs to. serviceName: type: string description: The service the blob belongs to. targetObjectId: type: string description: The basic id of the blob. targetCopyId: type: string description: The id of the blob copy. basicErrorPayload: description: Default error payload type. Every service defines its own. type: object properties: message: type: string description: The user-facing error message, if any. errorCode: type: string description: The program-accessible (and service-specific) error code. importError: description: type: object required: – errorType – lineNumber – bean – message – exceptionClass properties: errorType: type: string allOf: – #/definitions/errorType description: lineNumber: type: integer format: int64 description: bean: type: string description: message: type: string description: exceptionClass: type: string description: fielddto: description: type: object required: – id – name – fieldType properties: id: type: integer format: int64 description: name: type: string description: fieldType: type: string allOf: – #/definitions/fieldType description: start: type: integer format: int64 description: size: type: integer format: int64 description: maskPattern: type: string description: hookdto: description: type: object required: – hookFunction – script properties: hookFunction: type: string allOf: – #/definitions/hookFunction description: script: type: string description: layoutdto: description: type: object required: – id – description – fileFormat – errorStrategy – skipLines – fields properties: id: type: integer format: int64 description: description: type: string description: fileFormat: type: string allOf: – #/definitions/fileFormat description: errorStrategy: type: string allOf: – #/definitions/errorStrategy description: delimiter: type: string description: skipLines: type: integer format: int64 description: fields: type: array items: type: object allOf: – #/definitions/fielddto minimum: 1 description: hooks: type: array items: type: object allOf: – #/definitions/hookdto description: importReport: description: type: object required: – id – startTime – endTime – uri – beanClass – serviceClass – layout – sucessCount – errorsCount – filteredCount – skippedCount properties: id: type: string description: startTime: type: string format: date-time description: endTime: type: string format: date-time description: uri: type: string description: beanClass: type: string description: serviceClass: type: string description: layout: type: object allOf: – #/definitions/layoutdto description: sucessCount: type: integer format: int64 description: errorsCount: type: integer format: int64 description: filteredCount: type: integer format: int64 description: skippedCount: type: integer format: int64 description: importErrors: type: array items: type: object allOf: – #/definitions/importError description: exportEventStatus: description: type: object required: – importerId – eventType – recordCount properties: importerId: type: string description: eventType: type: string allOf: – #/definitions/eventType description: recordCount: type: integer format: int64 description: importEventStatus: description: type: object required: – importerId – eventType – status – recordCount properties: importerId: type: string description: eventType: type: string allOf: – #/definitions/eventType description: status: type: string allOf: – #/definitions/status description: errorMessage: type: string description: recordCount: type: integer format: int64 description: importReport: type: object allOf: – #/definitions/importReport description: exportConfig: description: type: object required: – uri – layout – async – errorStrategy properties: uri: type: string description: layout: type: object allOf: – #/definitions/layoutdto description: async: type: boolean description: errorStrategy: type: string description: importConfig: description: type: object required: – uri – layout – async – batchSize – errorStrategy properties: uri: type: string description: layout: type: object allOf: – #/definitions/layoutdto description: async: type: boolean description: batchSize: type: integer format: int64 description: errorStrategy: type: string allOf: – #/definitions/errorStrategy description: dependency: description: Represents a service dependency type: object required: – domain – service – version properties: domain: type: string description: Domain of the dependency service service: type: string description: Name of the dependency service type: string description: Version of the dependency service genericError: properties: message: type: string description: Messaging describing the error. reason: type: string description: A symbolic code identifying the category of the reason of the error. enum: – BAD_REQUEST – UNAUTHORIZED – PAYMENT_REQUIRED – FORBIDDEN – OBJECT_NOT_FOUND – REQUEST_TIMEOUT – GONE – UNPROCESSABLE – INTERNAL_ERROR – NOT_IMPLEMENTED – SERVICE_UNAVAILABLE – INSUFFICIENT_STORAGE

Este artigo foi útil para você?

Leave A Comment