2.0info: 7.30.0 agenda description: Serviço de Agendamento x-senior-domain: Controle de Pátio x-senior-domain-path: yms x-senior-service-path: agenda contact: name: Senior X Platform url: https://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: /agenda/queries/getAgendasPorPeriodo: post: description: Retorna os agendamentos em um determinado período. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – dataInicio – dataFim – page – size properties: dataInicio: type: string format: date-time description: Data inicial do período dataFim: type: string format: date-time description: Data final do período page: type: integer format: int64 description: Offset para paginação size: type: integer format: int64 description: Quantos itens exibir sortField: type: string description: Campo para ordenação sortOrder: type: integer format: int64 description: Se ordenação é ascendente ou descendente responses: 200: description: Ok schema: type: object required: – agendas – totalElements – totalPages properties: agendas: type: array items: type: object allOf: – #/definitions/agenda minimum: 1 description: Lista de agendamentos encontrados no período totalElements: type: integer format: int64 description: Total de elementos para paginação totalPages: type: integer format: int64 description: Total de paginas para paginação 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Retorna os agendamentos em um determinado período. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: dataInicio description: Data inicial do período in: query required: true type: string format: date-time – name: dataFim description: Data final do período in: query required: true type: string format: date-time – name: page description: Offset para paginação in: query required: true type: integer format: int64 – name: size description: Quantos itens exibir in: query required: true type: integer format: int64 – name: sortField description: Campo para ordenação in: query type: string – name: sortOrder description: Se ordenação é ascendente ou descendente in: query type: integer format: int64 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 agendamentos encontrados no período totalElements: type: integer format: int64 description: Total de elementos para paginação totalPages: type: integer format: int64 description: Total de paginas para paginação 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/queries/getExisteAgendaAgendadoExecucaoComTipoAgendamento: post: description: Retorna Verdadeiro/Falso dado um tipo de agendamento que possua um Agendamento vinculado cujo estado seja Agendado ou em Execução tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – tipoAgendamento properties: tipoAgendamento: type: object allOf: – #/definitions/tipoAgendamento description: Tipo de Agendamento para consultar Agendamentos Agendados ou em Execução responses: 200: description: Ok schema: type: object required: – possuiAgendamento properties: possuiAgendamento: type: boolean description: Retorno true caso haja Agendamento Agendado ou em Execução, caso contrário retorna false 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/queries/isClienteExterno: post: description: Retorna se o acesso é realizado por um cliente externo para decisoes de front-end tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – isClienteExterno – permiteEdicaoMotorista – naoPermiteCriarAgendamentosAgrupado properties: isClienteExterno: type: boolean description: Informar se é cliente externo permiteEdicaoMotorista: type: boolean description: Indica se o motorista pode ser editado naoPermiteCriarAgendamentosAgrupado: type: boolean description: Indica se o usuário atual pode criar agendamentos agrupado parceiros: type: array items: type: object allOf: – #/definitions/externalTenant description: Se existir, retorna os parceiros vinculados 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Retorna se o acesso é realizado por um cliente externo para decisoes de front-end tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – isClienteExterno – permiteEdicaoMotorista – naoPermiteCriarAgendamentosAgrupado properties: isClienteExterno: type: boolean description: Informar se é cliente externo permiteEdicaoMotorista: type: boolean description: Indica se o motorista pode ser editado naoPermiteCriarAgendamentosAgrupado: type: boolean description: Indica se o usuário atual pode criar agendamentos agrupado parceiros: type: array items: type: object allOf: – #/definitions/externalTenant description: Se existir, retorna os parceiros vinculados 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/queries/horarioOperacao: post: description: Busca uma lista de horários de operação da planta pelo tipo de agendamento tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – tipoAgendamentoId – data – plantaId properties: tipoAgendamentoId: type: string description: ID ou código do tipo de agendamento data: type: string format: date description: A data em que se deseja verificar os horários de operação plantaId: type: string description: ID ou CNPJ da planta associacaoAgendamento: type: object allOf: – #/definitions/associacaoAgendamento description: Associação do Agendamento para cálculo do tempo de execucão responses: 200: description: Ok schema: type: object required: – horarios properties: horarios: type: array items: type: object allOf: – #/definitions/horarioDisponivel minimum: 1 description: Lista de horários de funcionamento, com intervalos definidos pelo tipo de agendamento e suas respectivas quantidades de agendamentos disponíveis 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/queries/horarioOperacaoParaReagendamento: post: description: Busca uma lista de horários de operação possível para o re-agendamento tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – agendaId – data properties: agendaId: type: string description: ID ou código da agenda data: type: string format: date description: A data em que se deseja verificar os horários de operação responses: 200: description: Ok schema: type: object required: – horarios properties: horarios: type: array items: type: object allOf: – #/definitions/horarioDisponivel minimum: 1 description: Lista de horários de funcionamento, com intervalos definidos pelo tipo de agendamento e suas respectivas quantidades de agendamentos disponíveis 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Busca uma lista de horários de operação possível para o re-agendamento tags: – Queries x-senior-visibility: PRIVATE parameters: – name: agendaId description: ID ou código da agenda in: query required: true type: string – name: data description: A data em que se deseja verificar os horários de operação in: query required: true type: string format: date responses: 200: description: Ok schema: type: object required: – horarios properties: horarios: type: array items: type: object allOf: – #/definitions/horarioDisponivel minimum: 1 description: Lista de horários de funcionamento, com intervalos definidos pelo tipo de agendamento e suas respectivas quantidades de agendamentos disponíveis 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/queries/obterUrlUploadAnexo: post: description: Cria o local para armazenamento e busca URL para upload do anexo tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – nomeAnexo properties: nomeAnexo: type: string description: Nome do arquivo anexo responses: 200: description: Ok schema: type: object required: – id – url – nome – versao properties: id: type: string description: id unico do arquivo no serviço url: type: string description: URL para upload do arquivo nome: type: string description: nome do arquivo, informado no input versao: type: string description: versão do arquivo criado 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Cria o local para armazenamento e busca URL para upload do anexo tags: – Queries x-senior-visibility: PRIVATE parameters: – name: nomeAnexo description: Nome do arquivo anexo in: query required: true type: string responses: 200: description: Ok schema: type: object required: – id – url – nome – versao properties: id: type: string description: id unico do arquivo no serviço url: type: string description: URL para upload do arquivo nome: type: string description: nome do arquivo, informado no input versao: type: string description: versão do arquivo criado 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/queries/obterUrlDownloadAnexo: post: description: Obtém a URL para download do anexo tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – nomeAnexo properties: nomeAnexo: type: string description: Nome do anexo responses: 200: description: Ok schema: type: object required: – url properties: url: type: string description: URL para download do recurso 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Obtém a URL para download do anexo tags: – Queries x-senior-visibility: PRIVATE parameters: – name: nomeAnexo description: Nome do anexo in: query required: true type: string responses: 200: description: Ok schema: type: object required: – url properties: url: type: string description: URL para download do recurso 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/queries/buscaTenantPorNome: post: description: Obtêm os dados de um tenant tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – tenantNome properties: tenantNome: type: string description: O nome do tenant a ter os dados retornados responses: 200: description: Ok schema: type: object allOf: – #/definitions/tenant default: description: Error response schema: #/definitions/genericError get: description: Obtêm os dados de um tenant tags: – Queries x-senior-visibility: PUBLIC parameters: – name: tenantNome description: O nome do tenant a ter os dados retornados in: query required: true type: string responses: 200: description: Ok schema: type: object allOf: – #/definitions/tenant default: description: Error response schema: #/definitions/genericError /agenda/queries/verificaUsuario: post: description: Verifica se o usuário externo está ativo tags: – Queries x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – email properties: email: type: string description: E-mail do usuário externo responses: 200: description: Ok schema: type: object required: – ativo properties: ativo: type: boolean description: Retorna se o usuário está ativo ou não default: description: Error response schema: #/definitions/genericError get: description: Verifica se o usuário externo está ativo tags: – Queries x-senior-visibility: PUBLIC parameters: – name: email description: E-mail do usuário externo in: query required: true type: string responses: 200: description: Ok schema: type: object required: – ativo properties: ativo: type: boolean description: Retorna se o usuário está ativo ou não default: description: Error response schema: #/definitions/genericError /agenda/queries/buscarTipoAgendamento: post: description: Busca os tipos de agendamento de acordo com o(s) filtro(s) informados(s) tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – page – size properties: plantaId: type: string description: Id da planta tipoAtividade: type: string allOf: – #/definitions/tipoAtividadeTipoAgedamento description: Tipo de atividade do agendamento codigo: type: string description: Código do agendamento descricao: type: string description: Descrição do agendamento page: type: integer format: int64 description: Offset para paginação size: type: integer format: int64 description: Quantos itens exibir sortField: type: string description: Campo para ordenação sortOrder: type: integer format: int64 description: Se ordenação é ascendente ou descendente responses: 200: description: Ok schema: type: object required: – tiposAgendamento – totalElements – totalPages properties: tiposAgendamento: type: array items: type: object allOf: – #/definitions/tipoAgendamento minimum: 1 description: Tipos de agendamento vinculados a planta totalElements: type: integer format: int64 description: Total de elementos para paginação totalPages: type: integer format: int64 description: Total de paginas para paginação 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/queries/healthcheck: post: description: Query para o SRE verificar a disponibilidade do serviço tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object responses: 200: description: Ok schema: type: object required: – status – checks properties: status: type: string allOf: – #/definitions/serviceHealthStatus description: Status do serviço checks: type: array items: type: object allOf: – #/definitions/checkData minimum: 1 description: Verificações para assegurar o status 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Query para o SRE verificar a disponibilidade do serviço tags: – Queries x-senior-visibility: PRIVATE parameters: responses: 200: description: Ok schema: type: object required: – status – checks properties: status: type: string allOf: – #/definitions/serviceHealthStatus description: Status do serviço checks: type: array items: type: object allOf: – #/definitions/checkData minimum: 1 description: Verificações para assegurar o status 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/queries/retornaModelosDeValidacao: post: description: Informa se existe configuração de aprovação para agenda tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – tipoAgendamentoId properties: tipoAgendamentoId: type: string description: ID do tipo de agendamento responses: 200: description: Ok schema: type: object properties: tiposModeloValidacao: type: array items: type: string allOf: – #/definitions/tipoModeloValidacao description: tipos de modelo de validação 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Informa se existe configuração de aprovação para agenda tags: – Queries x-senior-visibility: PRIVATE parameters: – name: tipoAgendamentoId description: ID do tipo de agendamento in: query required: true type: string responses: 200: description: Ok schema: type: object properties: tiposModeloValidacao: type: array items: type: string allOf: – #/definitions/tipoModeloValidacao description: tipos de modelo de validação 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/queries/verificarSePodeAgendar: post: description: Informa se pode agendar um tipo da agendamento numa data específica tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – tipoAgendamento – plantaId – data properties: tipoAgendamento: type: object allOf: – #/definitions/tipoAgendamento description: Tipo de agendamento plantaId: type: string description: Id da Planta data: type: string format: date-time description: Data do agendamento responses: 200: description: Ok schema: type: object required: – retorno properties: retorno: type: boolean description: retorna se pode ou não 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/queries/getUltimoHistoricoValidacao: post: description: Busca última validação da agenda tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – agendaId properties: agendaId: type: string description: ID do agendamento responses: 200: description: Ok schema: type: object properties: data: type: object allOf: – #/definitions/historicoAprovacaoAgenda description: Último historico registrado se houver 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Busca última validação da agenda tags: – Queries x-senior-visibility: PRIVATE parameters: – name: agendaId description: ID do agendamento in: query required: true type: string responses: 200: description: Ok schema: type: object properties: data: type: object allOf: – #/definitions/historicoAprovacaoAgenda description: Último historico registrado se houver 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/queries/verificaPermissaoAcaoAgenda: post: description: Verifica se ação tem permissão para acontecer tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object responses: 200: description: Ok schema: type: object required: – permissions properties: permissions: type: string format: byte description: Retorna a lista de ações 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Verifica se ação tem permissão para acontecer tags: – Queries x-senior-visibility: PRIVATE parameters: responses: 200: description: Ok schema: type: object required: – permissions properties: permissions: type: string format: byte description: Retorna a lista de ações 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/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: 401: description: Invalid Credentials 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: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/queries/exportAgenda: post: description: tags: – Queries x-senior-visibility: PRIVATE 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: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/queries/exportTipoAgendamento: post: description: tags: – Queries x-senior-visibility: PRIVATE 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: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/queries/exportLimiteOperacao: post: description: tags: – Queries x-senior-visibility: PRIVATE 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: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/queries/exportExternalTenant: post: description: tags: – Queries x-senior-visibility: PRIVATE 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: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/queries/exportExternalUser: post: description: tags: – Queries x-senior-visibility: PRIVATE 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: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/queries/exportComposicaoVeiculo: post: description: tags: – Queries x-senior-visibility: PRIVATE 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: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/queries/exportMotorista: post: description: tags: – Queries x-senior-visibility: PRIVATE 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: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/queries/exportTipoVeiculo: post: description: tags: – Queries x-senior-visibility: PRIVATE 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: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/queries/exportVeiculo: post: description: tags: – Queries x-senior-visibility: PRIVATE 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: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/queries/exportPlanta: post: description: tags: – Queries x-senior-visibility: PRIVATE 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: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/queries/exportEndereco: post: description: tags: – Queries x-senior-visibility: PRIVATE 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: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/queries/exportTimeZone: post: description: tags: – Queries x-senior-visibility: PRIVATE 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: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/queries/exportTurno: post: description: tags: – Queries x-senior-visibility: PRIVATE 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: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/queries/exportTurnoData: post: description: tags: – Queries x-senior-visibility: PRIVATE 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: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/queries/exportMediaExecucaoCircuito: post: description: tags: – Queries x-senior-visibility: PRIVATE 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: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/queries/exportCircuito: post: description: tags: – Queries x-senior-visibility: PRIVATE 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: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/queries/exportExecucaoCircuito: post: description: tags: – Queries x-senior-visibility: PRIVATE 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: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/queries/exportHistoricoExecucaoCircuito: post: description: tags: – Queries x-senior-visibility: PRIVATE 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: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/queries/exportModeloValidacaoAgenda: post: description: tags: – Queries x-senior-visibility: PRIVATE 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: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/queries/exportConfiguracaoAprovacaoAgenda: post: description: tags: – Queries x-senior-visibility: PRIVATE 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: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/queries/exportHistoricoAprovacaoAgenda: post: description: tags: – Queries x-senior-visibility: PRIVATE 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: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/queries/getDependencies: post: description: Returns a list with all dependencies from this service, along with their respective versions tags: – Queries x-senior-visibility: PRIVATE 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 401: description: Invalid Credentials 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: PRIVATE 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 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/actions/cadastrarAgendamento: post: description: Cadastra um novo agendamento\n Esta ação é preferencial para cadastrar agendamentos, pois trata com precisão o fuso horário de acordo com o Turno de funcionamento da Planta.\n Observação: para buscar os horários disponíveis da planta utilize a query **horarioOperacao**\n tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – tipoAgendamentoId – plantaId – dataEsperada – horaEsperada – status properties: descricao: type: string description: Descrição do agendamento tipoAgendamentoId: type: string description: ID ou código do tipo de agendamento plantaId: type: string description: ID ou CNPJ da planta dataEsperada: type: string format: date description: Data esperada do agendamento horaEsperada: type: string description: Hora esperada do agendamento status: type: string allOf: – #/definitions/statusInicialAgendamento description: Status inicial do agendamento parceiroId: type: string description: ID ou CNPJ do parceiro (Cliente Externo) motoristaId: type: string description: ID ou CPF do motorista composicaoVeiculoId: type: string description: ID da composicao de veículo observacao: type: string description: Observação do agendamento anexos: type: array items: type: object allOf: – #/definitions/anexo description: Links de anexos do agendamento createdByErp: type: boolean description: Indica se a agenda foi criada pelo serviço ERP default: false chaveIntegracao: type: string description: Chave de integração vindo da G5 custom: type: string format: byte description: Campos customizados tipoCarga: type: string allOf: – #/definitions/tipoCarga description: Tipo de carga responses: 200: description: Ok schema: type: object allOf: – #/definitions/agenda 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/actions/cadastrarAgendamentoSimplificado: post: description: Cadastra um novo agendamento de maneira simplificada.\n Esta ação cadastra um agendamento, já colocando seu status como agendado. A data esperada será o momento do cadastro. As validações de turno e limite de operação não serão feitas, por isso é recomendado que utilize esta chamada apenas na chegada do veículo.\n tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – tipoAgendamentoId – plantaId properties: descricao: type: string description: Descrição do agendamento tipoAgendamentoId: type: string description: ID ou código do tipo de agendamento plantaId: type: string description: ID ou CNPJ da planta parceiroId: type: string description: ID ou CNPJ do parceiro (Cliente Externo) motoristaId: type: string description: ID ou CPF do motorista composicaoVeiculoId: type: string description: ID da composicao de veículo observacao: type: string description: Observação do agendamento createdByPatio: type: boolean description: Indica se a agenda foi criada pelo serviço patio default: false responses: 200: description: Ok schema: type: object allOf: – #/definitions/agenda 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/actions/cadastrarMultiplosAgendamentos: post: description: Cadastra múltiplos agendamentos a partir de um código agrupador que o identifica.\n Os dados: descrição, tipo de agendamento, planta, parceiro e observações serão replicadas para todas as agendas criadas.\n tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – codigoAgrupador – descricao – tipoAgendamento – planta – status – dataHora properties: codigoAgrupador: type: string description: Código agrupador descricao: type: string description: Descrição do agendamento tipoAgendamento: type: string description: Código ou ID do Tipo de Agendamento planta: type: string description: ID ou CNPJ da Planta status: type: string allOf: – #/definitions/statusInicialAgendamento description: Status inicial do agendamento parceiro: type: string description: ID ou CNPJ do Parceiro (Cliente Externo) observacao: type: string description: Observação do agendamento dataHora: type: array items: type: object allOf: – #/definitions/dataHora minimum: 1 description: Lista de datas esperadas para os agendamentos responses: 200: description: Ok schema: type: object required: – agendas properties: agendas: type: array items: type: object allOf: – #/definitions/agenda minimum: 1 description: Lista de agendamentos cadastrados 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/actions/reagendarAgendamento: post: description: Reagenda para uma nova data esperada.\n Condições de reagendamento:\n * O Status do agendamento não pode estar CANCELADO, EM EXECUÇÃO ou CONCLUÍDO;\n * A nova data deve ser uma data futura;\n tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – agendaId – dataEsperada – horaEsperada properties: agendaId: type: string description: ID ou código do agendamento motivo: type: string description: Motivo do reagendamento dataEsperada: type: string format: date description: Data esperada do agendamento horaEsperada: type: string description: Hora esperada do agendamento responses: 200: description: Ok schema: type: object allOf: – #/definitions/agenda 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/actions/salvarAnexo: post: description: Confirma a gravação do arquivo no serviço de hospedagem na versão em que ocorreu o upload tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – nomeAnexo – versao properties: nomeAnexo: type: string description: Nome do anexo versao: type: string description: Versão do anexo (obtida no retorno da primitiva obterUrlUploadAnexo) responses: 200: description: Ok schema: type: object required: – resultado properties: resultado: type: string description: Resultado da operação 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/actions/excluirAnexo: post: description: Exclui o anexo do repositório tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – idAnexo properties: idAnexo: type: string description: ID do anexo a ser excluido responses: 200: description: Ok schema: type: object required: – resultado properties: resultado: type: string description: Resultado da operação 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/actions/cancelarAgendamento: post: description: Ao receber um agendamento com status *Aguardando Confirmação*, *Agendado*, *Rejeitado* e\n *Aguardando Confirmação Solicitante* realizará o cancelamento do agendamento, caso o agendamento possua\n outro status não realiza o cancelamento e gera erro.\n 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: Agendamento que será cancelado responses: 200: description: Ok schema: type: object required: – agenda properties: agenda: type: object allOf: – #/definitions/agenda description: Agenda cancelada 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/actions/cancelarAgendamentoPorCodigos: post: description: Realiza o cancelamento dos agendamentos pelos códigos informados, desde que o agendamento esteja com um dos seguintes\n status: Aguardando Confirmação, Agendado, Rejeitado ou Aguardando Confirmação do Solicitante.\n Se o agendamento estiver em qualquer outro status, o cancelamento não será efetuado e será gerado um erro.\n tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – codigosAgendas properties: codigosAgendas: type: array items: type: integer format: int64 minimum: 1 description: Códigos dos Agendamentos que seram cancelados observacao: type: string description: Campo para justificativa do cancelamento responses: 200: description: Ok schema: type: object required: – agendasCancelas properties: agendasCancelas: type: array items: type: object allOf: – #/definitions/agendaCancelada minimum: 1 description: Retorna as Agendas canceladas 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/actions/rejeitarAgendamento: post: description: Ao receber um agendamento com status *Aguardando Confirmação* e *Aguardando Confirmação Solicitante*\n rejeitará o agendamento, caso o agendamento possua outro status será rejeitado o agendamento e gera erro.\n 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: Agendamento que será rejeitado responses: 200: description: Ok schema: type: object required: – agenda properties: agenda: type: object allOf: – #/definitions/agenda description: Agenda rejeitada 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/actions/aprovarAgendamento: post: description: Ao receber um agendamento com status *Aguardando Confirmação* e *Aguardando Confirmação Solicitante*\n aprovará o agendamento, caso o agendamento possua outro status será rejeitado o agendamento e gera erro.\n 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: Agendamento que será aprovado responses: 200: description: Ok schema: type: object required: – agenda properties: agenda: type: object allOf: – #/definitions/agenda description: Agenda aprovada 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/actions/checkScheduleExecution: post: description: Valida se uma agenda pode ser iniciada tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – agenda properties: agenda: type: string description: UUID da agenda responses: 200: description: Ok schema: type: object 400: description: Requisição inválida, parâmetros obrigatórios não informados 401: description: Não foi possível efetuar o login no tenant com o accessKey e secret informados 409: description: Indica um conflito que impede iniciar uma agenda default: description: Error response schema: #/definitions/genericError /agenda/actions/linkVehiclesToPartner: post: description: Vincula veiculos a um Parceiro (externalTenant) tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – code – plates properties: code: type: string description: Código do documento que identica o parceiro CNPJ ou CPF plates: type: array items: type: string minimum: 1 description: Plates of the vehicle responses: 200: description: Ok schema: type: object properties: platesNotLinked: type: array items: type: string description: Retorna as placas que não foram vinculadas ao parceiro 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/actions/iniciarAgendamento: post: description: Coloca o agendamento em execução tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – agenda properties: agenda: type: string description: UUID da agenda responses: 200: description: Ok schema: type: object required: – agenda properties: agenda: type: object allOf: – #/definitions/agenda description: Retorna a agenda em estado EXECUTANDO 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/actions/finalizarAgendamento: post: description: Finaliza o agendamento tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – agenda properties: agenda: type: string description: UUID da agenda responses: 200: description: Ok schema: type: object required: – agenda properties: agenda: type: object allOf: – #/definitions/agenda description: Retorna agenda em estado CONCLUIDO 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/actions/aguardarIntegracao: post: description: Aguardar integração antes de iniciar agendamento.\n Quando a **Agenda** está em estado de agendada e precisa aguardar uma integração com sistemas de\n terceiros, a mesma deve entrar no estado de AGUARDANDO_INTEGRACAO e quando obtiver uma reposta\n afirmativa a execução circuito será iniciada.\n Obs.: a agenda precisa está com estado AGENDADO.\n tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – agenda – circuito – sequenciaInicial properties: agenda: type: string description: Identificador da agenda circuito: type: string description: Identificador do circuito sequenciaInicial: type: string description: Identificador da sequência inicial do circuito vagaInicial: type: string description: Identificador da vaga que será ocupada responses: 200: description: Ok schema: type: object required: – agenda properties: agenda: type: object allOf: – #/definitions/agenda description: Agenda com estado de AGUARDANDO_INTEGRACAO e informações do circuito que será executada após\n a integração ser concluida com sucesso. 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/actions/informarIntegracao: post: description: Informa à agenda sobre o resultado da integração.\n Quando a integração é processada com sucesso e a agenda está com estado de espera pela mesma,\n um sinal para a execução do circuito iniciar é enviado. Em qualquer outro estado, nada se altera.\n Quando um erro é informado e a agenda está com estado de aguardando integração,\n a mesma ficará com estado de erro. Caso a agenda já esteja em execução, o estado não se altera.\n tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – agenda – servico – status properties: agenda: type: string description: Identificador da agenda servico: type: string description: Identificador do serviço que está integrando status: type: string allOf: – #/definitions/statusIntegracao description: Status da integração motivoDeFalha: type: string description: Motivo da falha da integração responses: 200: description: Ok schema: type: object 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/actions/desativarTipoAgendamento: post: description: Ação para desativar um Tipo de Agendamento tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – tipoAgendamento properties: tipoAgendamento: type: object allOf: – #/definitions/tipoAgendamento description: Tipo de Agendamento que será desativado responses: 200: description: Ok schema: type: object required: – tipoAgendamento properties: tipoAgendamento: type: object allOf: – #/definitions/tipoAgendamento description: Tipo de Agendamento desativado 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/actions/ativarTipoAgendamento: post: description: Ação para ativar um Tipo de Agendamento tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – tipoAgendamento properties: tipoAgendamento: type: object allOf: – #/definitions/tipoAgendamento description: Tipo de Agendamento que será ativado responses: 200: description: Ok schema: type: object required: – tipoAgendamento properties: tipoAgendamento: type: object allOf: – #/definitions/tipoAgendamento description: Tipo de Agendamento ativado 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/actions/bloquearTipoAgendamento: post: description: Ação para bloquear um Tipo de Agendamento tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – id – motivo properties: id: type: string description: Identificação do tipo de Agendamento que será bloqueado motivo: type: string description: Motivo para o bloqueio do tipo de Agendamento responses: 200: description: Ok schema: type: object required: – tipoAgendamento properties: tipoAgendamento: type: object allOf: – #/definitions/tipoAgendamento description: Tipo de Agendamento bloqueado 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/actions/desbloquearTipoAgendamento: post: description: Ação para desbloquear um Tipo de Agendamento tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – id properties: id: type: string description: Identificação do tipo de agendamento que será desbloqueado responses: 200: description: Ok schema: type: object required: – tipoAgendamento properties: tipoAgendamento: type: object allOf: – #/definitions/tipoAgendamento description: Tipo de Agendamento desbloqueado 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/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 externalTenantId: type: string description: Id da ExternalTenant tipoAgendamentoId: type: string description: Id do TipoAgendamento motoristaId: type: string description: Id do Motorista veiculoId: type: string description: Id do Veiculo descricao: type: string description: Descrição do Agendamento dataEsperadaAgendamentoInicio: type: string format: date-time description: Data inicial para buscar os agendamentos dataEsperadaAgendamentoFim: type: string format: date-time description: Data Final para buscar os agendamentos status: type: array items: type: string allOf: – #/definitions/statusAgendamento description: Status do Agendamento pesquisa: type: string description: Campo string para pesquisa. Podem ser informados: Descrição da agenda, Placa e Tipo de agendamento. somenteVencidas: type: boolean description: Filtra apenas agendas vencidas default: false horasConsiderarVencida: type: integer format: int64 description: Quantidade horas após a data esperada para considerar vencida minimum: 2 maximum: 8760 default: 24 codigoAgrupador: type: string description: Código agrupador codigo: type: string description: Código Agenda chaveIntegracao: type: string description: Chave Integração G5 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 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/actions/cancelarAgendamentoPorCancelamentoCircuito: post: description: Ação cancelar um agendamento por cancelamento do circuito tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – agendaId properties: agendaId: type: string description: Identificador do agendamento responses: 200: description: Ok schema: type: object required: – agendaCancelada properties: agendaCancelada: type: object allOf: – #/definitions/agenda description: Agendamento cancelado 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/actions/reiniciarAgendamentoPorCancelamentoCircuito: post: description: Ação Reiniciar um agendamento por cancelamento do circuito tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – agendaId properties: agendaId: type: string description: Identificador do agendamento responses: 200: description: Ok schema: type: object required: – agendaReiniciada properties: agendaReiniciada: type: object allOf: – #/definitions/agenda description: Agendamento cancelado 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/actions/cadastrarComposicaoVeiculo: post: description: Cadastra uma nova Composição de Veículo tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object allOf: – #/definitions/composicaoVeiculo responses: 200: description: Ok schema: type: object allOf: – #/definitions/composicaoVeiculo 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/actions/atualizarComposicaoVeiculo: post: description: Atualiza uma Composição de Veículo tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object allOf: – #/definitions/composicaoVeiculo responses: 200: description: Ok schema: type: object allOf: – #/definitions/composicaoVeiculo 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/actions/cadastrarUsuarioExterno: post: description: Ação para emitir o usuário para o serviço de usuários externos tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – nome – sobrenome – email – senha – parceiros – baseUrl – redirectUrl properties: nome: type: string description: Nome sobrenome: type: string description: Sobrenome do usuario email: type: string description: E-mail do usuário senha: type: string description: Senha do usuário parceiros: type: array items: type: string minimum: 1 description: Id do parceiro ao qual o usuário será vinculado baseUrl: type: string description: Url de confirmação de e-mail redirectUrl: type: string description: Url que o usário será redirecionado responses: 200: description: Ok schema: type: object allOf: – #/definitions/externalUser 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/actions/ativarUsuarioExterno: post: description: Ativar usuário Externo tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – usuarioId properties: usuarioId: type: string description: Id do usuário à ser ativado responses: 200: description: Ok schema: type: object allOf: – #/definitions/externalUser 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/actions/desativarUsuarioExterno: post: description: Desativar usuário Externo tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – usuarioId properties: usuarioId: type: string description: Id do usuário à ser desativado responses: 200: description: Ok schema: type: object allOf: – #/definitions/externalUser 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/actions/confirmarEmailUsuario: post: description: Informar que o usuário confirmou o email tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – email – token properties: email: type: string description: E-mail do usuário à ser confirmado token: type: string description: Token de confirmação do e-mail responses: 200: description: Ok schema: type: object default: description: Error response schema: #/definitions/genericError /agenda/actions/reenviarEmail: post: description: Reenviar e-mail de cadastro de usuário tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – usuarioId – senha – baseUrl – redirectUrl properties: usuarioId: type: string description: Id do usuário à ser ativado senha: type: string description: Senha do usuário baseUrl: type: string description: Url de confirmação de e-mail redirectUrl: type: string description: Url que o usário será redirecionado responses: 200: description: Ok schema: type: object 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/actions/adicionarAnexosAoAgendamento: post: description: Adiciona uma lista de anexos ao agendamento tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – anexos – agendaId properties: anexos: type: array items: type: object allOf: – #/definitions/anexo minimum: 1 description: Lista de anexos para serem adicionados agendaId: type: string description: ID do agendamento a ser adicionado responses: 200: description: Ok schema: type: object required: – anexos properties: anexos: type: array items: type: object allOf: – #/definitions/anexo minimum: 1 description: Lista de anexos salvos 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/actions/atualizarAgendamento: post: description: Atualiza algumas informações de um agendamento já criado tags: – Actions x-senior-visibility: PUBLIC parameters: – name: input in: body required: true schema: type: object required: – agendaId properties: agendaId: type: string description: ID do agendamento composicaoVeiculoId: type: string description: ID da nova composição de veículo motoristaId: type: string description: ID do motorista descricaoAutogerada: type: boolean description: Altera Flag de descrição auto gerada do agendamento descricao: type: string description: Nova descrição observacao: type: string description: Nova observação status: type: string allOf: – #/definitions/statusAgendamento description: Status do Agendamento custom: type: string format: byte description: Campos customizados tipoCarga: type: string allOf: – #/definitions/tipoCarga description: Tipo de Carga responses: 200: description: Ok schema: type: object required: – agenda properties: agenda: type: object allOf: – #/definitions/agenda description: Agenda atualizada 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/actions/validarAgenda: post: description: Valida a agenda com as regras de validação e atualiza status agendamento tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – agendaId properties: agendaId: type: string description: ID do agendamento responses: 200: description: Ok schema: type: object required: – historicoAprovacaoAgendaId properties: historicoAprovacaoAgendaId: type: string description: ID do historico de aprovação de Agenda 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/actions/checarRevalidacao: post: description: Coniste se alguma alteração ocorreu de acordo com os modelos de validação associadoos tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object allOf: – #/definitions/erpProcessData responses: 200: description: Ok schema: type: object required: – requerRevalidacao properties: requerRevalidacao: type: boolean description: Indica que o agendamento precisa ser revalidado 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/actions/executarRegrasValidacaoAgenda: post: description: Executa as regras de validação agenda retornando resultado tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – agendaId properties: agendaId: type: string description: ID do agendamento responses: 200: description: Ok schema: type: object required: – result properties: result: type: object allOf: – #/definitions/resultadoValidacaoAgenda description: Resultado da Validação 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/actions/odata: post: description: tags: – Actions x-senior-visibility: PRIVATE responses: 204: description: No response 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/actions/importAgenda: post: description: tags: – Actions x-senior-visibility: PRIVATE 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: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/actions/importTipoAgendamento: post: description: tags: – Actions x-senior-visibility: PRIVATE 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: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/actions/importLimiteOperacao: post: description: tags: – Actions x-senior-visibility: PRIVATE 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: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/actions/importExternalTenant: post: description: tags: – Actions x-senior-visibility: PRIVATE 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: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/actions/importExternalUser: post: description: tags: – Actions x-senior-visibility: PRIVATE 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: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/actions/importComposicaoVeiculo: post: description: tags: – Actions x-senior-visibility: PRIVATE 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: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/actions/importMotorista: post: description: tags: – Actions x-senior-visibility: PRIVATE 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: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/actions/importTipoVeiculo: post: description: tags: – Actions x-senior-visibility: PRIVATE 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: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/actions/importVeiculo: post: description: tags: – Actions x-senior-visibility: PRIVATE 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: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/actions/importPlanta: post: description: tags: – Actions x-senior-visibility: PRIVATE 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: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/actions/importEndereco: post: description: tags: – Actions x-senior-visibility: PRIVATE 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: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/actions/importTimeZone: post: description: tags: – Actions x-senior-visibility: PRIVATE 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: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/actions/importTurno: post: description: tags: – Actions x-senior-visibility: PRIVATE 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: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/actions/importTurnoData: post: description: tags: – Actions x-senior-visibility: PRIVATE 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: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/actions/importMediaExecucaoCircuito: post: description: tags: – Actions x-senior-visibility: PRIVATE 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: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/actions/importCircuito: post: description: tags: – Actions x-senior-visibility: PRIVATE 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: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/actions/importExecucaoCircuito: post: description: tags: – Actions x-senior-visibility: PRIVATE 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: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/actions/importHistoricoExecucaoCircuito: post: description: tags: – Actions x-senior-visibility: PRIVATE 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: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/actions/importModeloValidacaoAgenda: post: description: tags: – Actions x-senior-visibility: PRIVATE 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: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/actions/importConfiguracaoAprovacaoAgenda: post: description: tags: – Actions x-senior-visibility: PRIVATE 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: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/actions/importHistoricoAprovacaoAgenda: post: description: tags: – Actions x-senior-visibility: PRIVATE 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: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/events/agendaCreate: post: description: Evento de criação da Agenda x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – agenda properties: agenda: type: object allOf: – #/definitions/agenda description: Agenda criada responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /agenda/events/agendaUpdate: post: description: Evento de atualização da Agenda x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – agenda properties: agenda: type: object allOf: – #/definitions/agenda description: Agenda atualizada responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /agenda/events/tipoAgendamentoCreate: post: description: Evento de criação de Tipo de Agendamento x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – tipoAgendamento properties: tipoAgendamento: type: object allOf: – #/definitions/tipoAgendamento description: Tipo agendamento criado responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /agenda/events/tipoAgendamentoUpdate: post: description: Evento de atualização de Tipo de Agendamento x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – tipoAgendamento properties: tipoAgendamento: type: object allOf: – #/definitions/tipoAgendamento description: Tipo agendamento atualizado responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /agenda/events/tipoAgendamentoDelete: post: description: Evento que informa que Tipo de Agendamento que foi deletada x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – tipoAgendamentoId properties: tipoAgendamentoId: type: string description: Tipo de Agendamento Id responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /agenda/events/externalUserCreated: post: description: Evento quando um Usuário externo é criado x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object allOf: – #/definitions/externalUser responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /agenda/events/externalUserUpdated: post: description: Evento quando um Usuário externo é atualizado x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object allOf: – #/definitions/externalUser responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /agenda/events/importAgendaEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /agenda/events/exportAgendaEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /agenda/events/importAnexoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /agenda/events/exportAnexoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /agenda/events/importTipoAgendamentoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /agenda/events/exportTipoAgendamentoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /agenda/events/importLimiteOperacaoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /agenda/events/exportLimiteOperacaoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /agenda/events/importRegraLimiteOperacaoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /agenda/events/exportRegraLimiteOperacaoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /agenda/events/importExternalTenantEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /agenda/events/exportExternalTenantEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /agenda/events/importEnderecoExternalTenantEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /agenda/events/exportEnderecoExternalTenantEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /agenda/events/importExternalUserEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /agenda/events/exportExternalUserEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /agenda/events/importComposicaoVeiculoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /agenda/events/exportComposicaoVeiculoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /agenda/events/importMotoristaEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /agenda/events/exportMotoristaEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /agenda/events/importTipoVeiculoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /agenda/events/exportTipoVeiculoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /agenda/events/importVeiculoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /agenda/events/exportVeiculoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /agenda/events/importPlantaEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /agenda/events/exportPlantaEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /agenda/events/importEnderecoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /agenda/events/exportEnderecoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /agenda/events/importTimeZoneEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /agenda/events/exportTimeZoneEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /agenda/events/importTurnoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /agenda/events/exportTurnoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /agenda/events/importTurnoDataEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /agenda/events/exportTurnoDataEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /agenda/events/importMediaExecucaoCircuitoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /agenda/events/exportMediaExecucaoCircuitoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /agenda/events/importCircuitoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /agenda/events/exportCircuitoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /agenda/events/importExecucaoCircuitoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /agenda/events/exportExecucaoCircuitoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /agenda/events/importHistoricoExecucaoCircuitoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /agenda/events/exportHistoricoExecucaoCircuitoEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /agenda/events/importModeloValidacaoAgendaEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /agenda/events/exportModeloValidacaoAgendaEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /agenda/events/importConfiguracaoAprovacaoAgendaEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /agenda/events/exportConfiguracaoAprovacaoAgendaEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /agenda/events/importHistoricoAprovacaoAgendaEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /agenda/events/exportHistoricoAprovacaoAgendaEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /agenda/events/importHistoricoAprovacaoAgendaItemEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/importEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /agenda/events/exportHistoricoAprovacaoAgendaItemEvent: post: description: x-senior-event: true tags: – Events parameters: – name: input in: body required: true schema: type: object required: – eventpl properties: eventpl: type: object allOf: – #/definitions/exportEventStatus description: responses: 200: description: OK default: description: Error response schema: #/definitions/genericError /agenda/entities/agenda: post: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/agenda responses: 200: description: The created resource schema: #/definitions/agenda 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/agenda responses: 200: description: The created resource schema: #/definitions/agenda 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Esta entidade pode ser customizada. 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 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/entities/agenda/{id}: put: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/agenda responses: 200: description: Ok schema: #/definitions/agenda 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/agenda responses: 200: description: Ok schema: #/definitions/agenda 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/agenda 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/entities/agenda/bulk: post: description: Esta entidade pode ser customizada. tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/agenda responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/entities/anexo: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/anexo responses: 200: description: The created resource schema: #/definitions/anexo 401: description: Invalid Credentials 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/anexo responses: 200: description: The created resource schema: #/definitions/anexo 401: description: Invalid Credentials 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/anexo 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/entities/anexo/{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/anexo responses: 200: description: Ok schema: #/definitions/anexo 401: description: Invalid Credentials 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/anexo responses: 200: description: Ok schema: #/definitions/anexo 401: description: Invalid Credentials 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/anexo 401: description: Invalid Credentials 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 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/entities/agenda/{parentId}/anexos: 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/anexo responses: 200: description: The created resources schema: type: array items: #/definitions/anexo 401: description: Invalid Credentials 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/anexo responses: 200: description: The created resources schema: type: array items: #/definitions/anexo 401: description: Invalid Credentials 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/anexo 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/entities/agenda/{parentId}/anexos/{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/anexo responses: 200: description: Ok schema: #/definitions/anexo 401: description: Invalid Credentials 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/anexo responses: 200: description: Ok schema: #/definitions/anexo 401: description: Invalid Credentials 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/anexo 401: description: Invalid Credentials 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 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/entities/anexo/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/anexo responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/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 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/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 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/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 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/entities/limiteOperacao: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/limiteOperacao responses: 200: description: The created resource schema: #/definitions/limiteOperacao 401: description: Invalid Credentials 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/limiteOperacao responses: 200: description: The created resource schema: #/definitions/limiteOperacao 401: description: Invalid Credentials 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/limiteOperacao 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/entities/limiteOperacao/{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/limiteOperacao responses: 200: description: Ok schema: #/definitions/limiteOperacao 401: description: Invalid Credentials 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/limiteOperacao responses: 200: description: Ok schema: #/definitions/limiteOperacao 401: description: Invalid Credentials 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/limiteOperacao 401: description: Invalid Credentials 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 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/entities/limiteOperacao/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/limiteOperacao responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/entities/regraLimiteOperacao: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/regraLimiteOperacao responses: 200: description: The created resource schema: #/definitions/regraLimiteOperacao 401: description: Invalid Credentials 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/regraLimiteOperacao responses: 200: description: The created resource schema: #/definitions/regraLimiteOperacao 401: description: Invalid Credentials 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/regraLimiteOperacao 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/entities/regraLimiteOperacao/{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/regraLimiteOperacao responses: 200: description: Ok schema: #/definitions/regraLimiteOperacao 401: description: Invalid Credentials 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/regraLimiteOperacao responses: 200: description: Ok schema: #/definitions/regraLimiteOperacao 401: description: Invalid Credentials 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/regraLimiteOperacao 401: description: Invalid Credentials 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 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/entities/limiteOperacao/{parentId}/regrasLimiteOperacao: 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/regraLimiteOperacao responses: 200: description: The created resources schema: type: array items: #/definitions/regraLimiteOperacao 401: description: Invalid Credentials 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/regraLimiteOperacao responses: 200: description: The created resources schema: type: array items: #/definitions/regraLimiteOperacao 401: description: Invalid Credentials 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/regraLimiteOperacao 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/entities/limiteOperacao/{parentId}/regrasLimiteOperacao/{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/regraLimiteOperacao responses: 200: description: Ok schema: #/definitions/regraLimiteOperacao 401: description: Invalid Credentials 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/regraLimiteOperacao responses: 200: description: Ok schema: #/definitions/regraLimiteOperacao 401: description: Invalid Credentials 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/regraLimiteOperacao 401: description: Invalid Credentials 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 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/entities/regraLimiteOperacao/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/regraLimiteOperacao responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/entities/externalTenant: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/externalTenant responses: 200: description: The created resource schema: #/definitions/externalTenant 401: description: Invalid Credentials 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/externalTenant responses: 200: description: The created resource schema: #/definitions/externalTenant 401: description: Invalid Credentials 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/externalTenant 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/entities/externalTenant/{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/externalTenant responses: 200: description: Ok schema: #/definitions/externalTenant 401: description: Invalid Credentials 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/externalTenant responses: 200: description: Ok schema: #/definitions/externalTenant 401: description: Invalid Credentials 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/externalTenant 401: description: Invalid Credentials 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 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/entities/externalTenant/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/externalTenant responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/entities/enderecoExternalTenant: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/enderecoExternalTenant responses: 200: description: The created resource schema: #/definitions/enderecoExternalTenant 401: description: Invalid Credentials 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/enderecoExternalTenant responses: 200: description: The created resource schema: #/definitions/enderecoExternalTenant 401: description: Invalid Credentials 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/enderecoExternalTenant 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/entities/enderecoExternalTenant/{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/enderecoExternalTenant responses: 200: description: Ok schema: #/definitions/enderecoExternalTenant 401: description: Invalid Credentials 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/enderecoExternalTenant responses: 200: description: Ok schema: #/definitions/enderecoExternalTenant 401: description: Invalid Credentials 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/enderecoExternalTenant 401: description: Invalid Credentials 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 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/entities/externalTenant/{parentId}/endereco: 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/enderecoExternalTenant responses: 200: description: The created resource schema: #/definitions/enderecoExternalTenant 401: description: Invalid Credentials 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/enderecoExternalTenant responses: 200: description: The created resource schema: #/definitions/enderecoExternalTenant 401: description: Invalid Credentials 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/enderecoExternalTenant 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/entities/externalTenant/{parentId}/endereco/{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/enderecoExternalTenant responses: 200: description: Ok schema: #/definitions/enderecoExternalTenant 401: description: Invalid Credentials 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/enderecoExternalTenant responses: 200: description: Ok schema: #/definitions/enderecoExternalTenant 401: description: Invalid Credentials 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/enderecoExternalTenant 401: description: Invalid Credentials 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 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/entities/enderecoExternalTenant/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/enderecoExternalTenant responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/entities/externalUser: post: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/externalUser responses: 200: description: The created resource schema: #/definitions/externalUser 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/externalUser responses: 200: description: The created resource schema: #/definitions/externalUser 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: array items: #/definitions/externalUser 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/entities/externalUser/{id}: put: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/externalUser responses: 200: description: Ok schema: #/definitions/externalUser 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError patch: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string – name: entity in: body required: true schema: #/definitions/externalUser responses: 200: description: Ok schema: #/definitions/externalUser 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/externalUser 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError delete: description: Esta entidade pode ser customizada. tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/entities/externalUser/bulk: post: description: Esta entidade pode ser customizada. tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/externalUser responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/entities/composicaoVeiculo: 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/composicaoVeiculo 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/entities/composicaoVeiculo/{id}: get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/composicaoVeiculo 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/entities/motorista: 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 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/entities/motorista/{id}: get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/motorista 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/entities/tipoVeiculo: 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/tipoVeiculo 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/entities/tipoVeiculo/{id}: get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/tipoVeiculo 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/entities/veiculo: 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 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/entities/veiculo/{id}: get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/veiculo 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/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 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/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 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/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 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/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 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/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 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials 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 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/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 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/entities/timeZone: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/timeZone responses: 200: description: The created resource schema: #/definitions/timeZone 401: description: Invalid Credentials 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/timeZone responses: 200: description: The created resource schema: #/definitions/timeZone 401: description: Invalid Credentials 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/timeZone 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/entities/timeZone/{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/timeZone responses: 200: description: Ok schema: #/definitions/timeZone 401: description: Invalid Credentials 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/timeZone responses: 200: description: Ok schema: #/definitions/timeZone 401: description: Invalid Credentials 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/timeZone 401: description: Invalid Credentials 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 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/entities/timeZone/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/timeZone responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/entities/turno: 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 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/entities/turno/{id}: get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/turno 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/entities/turnoData: 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 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/entities/turnoData/{id}: get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/turnoData 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/entities/execucaoCircuito: 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 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/entities/execucaoCircuito/{id}: get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/execucaoCircuito 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/entities/historicoExecucaoCircuito: 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 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/entities/historicoExecucaoCircuito/{id}: get: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/historicoExecucaoCircuito 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/entities/modeloValidacaoAgenda: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/modeloValidacaoAgenda responses: 200: description: The created resource schema: #/definitions/modeloValidacaoAgenda 401: description: Invalid Credentials 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/modeloValidacaoAgenda responses: 200: description: The created resource schema: #/definitions/modeloValidacaoAgenda 401: description: Invalid Credentials 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/modeloValidacaoAgenda 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/entities/modeloValidacaoAgenda/{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/modeloValidacaoAgenda responses: 200: description: Ok schema: #/definitions/modeloValidacaoAgenda 401: description: Invalid Credentials 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/modeloValidacaoAgenda responses: 200: description: Ok schema: #/definitions/modeloValidacaoAgenda 401: description: Invalid Credentials 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/modeloValidacaoAgenda 401: description: Invalid Credentials 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 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/entities/modeloValidacaoAgenda/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/modeloValidacaoAgenda responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/entities/configuracaoAprovacaoAgenda: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/configuracaoAprovacaoAgenda responses: 200: description: The created resource schema: #/definitions/configuracaoAprovacaoAgenda 401: description: Invalid Credentials 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/configuracaoAprovacaoAgenda responses: 200: description: The created resource schema: #/definitions/configuracaoAprovacaoAgenda 401: description: Invalid Credentials 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/configuracaoAprovacaoAgenda 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/entities/configuracaoAprovacaoAgenda/{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/configuracaoAprovacaoAgenda responses: 200: description: Ok schema: #/definitions/configuracaoAprovacaoAgenda 401: description: Invalid Credentials 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/configuracaoAprovacaoAgenda responses: 200: description: Ok schema: #/definitions/configuracaoAprovacaoAgenda 401: description: Invalid Credentials 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/configuracaoAprovacaoAgenda 401: description: Invalid Credentials 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 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/entities/configuracaoAprovacaoAgenda/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/configuracaoAprovacaoAgenda responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/entities/historicoAprovacaoAgenda: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/historicoAprovacaoAgenda responses: 200: description: The created resource schema: #/definitions/historicoAprovacaoAgenda 401: description: Invalid Credentials 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/historicoAprovacaoAgenda responses: 200: description: The created resource schema: #/definitions/historicoAprovacaoAgenda 401: description: Invalid Credentials 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/historicoAprovacaoAgenda 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/entities/historicoAprovacaoAgenda/{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/historicoAprovacaoAgenda responses: 200: description: Ok schema: #/definitions/historicoAprovacaoAgenda 401: description: Invalid Credentials 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/historicoAprovacaoAgenda responses: 200: description: Ok schema: #/definitions/historicoAprovacaoAgenda 401: description: Invalid Credentials 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/historicoAprovacaoAgenda 401: description: Invalid Credentials 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 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/entities/historicoAprovacaoAgenda/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/historicoAprovacaoAgenda responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/entities/historicoAprovacaoAgendaItem: post: tags: – CRUD x-senior-visibility: PRIVATE parameters: – name: entity in: body required: true schema: type: object allOf: – #/definitions/historicoAprovacaoAgendaItem responses: 200: description: The created resource schema: #/definitions/historicoAprovacaoAgendaItem 401: description: Invalid Credentials 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/historicoAprovacaoAgendaItem responses: 200: description: The created resource schema: #/definitions/historicoAprovacaoAgendaItem 401: description: Invalid Credentials 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/historicoAprovacaoAgendaItem 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/entities/historicoAprovacaoAgendaItem/{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/historicoAprovacaoAgendaItem responses: 200: description: Ok schema: #/definitions/historicoAprovacaoAgendaItem 401: description: Invalid Credentials 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/historicoAprovacaoAgendaItem responses: 200: description: Ok schema: #/definitions/historicoAprovacaoAgendaItem 401: description: Invalid Credentials 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/historicoAprovacaoAgendaItem 401: description: Invalid Credentials 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 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/entities/historicoAprovacaoAgenda/{parentId}/items: 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/historicoAprovacaoAgendaItem responses: 200: description: The created resources schema: type: array items: #/definitions/historicoAprovacaoAgendaItem 401: description: Invalid Credentials 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/historicoAprovacaoAgendaItem responses: 200: description: The created resources schema: type: array items: #/definitions/historicoAprovacaoAgendaItem 401: description: Invalid Credentials 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/historicoAprovacaoAgendaItem 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/entities/historicoAprovacaoAgenda/{parentId}/items/{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/historicoAprovacaoAgendaItem responses: 200: description: Ok schema: #/definitions/historicoAprovacaoAgendaItem 401: description: Invalid Credentials 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/historicoAprovacaoAgendaItem responses: 200: description: Ok schema: #/definitions/historicoAprovacaoAgendaItem 401: description: Invalid Credentials 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/historicoAprovacaoAgendaItem 401: description: Invalid Credentials 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 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /agenda/entities/historicoAprovacaoAgendaItem/bulk: post: tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/historicoAprovacaoAgendaItem responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError definitions: statusAgendamento: description: Status da Agenda type: string enum: – AGUARDANDO_CONFIRMACAO – AGUARDANDO_CONFIRMACAO_SOLICITANTE – AGENDADO – REJEITADO – CANCELADO – EM_EXECUCAO – CONCLUIDO – AGUARDANDO_INTEGRACAO – REJEITADO_POR_INTEGRACAO – AGUARDANDO_POR_VALIDACAO – REJEITADO_POR_VALIDACAO – ERRO_INTEGRACAO statusInicialAgendamento: description: Status ao criar um agendamento type: string enum: – AGUARDANDO_CONFIRMACAO – AGUARDANDO_CONFIRMACAO_SOLICITANTE – AGENDADO tipoAtividadeTipoAgedamento: description: Informa que a Agenda Reservada é uma Descarregamento(Recebimento) ou um Carregamento(Expedição) type: string enum: – CARREGAMENTO – DESCARREGAMENTO tipoCarga: description: Informa que tipo de carga do agendamento type: string enum: – PALETIZADA – BATIDA – GRANEL – LIQUIDA statusIntegracao: description: Status para uma determinada integração type: string enum: – PROCESSADA – REJEITADA tipoMotorista: description: Tipo de Motorista type: string enum: – PROPRIO – AGREGADO – TERCEIRO unidadeFederativa: description: Unidades Federativas do Brasil type: string enum: – ACRE – ALAGOAS – AMAPA – AMAZONAS – BAHIA – CEARA – DISTRITO_FEDERAL – ESPIRITO_SANTO – GOIAS – MARANHAO – MATO_GROSSO – MATO_GROSSO_DO_SUL – MINAS_GERAIS – PARA – PARAIBA – PARANA – PERNAMBUCO – PIAUI – RIO_DE_JANEIRO – RIO_GRANDE_DO_NORTE – RIO_GRANDE_DO_SUL – RONDONIA – RORAIMA – SANTA_CATARINA – SAO_PAULO – SERGIPE – TOCANTINS serviceHealthStatus: description: Define o Status do serviço type: string enum: – UP – DOWN tipoModeloValidacao: description: Tipo Modelo Validação type: string enum: – VEICULO – MOTORISTA – TIPO_CARGA – ORDEM_RECEBIMENTO – CUSTOM – OBRIGA_ANEXO tipoPrazo: description: Tipo de Prazo type: string enum: – DIA – HORA 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 – LOCALDATETIME – 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 agendaCancelada: description: Retorno das agendas canceladas, incluindo o motivo caso alguma agenda não tenha sido cancelada. type: object required: – codigo – isCancelada properties: codigo: type: integer format: int64 description: Código da agenda isCancelada: type: boolean description: Campo que informa se a agenda foi cancelada ou não mensagem: type: string description: Informa se o cancelamento foi bem-sucedido e, caso não tenha sido, o motivo da falha. horarioDisponivel: description: Contém um horário com a quantidade de agendamentos disponíveis type: object required: – horario – disponivel properties: horario: type: string description: Representa a hora disponivel: type: integer format: int64 description: Representa a quantidade de agendamentos disponíveis de acordo com o limite de operação mediaPorCircuito: description: Contém a média de execução do circuito medida pelo circuito type: object required: – descricao – media properties: descricao: type: string description: Descrição do circuito media: type: object allOf: – #/definitions/mediaExecucaoCircuito description: Média da execução do circuito mediaPorComposicaoVeiculo: description: Contém a média de execução do circuito medida pelo tipo de veículo type: object required: – descricao – composicaoVeiculo – media properties: descricao: type: string description: Descrição do circuito composicaoVeiculo: type: object allOf: – #/definitions/composicaoVeiculo description: Tipo do veículo utilizado na média media: type: object allOf: – #/definitions/mediaExecucaoCircuito description: Média da execução do circuito tenant: description: Os dados de um tenant type: object required: – nome – dominio – ativo – master – local properties: nome: type: string description: Nome do tenant dominio: type: string description: O domínio do tenant ativo: type: boolean description: Indica se o tenant está ativo master: type: boolean description: Indica se o tenant é master local: type: string description: O local do tenant checkData: description: Dados do healthcheck type: object required: – name – status properties: name: type: string description: Nome do healthcheck status: type: string allOf: – #/definitions/serviceHealthStatus description: Status do healthcheck erpProcessData: description: Dados de Processo da agenda do ERP type: object required: – agendaId properties: agendaId: type: string description: ID do agendamento chaveIntegracao: type: string description: Chave da Nota Fiscal filialId: type: string description: ID da Filial produtoId: type: string description: ID do Produto motoristaId: type: string description: ID do Motorista eixos: type: integer format: int64 description: Eixos contratados veiculoId: type: string description: ID Veículo transgeniaId: type: string description: ID da Transgenia transportadoraId: type: string description: ID da Transportadora fornecedores: type: array items: type: string description: Fornecedores informados recebimentoTemNota: type: boolean description: Indica se o recebimento tem nota(s) em todos os contratos ou ordem de compras dataHora: description: Representa a data e a hora type: object required: – data – hora properties: data: type: string format: date description: Data hora: type: string description: Hora resultadoValidacaoAgenda: description: Resultado Validação Regras type: object required: – aprovado properties: aprovado: type: boolean description: Resultado da Validação items: type: array items: type: object allOf: – #/definitions/resultadoValidacaoAgendaDetalhes description: Itens de Validação execitados associacaoAgendamento: description: Associacão do agendamento, contem informações necessárias para o calculo da previsão do tempo de execucao do agendamento type: object properties: tipoCarga: type: string allOf: – #/definitions/tipoCarga description: Tipo da carga eixos: type: integer format: int64 description: Quantidade de Eixos do veículo resultadoValidacaoAgendaDetalhes: description: Resultado Validação Regras type: object required: – aprovado – modeloValidacaoId – tipoModelo properties: aprovado: type: boolean description: Resultado da Validação modeloValidacaoId: type: string description: ID do modelo de validação tipoModelo: type: string description: Tipo modelo de validação messages: type: string format: byte description: Mensagens de retorno das validações agenda: description: Agenda type: object required: – tipoAgendamento – descricao – dataEsperadaAgendamento – status properties: id: type: string format: uuid description: Id da Agenda codigo: type: integer format: int64 description: Código identificador da agenda tipoAgendamento: type: object allOf: – #/definitions/tipoAgendamento description: Tipo do Agendamento descricao: type: string description: Descrição do Agendamento dataEsperadaAgendamento: type: string format: date-time description: Data Esperada de Inicio do Agendamento dataInicioExecucao: type: string format: date-time description: Data de inicio da execucao da Agenda dataFimExecucao: type: string format: date-time description: Data de fim da execucao da Agenda motorista: type: object allOf: – #/definitions/motorista description: Dados do Motorista veiculo: type: object allOf: – #/definitions/composicaoVeiculo description: dados do Veículo status: type: string allOf: – #/definitions/statusAgendamento description: Status Agendamento planta: type: object allOf: – #/definitions/planta description: Planta de Operação do Agendamento externalTenant: type: object allOf: – #/definitions/externalTenant description: Indica o tenant de terceiros da agenda observacao: type: string description: Observações para informar situações do agendamento anexos: type: array items: type: object allOf: – #/definitions/anexo description: Lista de anexos do agendamento codigoAgrupador: type: string description: Código agrupador circuito: type: string description: Identificador do circuito para este agendamento sequenciaInicial: type: string description: Sequência inicial do circuito para este agendamento vagaInicial: type: string description: Vaga inicial do circuito para este agendamento createdByPatio: type: boolean description: Indica se a agenda foi criada pelo serviço patio default: false createdByErp: type: boolean description: Indica se a agenda foi criada pelo serviço ERP default: false chaveIntegracao: type: string description: Chave de integração vindo da G5 descricaoAutogerada: type: boolean description: Indica se a descrição foi autogerada ou informado pelo usuário default: false motivo: type: string description: Motivo de rejeição/cancelamento tipoCarga: type: string allOf: – #/definitions/tipoCarga description: Tipo de Carga tempoDeExecucao: type: integer format: int64 description: Tempo previsto (em segundos) de operação default: 1 createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: anexo: description: Anexos do agendamento type: object required: – descricao – nome – url properties: id: type: string format: uuid description: Id do agendamento descricao: type: string description: Descrição do agendamento nome: type: string description: Nome do anexo a ser usado no repositório remoto (Não pode ser repetido, senão o arquivo será sobreescrito) url: type: string maxLength: 1024 description: Url do anexo no repositório de arquivos agenda: type: object allOf: – #/definitions/agenda description: Agenda que o anexo pertence createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: tipoAgendamento: description: Tipo de Agendamento type: object required: – codigo – descricao – tipoAtividade properties: id: type: string format: uuid description: uuid codigo: type: string description: Código Identificador do Tipo de Agendamento 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 motivo: type: string description: Motivo do bloqueio agendamentoHoraInicial: type: string description: Hórario de agendamento inicial agendamentoHoraFinal: type: string description: Hórario de agendamento final habilitarIntervaloAgenda: type: boolean description: Habilita o intervalo de agendas bloquearAgendaFutura: type: boolean description: Bloquear Execução de Agendas Futuras default: false prazoAgendaFutura: type: integer format: int64 description: Prazo para bloqueio agenda futura (o tipo do prazo fica no parametro tipoPrazoAgendaFutura) minimum: 0 tipoPrazoAgendaFutura: type: string allOf: – #/definitions/tipoPrazo description: Tipo de prazo no qual o bloqueia a execução de agenda futura habilitaPrazoPortalAgendamento: type: boolean description: Restringe agendamento usuário externo default: false prazoCriacaoAgendaPortalAgendamento: type: integer format: int64 description: Prazo em dias ou horas para criação agendamento no portal de usuários minimum: 0 habilitaAgendamentoTipoCarga: type: boolean description: Habilita Agendamento por tipo de carga default: false salvaAgendaAguardandoConfirmacao: type: boolean description: Salva a agenda com status AGUARDANDO CONFIRMAÇÃO caso todos modelos de validação sejam aprovados default: false naoPermiteInclusaoAnexoAgendaStatusAgendado: type: boolean description: Parâmetro para permitir ou não inclusão de anexo na agenda com status AGENDADO default: false tipoPrazo: type: string allOf: – #/definitions/tipoPrazo description: Tipo de prazo no qual o agendamento pode ser feito naoPermiteHorarioRetroativo: type: boolean description: Parâmetro para permitir ou não criação de agendas com horário retroativo ( que já passou ) (true = bloqueia horario retroativo) default: false createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: limiteOperacao: description: Limite de Operação – define os intervalos de tempo em que as agendas podem ser cadastradas e limite de agendamentos nesse mesmo intervalo type: object required: – descricao – tempoDeExecucao – limitePorIntervalo – planta – tipoAgendamentos properties: id: type: string format: uuid description: ID descricao: type: string description: Descrição do limite tempoDeExecucao: type: integer format: int64 description: Informa o tempo de execução estimado (em segundos) minimum: 1 limitePorIntervalo: type: integer format: int64 description: Informa o limite de agendamentos em um intervalo de tempo definido pelo tempo de execução minimum: 1 planta: type: object allOf: – #/definitions/planta description: Planta ao qual o limite está vinculado turnos: type: array items: type: object allOf: – #/definitions/turno description: Turnos vinculados ao limite de operação tipoAgendamentos: type: array items: type: object allOf: – #/definitions/tipoAgendamento minimum: 1 description: Lista de Tipos de Agendamentos ligados ao limite de operação regrasLimiteOperacao: type: array items: type: object allOf: – #/definitions/regraLimiteOperacao description: Regras de Limites específicos limiteDiario: type: integer format: int64 description: Limite de agendamento diário createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: regraLimiteOperacao: description: Regras Especificas do Limite de Operação type: object required: – tipoCarga – quantidadeEixos – tempoDeExecucao properties: id: type: string format: uuid description: ID limiteOperacao: type: object allOf: – #/definitions/limiteOperacao description: Limite de Operação pai tipoCarga: type: string allOf: – #/definitions/tipoCarga description: Tipo de Carga quantidadeEixos: type: integer format: int64 description: Quantidade de eixos minimum: 1 maximum: 99 tempoDeExecucao: type: integer format: int64 description: Informa o tempo de execução estimado (em segundos) minimum: 1 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: – descricao – cnpj – ativo – habilitaLimiteAgendas properties: id: type: string format: uuid description: ID do parceiro descricao: type: string description: Descrição do parceiro cnpj: type: string maxLength: 18 description: CNPJ do parceiro tenantDomain: type: string description: Domínio do parceiro, ex: senior.com.br ativo: type: boolean description: Indica se o parceiro 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 endereco: type: object allOf: – #/definitions/enderecoExternalTenant description: Endereço do parceiro externo usuarios: type: array items: type: object allOf: – #/definitions/externalUser description: Usuários do parceiro criarAgendaStatusAgendado: type: boolean description: Criar agenda com status Agendado default: false tipoAgendamentos: type: array items: type: object allOf: – #/definitions/tipoAgendamento description: Tipos de Agendamento vinculados ao parceiro limiteAgendas: type: integer format: int64 description: Recebe o limite de agendas por dia habilitaLimiteAgendas: type: boolean description: Habilita o limite de agendas habilitarCancelamentoAgenda: type: boolean description: Habilita o cancelamento da agenda default: false tempoCancelamentoAgenda: type: string description: Tempo hábil para cancelamento de agenda habilitarReagendamentoQuandoStatusAgendado: type: boolean description: Habilita o reagendamento de agenda quando status Agendado default: false tempoReagendamentoQuandoStatusAgendado: type: string description: Tempo hábil para reagendamento de agenda quando status Agendado reagendamentoComStatusAgendado: type: boolean description: Faz o reagendamento da agenda com status agendado default: false permiteAgendamentoComPrazo: type: boolean description: Permite o agendamento com prazo default: false prazoDiasAgendamento: type: integer format: int64 description: Permite o agendamento com prazo em dias que foi determinado minimum: 0 maximum: 999 createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: enderecoExternalTenant: description: Endereço do parceiro externo type: object required: – logradouro – bairro – cidade – estado – pais – cep properties: id: type: string format: uuid description: ID do endereço do parceiro externo 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 externalTenant: type: object allOf: – #/definitions/externalTenant description: Parceiro externo createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: externalUser: description: Representa um usuário externo type: object required: – nome – sobrenome – email – ativo – confirmouEmail – parceiros properties: id: type: string format: uuid description: Id do usuário nome: type: string description: Nome sobrenome: type: string description: Sobrenome do usuário email: type: string description: E-mail do usuário ativo: type: boolean description: Indica se o usuário está Ativo confirmouEmail: type: boolean description: Indica se o usuário confirmou o email parceiros: type: array items: type: object allOf: – #/definitions/externalTenant minimum: 1 description: Lista de parceiros ao qual o usuário externo está vinculado permiteEdicaoMotorista: type: boolean description: Permite edição do motorista vinculado ao parceiro default: false desabilitaCriarAgendamentoAgrupado: type: boolean description: Desabilita a opção de criar agendamento agrupado default: false 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 maxLength: 36 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 eixos: type: integer format: int64 description: Eixos default: 0 excluido: type: boolean description: Indica se a composição de veículo foi excluída logicamente default: false bloqueado: type: boolean description: Indica o bloqueio da composição de veículo default: false createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: motorista: description: Dados do motorista type: object required: – nome – tipoMotorista properties: id: type: string description: uuid nome: type: string description: Nome do motorista cpf: type: string description: CPF 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 excluido: type: boolean description: Indica se o veículo foi excluído logicamente default: false createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: tipoVeiculo: description: Tipo de veículo type: object required: – id – descricao properties: id: type: string format: uuid description: ID descricao: type: string description: Descrição do tipo de veículo semirreboque: type: string description: Tipo do semirreboque caso o Tipo de Veículo seja um semirreboque createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: veiculo: description: Dados do Veiculo type: object required: – descricao – placa – tipoVeiculo properties: id: type: string description: uuid descricao: type: string description: Descrição do veiculo placa: type: string description: Placa do veiculo bloqueado: type: boolean description: Indica se o veículo está bloqueado default: false motivoDoBloqueio: type: string description: Motivo do bloqueio do veículo tipoVeiculo: type: object allOf: – #/definitions/tipoVeiculo description: Tipo do veiculo 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 excluido: type: boolean description: Indica se o veículo foi excluído logicamente default: false 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 – timeZone properties: id: type: string description: uuid nome: type: string description: Nome da planta cnpj: type: array items: type: string description: Lista de CNPJs vinculados a planta endereco: type: object allOf: – #/definitions/endereco description: Endereço da planta timeZone: type: object allOf: – #/definitions/timeZone description: Fuso horário 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: – id – logradouro – bairro – cidade – estado – pais – cep properties: id: type: string 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: timeZone: description: Tabela que contém os fusos horários type: object required: – description – offsetValue properties: id: type: string format: uuid description: Id do fuso horário description: type: string description: Descrição do fuso horário offsetValue: type: integer format: int64 description: Tempo em relação ao UTC 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: – id – horaInicio – horaFim – ativo – bloqueado – planta properties: id: type: string 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: – id – data – turno – ativo – bloqueado properties: id: type: string 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: mediaExecucaoCircuito: description: Representa o tempo das execuções dos circuitos type: object required: – id – media – percentil90 – percentil80 – percentil70 properties: id: type: string format: uuid description: Identificador da média tipoAgendamento: type: object allOf: – #/definitions/tipoAgendamento description: Tipo de agendamento da execução circuito: type: object allOf: – #/definitions/circuito description: Circuito da execução composicaoVeiculo: type: object allOf: – #/definitions/composicaoVeiculo description: Composição de veículos media: type: integer format: int64 description: Média em segundos da execucao do circuito percentil90: type: integer format: int64 description: Tempo máximo em que 90% das execuções de circuitos levaram para concluir percentil80: type: integer format: int64 description: Tempo máximo em que 80% das execuções de circuitos levaram para concluir percentil70: type: integer format: int64 description: Tempo máximo em que 70% das execuções de circuitos levaram para concluir 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: – id – descricao – tipoAgendamento – planta properties: id: type: string description: ID descricao: type: string description: Descrição do circuito 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: execucaoCircuito: description: Execucao do Circuito type: object required: – id – agenda – circuito – status properties: id: type: string format: uuid description: ID agenda: type: object allOf: – #/definitions/agenda description: Agendamento circuito: type: object allOf: – #/definitions/circuito description: Circuito da execução status: type: string description: Status 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 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: – id – execucaoCircuito – 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: string description: Sequencia do Circuito vaga: type: string 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 description: Status da execução da sequência do circuito statusFinal: type: string description: Statis Final 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: modeloValidacaoAgenda: description: Modelo de Validação da Agenda type: object required: – nome – tipo – bloquearAgenda properties: id: type: string format: uuid description: ID nome: type: string maxLength: 100 description: Nome do Modelo de Validação tipo: type: string allOf: – #/definitions/tipoModeloValidacao description: Tipo Modelo de Validação Agenda bloquearAgenda: type: boolean description: Bloqueia a Agenda endpoint: type: string maxLength: 255 description: Endpoint da primitiva de validação createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: configuracaoAprovacaoAgenda: description: Configuração Aprovação de Agendas por tipo de agendamento type: object required: – tipoAgendamento – modeloValidacao properties: id: type: string format: uuid description: ID tipoAgendamento: type: object allOf: – #/definitions/tipoAgendamento description: Tipo de Agendamento modeloValidacao: type: object allOf: – #/definitions/modeloValidacaoAgenda description: Modelo de Valição da Agenda createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: historicoAprovacaoAgenda: description: Histórico Aprovação de Agenda type: object required: – agenda – solicitante – aprovado properties: id: type: string format: uuid description: ID agenda: type: object allOf: – #/definitions/agenda description: Agenda associada solicitante: type: string description: Usuário que solicitou a aprovação do agendamento aprovado: type: boolean description: Agendamento aprovado ou rejeitado de acordo com os itens items: type: array items: type: object allOf: – #/definitions/historicoAprovacaoAgendaItem description: Items de validação de agenda createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: historicoAprovacaoAgendaItem: description: Itens do checklist de Histórico Aprovação de Agenda type: object required: – modelo – aprovado properties: id: type: string format: uuid description: ID historico: type: object allOf: – #/definitions/historicoAprovacaoAgenda description: Historico Aprovação Agenda modelo: type: object allOf: – #/definitions/modeloValidacaoAgenda description: Modelo de Validação Agenda aprovado: type: boolean description: Agendamento aprovado ou rejeitado messages: type: string maxLength: 5000 description: Mensagens de retorno em formato array json 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