Controle de Pátio

Controle de Patio

172 views 20/05/2019 27/08/2019 integrador 1

2.0info: 5.0.2 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/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/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/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/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/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/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/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: 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 a selecão da sequência e área atual do circuito tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – execucaoCircuitoId – variaveis properties: execucaoCircuitoId: type: string description: Id da execução do circuito variaveis: type: string description: Variáveis no formato JSON necessárias para a execução da seleção responses: 200: description: Ok schema: type: object allOf: – #/definitions/execucaoCircuito 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/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/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/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/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/veiculo: post: 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: 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: 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: 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: 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: 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: 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: 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/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/selecaoDescritor/{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/selecaoDescritor/{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/selecaoDescritor/{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/selecaoDescritor/{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/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/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/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 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 tipoVeiculo: description: Tipo do veiculo type: string enum: – CAVALO – CARRETA – URBANO – TOCO – TRUCK – CAVALO_MECANICO_SIMPLES – CAVALO_MECANICO_TRUCADO – TRUCK_MALHAL – PEQUENO_PORTE statusVeiculo: description: Indica o status do veículo dentro da execução do circuito type: string enum: – NA_AREA – EM_TRANSITO statusAgendamento: description: Status da Agenda type: string enum: – AGUARDANDO_CONFIRMACAO – AGUARDANDO_CONFIRMACAO_SOLICITANTE – AGENDADO – REJEITADO – CANCELADO – EM_EXECUCAO – CONCLUIDO 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 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 Condição e Comando 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 condicaoDetalhes: description: Representa a descrição detalhada de uma condição type: object required: – nome – label – parametrosDeCadastro – parametrosDeExecucao 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 minimum: 1 description: Parâmetros necessários para criar a condição parametrosDeExecucao: type: array items: type: object allOf: – #/definitions/parametro minimum: 1 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 – parametrosDeCadastro – parametrosDeExecucao 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 parametrosDeCadastro: type: array items: type: object allOf: – #/definitions/parametro minimum: 1 description: Parâmetros necessários para criar o comando parametrosDeExecucao: type: array items: type: object allOf: – #/definitions/parametro minimum: 1 description: Parâmetros necessários para executar o comando area: description: Subdivisões da Planta que possuem um objetivo específico. type: object required: – descricao – planta 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 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 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 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 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 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 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 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.\n – Ao iniciar a execução, um ramo denominado *Principal* é criado e segue a execução até o seu fim.\n – Ao criar um subcircuito, um novo ramo é criado e segue a execução até o retorno para o circuito principal ou até o fim da execução do circuito.\n 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 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: veiculo: description: Veiculo type: object required: – descricao – placa – tipoVeiculo – eixos – comprimento – tara – capacidade properties: id: type: string format: uuid description: uuid descricao: type: string description: Descrição do veiculo placa: type: string description: Placa do veiculo rntrc: type: string description: Registro do veiculo tipoVeiculo: type: string allOf: – #/definitions/tipoVeiculo description: Tipo do veiculo Cavalo ou Carreta eixos: type: integer format: int64 description: Quantidade de eixos minimum: 2 comprimento: type: number format: double description: Comprimento (em metros) minimum: 0.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 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 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 – cpf – cnh – 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 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 maxLength: 4000 description: Variáveis da condição descritas no formato Json selecao: type: object allOf: – #/definitions/selecaoDescritor 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 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 estadado 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 maxLength: 4000 description: Variáveis do comando descritas no formato Json selecao: type: object allOf: – #/definitions/selecaoDescritor 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: selecaoDescritor: description: Descreve uma entrada de seleção dentro da área de um circuito type: object required: – descricao – gatilho 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 condicao: type: object allOf: – #/definitions/condicaoDescritor description: Condição aplicada a está seleção comandos: type: array items: type: object allOf: – #/definitions/comandoDescritor description: Comando que deve ser executado quando a condição é atendida com sucesso 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 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: agenda: description: Replicação da agenda do yms.agenda type: object required: – id – tipoAgendamento – descricao – planta properties: id: type: string description: uuid 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 anexo: type: string 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: 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: 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