2.0info: 4.0.0 oficina description: Serviço tms dashboard x-senior-domain: tms x-senior-domain-path: tms x-senior-service-path: oficina 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/tmssecurityDefinitions: APIKeyHeader: type: apiKey in: header name: Authorizationsecurity: – APIKeyHeader: [] – application/json – application/jsonpaths: /oficina/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/upDown description: Status geral 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/upDown description: Status geral 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 /oficina/queries/buscaFilial: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: cdEmpresa: type: integer format: int64 description: dsEmpresa: type: string description: responses: 200: description: Ok schema: type: object required: – ok – listaFiliais properties: ok: type: boolean description: dsErro: type: string description: listaFiliais: type: array items: type: object allOf: – #/definitions/FilialRec minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: cdEmpresa description: in: query type: integer format: int64 – name: dsEmpresa description: in: query type: string responses: 200: description: Ok schema: type: object required: – ok – listaFiliais properties: ok: type: boolean description: dsErro: type: string description: listaFiliais: type: array items: type: object allOf: – #/definitions/FilialRec minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /oficina/queries/buscaPendencias: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: cdPendencia: type: string description: cdVeiculo: type: integer format: int64 description: dsPendencia: type: string description: qtTempoPrevisto: type: string description: inPrioridade: type: integer format: int64 description: cdEmpresa: type: integer format: int64 description: dsMovimentacao: type: string description: cdSetores: type: string description: responses: 200: description: Ok schema: type: object required: – ok – listaPendencias properties: ok: type: boolean description: dsErro: type: string description: listaPendencias: type: array items: type: object allOf: – #/definitions/PendenciaRec minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: cdPendencia description: in: query type: string – name: cdVeiculo description: in: query type: integer format: int64 – name: dsPendencia description: in: query type: string – name: qtTempoPrevisto description: in: query type: string – name: inPrioridade description: in: query type: integer format: int64 – name: cdEmpresa description: in: query type: integer format: int64 – name: dsMovimentacao description: in: query type: string – name: cdSetores description: in: query type: string responses: 200: description: Ok schema: type: object required: – ok – listaPendencias properties: ok: type: boolean description: dsErro: type: string description: listaPendencias: type: array items: type: object allOf: – #/definitions/PendenciaRec minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /oficina/queries/buscaRevisoes: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: idRevisao: type: integer format: int64 description: cdRevisao: type: string description: cdVeiculo: type: integer format: int64 description: nrPlaca: type: string description: dsRevisao: type: string description: cdEmpresa: type: integer format: int64 description: cdSetores: type: string description: responses: 200: description: Ok schema: type: object required: – ok – listaRevisoes properties: ok: type: boolean description: dsErro: type: string description: listaRevisoes: type: array items: type: object allOf: – #/definitions/RevisaoRec minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: idRevisao description: in: query type: integer format: int64 – name: cdRevisao description: in: query type: string – name: cdVeiculo description: in: query type: integer format: int64 – name: nrPlaca description: in: query type: string – name: dsRevisao description: in: query type: string – name: cdEmpresa description: in: query type: integer format: int64 – name: cdSetores description: in: query type: string responses: 200: description: Ok schema: type: object required: – ok – listaRevisoes properties: ok: type: boolean description: dsErro: type: string description: listaRevisoes: type: array items: type: object allOf: – #/definitions/RevisaoRec minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /oficina/queries/buscaManutencoes: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: cdManutencao: type: string description: cdEmpresa: type: integer format: int64 description: dsManutencao: type: string description: cdVeiculo: type: integer format: int64 description: nrPlaca: type: string description: cdSetores: type: string description: responses: 200: description: Ok schema: type: object required: – ok – listaManutencoes properties: ok: type: boolean description: dsErro: type: string description: listaManutencoes: type: array items: type: object allOf: – #/definitions/ManutencaoRec minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: cdManutencao description: in: query type: string – name: cdEmpresa description: in: query type: integer format: int64 – name: dsManutencao description: in: query type: string – name: cdVeiculo description: in: query type: integer format: int64 – name: nrPlaca description: in: query type: string – name: cdSetores description: in: query type: string responses: 200: description: Ok schema: type: object required: – ok – listaManutencoes properties: ok: type: boolean description: dsErro: type: string description: listaManutencoes: type: array items: type: object allOf: – #/definitions/ManutencaoRec minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /oficina/queries/buscaCentroCusto: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: cdCentroCusto: type: integer format: int64 description: dsCentroCusto: type: string description: responses: 200: description: Ok schema: type: object required: – ok – listaCentroCusto properties: ok: type: boolean description: dsErro: type: string description: listaCentroCusto: type: array items: type: object allOf: – #/definitions/CentroCustoRec minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: cdCentroCusto description: in: query type: integer format: int64 – name: dsCentroCusto description: in: query type: string responses: 200: description: Ok schema: type: object required: – ok – listaCentroCusto properties: ok: type: boolean description: dsErro: type: string description: listaCentroCusto: type: array items: type: object allOf: – #/definitions/CentroCustoRec minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /oficina/queries/buscaSetor: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: cdSetor: type: integer format: int64 description: dsSetor: type: string description: responses: 200: description: Ok schema: type: object required: – ok – listaSetores properties: ok: type: boolean description: dsErro: type: string description: listaSetores: type: array items: type: object allOf: – #/definitions/RsalvaSetor minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: cdSetor description: in: query type: integer format: int64 – name: dsSetor description: in: query type: string responses: 200: description: Ok schema: type: object required: – ok – listaSetores properties: ok: type: boolean description: dsErro: type: string description: listaSetores: type: array items: type: object allOf: – #/definitions/RsalvaSetor minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /oficina/queries/visaoGeral: post: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: cdEmpresa: type: integer format: int64 description: maxCentroCusto: type: integer format: int64 description: responses: 200: description: Ok schema: type: object required: – ok – visao properties: ok: type: boolean description: dsErro: type: string description: visao: type: object allOf: – #/definitions/VisaoGeralRec description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: tags: – Queries x-senior-visibility: PRIVATE parameters: – name: cdEmpresa description: in: query type: integer format: int64 – name: maxCentroCusto description: in: query type: integer format: int64 responses: 200: description: Ok schema: type: object required: – ok – visao properties: ok: type: boolean description: dsErro: type: string description: visao: type: object allOf: – #/definitions/VisaoGeralRec description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /oficina/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 /oficina/queries/exportFilial: 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 /oficina/queries/exportCentroCusto: 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 /oficina/queries/exportSetor: 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 /oficina/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 /oficina/queries/exportPendencia: 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 /oficina/queries/exportRevisao: 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 /oficina/queries/exportManutencao: 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 /oficina/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 /oficina/actions/salvaVeiculos: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – veiculos properties: veiculos: type: array items: type: object allOf: – #/definitions/VeiculoRec minimum: 1 description: responses: 200: description: Ok schema: type: object required: – ok – listaRetornos properties: ok: type: boolean description: dsErro: type: string description: listaRetornos: type: array items: type: object allOf: – #/definitions/RetornoSalvaListaRec minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /oficina/actions/salvaPendencia: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – listaPendencias properties: listaPendencias: type: array items: type: object allOf: – #/definitions/PendenciaRec minimum: 1 description: responses: 200: description: Ok schema: type: object required: – ok – listaPendencias properties: ok: type: boolean description: dsErro: type: string description: listaPendencias: type: array items: type: object allOf: – #/definitions/PendenciaRec minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /oficina/actions/salvaFilial: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – cdEmpresa – dsEmpresa properties: cdEmpresa: type: integer format: int64 description: dsEmpresa: type: string description: responses: 200: description: Ok schema: type: object required: – ok properties: ok: type: boolean description: dsErro: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /oficina/actions/salvaRevisao: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – revisoes properties: revisoes: type: array items: type: object allOf: – #/definitions/RevisaoRec minimum: 1 description: responses: 200: description: Ok schema: type: object required: – ok – listaRevisoes properties: ok: type: boolean description: dsErro: type: string description: listaRevisoes: type: array items: type: object allOf: – #/definitions/RevisaoRec minimum: 1 description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /oficina/actions/salvaManutencao: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – manutencoes properties: manutencoes: type: array items: type: object allOf: – #/definitions/RrsalvaManut minimum: 1 description: responses: 200: description: Ok schema: type: object required: – ok properties: ok: type: boolean description: dsErro: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /oficina/actions/salvaCentroCusto: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – listaCentroCusto properties: listaCentroCusto: type: array items: type: object allOf: – #/definitions/RrsalvaCentroCusto minimum: 1 description: responses: 200: description: Ok schema: type: object required: – ok properties: ok: type: boolean description: dsErro: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /oficina/actions/salvaSetor: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – listaSetor properties: listaSetor: type: array items: type: object allOf: – #/definitions/RsalvaSetor minimum: 1 description: responses: 200: description: Ok schema: type: object required: – ok properties: ok: type: boolean description: dsErro: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /oficina/actions/removeVeiculo: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – listaVeiculo properties: listaVeiculo: type: array items: type: object allOf: – #/definitions/RremoveVeiculo minimum: 1 description: responses: 200: description: Ok schema: type: object required: – ok properties: ok: type: boolean description: dsErro: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /oficina/actions/removeSetor: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – listaSetor properties: listaSetor: type: array items: type: object allOf: – #/definitions/RremoveSetor minimum: 1 description: responses: 200: description: Ok schema: type: object required: – ok properties: ok: type: boolean description: dsErro: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /oficina/actions/removePendencia: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – listaPendencias properties: listaPendencias: type: array items: type: object allOf: – #/definitions/RremovePendencia minimum: 1 description: responses: 200: description: Ok schema: type: object required: – ok properties: ok: type: boolean description: dsErro: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /oficina/actions/removeManutencao: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – listaManutencoes properties: listaManutencoes: type: array items: type: object allOf: – #/definitions/RremoveManutencao minimum: 1 description: responses: 200: description: Ok schema: type: object required: – ok properties: ok: type: boolean description: dsErro: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /oficina/actions/removeRevisao: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – revisoes properties: revisoes: type: array items: type: object allOf: – #/definitions/RremoveRevisao minimum: 1 description: responses: 200: description: Ok schema: type: object required: – ok properties: ok: type: boolean description: dsErro: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /oficina/actions/removeCentroCusto: post: description: tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – listCentroCusto properties: listCentroCusto: type: array items: type: object allOf: – #/definitions/RremoveCentroCusto minimum: 1 description: responses: 200: description: Ok schema: type: object required: – ok properties: ok: type: boolean description: dsErro: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /oficina/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 /oficina/actions/importFilial: 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 /oficina/actions/importCentroCusto: 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 /oficina/actions/importSetor: 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 /oficina/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 /oficina/actions/importPendencia: 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 /oficina/actions/importRevisao: 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 /oficina/actions/importManutencao: 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 /oficina/events/importFilialEvent: 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 /oficina/events/exportFilialEvent: 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 /oficina/events/importCentroCustoEvent: 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 /oficina/events/exportCentroCustoEvent: 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 /oficina/events/importSetorEvent: 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 /oficina/events/exportSetorEvent: 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 /oficina/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 /oficina/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 /oficina/events/importPendenciaEvent: 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 /oficina/events/exportPendenciaEvent: 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 /oficina/events/importRevisaoEvent: 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 /oficina/events/exportRevisaoEvent: 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 /oficina/events/importManutencaoEvent: 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 /oficina/events/exportManutencaoEvent: 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 /oficina/entities/filial: 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/filial responses: 200: description: The created resource schema: #/definitions/filial 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/filial responses: 200: description: The created resource schema: #/definitions/filial 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/filial 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /oficina/entities/filial/{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/filial responses: 200: description: Ok schema: #/definitions/filial 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/filial responses: 200: description: Ok schema: #/definitions/filial 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/filial 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 /oficina/entities/filial/bulk: post: description: Esta entidade pode ser customizada. tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/filial responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /oficina/entities/centroCusto: 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/centroCusto responses: 200: description: The created resource schema: #/definitions/centroCusto 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/centroCusto responses: 200: description: The created resource schema: #/definitions/centroCusto 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/centroCusto 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /oficina/entities/centroCusto/{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/centroCusto responses: 200: description: Ok schema: #/definitions/centroCusto 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/centroCusto responses: 200: description: Ok schema: #/definitions/centroCusto 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/centroCusto 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 /oficina/entities/centroCusto/bulk: post: description: Esta entidade pode ser customizada. tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/centroCusto responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /oficina/entities/setor: 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/setor responses: 200: description: The created resource schema: #/definitions/setor 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/setor responses: 200: description: The created resource schema: #/definitions/setor 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/setor 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /oficina/entities/setor/{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/setor responses: 200: description: Ok schema: #/definitions/setor 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/setor responses: 200: description: Ok schema: #/definitions/setor 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/setor 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 /oficina/entities/setor/bulk: post: description: Esta entidade pode ser customizada. tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/setor responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /oficina/entities/veiculo: 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/veiculo responses: 200: description: The created resource schema: #/definitions/veiculo 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/veiculo responses: 200: description: The created resource schema: #/definitions/veiculo 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/veiculo 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /oficina/entities/veiculo/{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/veiculo responses: 200: description: Ok schema: #/definitions/veiculo 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/veiculo responses: 200: description: Ok schema: #/definitions/veiculo 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/veiculo 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 /oficina/entities/veiculo/bulk: post: description: Esta entidade pode ser customizada. tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/veiculo responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /oficina/entities/pendencia: 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/pendencia responses: 200: description: The created resource schema: #/definitions/pendencia 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/pendencia responses: 200: description: The created resource schema: #/definitions/pendencia 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/pendencia 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /oficina/entities/pendencia/{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/pendencia responses: 200: description: Ok schema: #/definitions/pendencia 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/pendencia responses: 200: description: Ok schema: #/definitions/pendencia 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/pendencia 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 /oficina/entities/pendencia/bulk: post: description: Esta entidade pode ser customizada. tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/pendencia responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /oficina/entities/revisao: 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/revisao responses: 200: description: The created resource schema: #/definitions/revisao 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/revisao responses: 200: description: The created resource schema: #/definitions/revisao 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/revisao 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /oficina/entities/revisao/{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/revisao responses: 200: description: Ok schema: #/definitions/revisao 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/revisao responses: 200: description: Ok schema: #/definitions/revisao 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/revisao 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 /oficina/entities/revisao/bulk: post: description: Esta entidade pode ser customizada. tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/revisao responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /oficina/entities/manutencao: 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/manutencao responses: 200: description: The created resource schema: #/definitions/manutencao 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/manutencao responses: 200: description: The created resource schema: #/definitions/manutencao 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/manutencao 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /oficina/entities/manutencao/{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/manutencao responses: 200: description: Ok schema: #/definitions/manutencao 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/manutencao responses: 200: description: Ok schema: #/definitions/manutencao 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/manutencao 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 /oficina/entities/manutencao/bulk: post: description: Esta entidade pode ser customizada. tags: – Bulk parameters: – name: entities in: body required: true schema: type: array items: #/definitions/manutencao responses: 200: description: The bulk creation has created resources 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError definitions: upDown: description: Up or down type: string enum: – UP – DOWN enumTypeOrder: description: Enumeração para o tipo de ordenação type: string enum: – ASC – DESC TipoMovimentoVeiculo: description: type: string enum: – ENTRADA – SAIDA TipoStatusOficina: description: type: string enum: – DISPONIVEIS – PENDENCIAS – REVISOES – MANUTENCOES TipoStatus: description: type: string enum: – GARAGEM – RODANDO TipoStatusManutencao: description: type: string enum: – Planejada – Executando – Pausada – Finalizada 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 checkData: description: Dados do healthcheck type: object required: – name – status properties: name: type: string description: Nome do healthcheck status: type: string allOf: – #/definitions/upDown description: Status do healthcheck recPageRequest: description: Define a paginação da query type: object required: – offset – size properties: offset: type: integer format: int64 description: Número da página minimum: 0 size: type: integer format: int64 description: Quantidade de registros por página minimum: 1 orderBy: type: array items: type: object allOf: – #/definitions/recFieldsOrderBy description: Campos da ordenação dos registros a serem pesquisados recFieldsOrderBy: description: Define o registro com os dados dos campos à serem ordenados type: object required: – field – order properties: field: type: string description: Nome do campo a ser ordenado order: type: string allOf: – #/definitions/enumTypeOrder description: Tipo de ordenação do campo (ASC / DESC) Rerros: description: type: object required: – ok – dsErro properties: ok: type: boolean description: dsErro: type: string description: RremoveRevisao: description: type: object properties: cdRevisao: type: string description: RremoveCentroCusto: description: type: object properties: cdCentroCusto: type: integer format: int64 description: RremoveSetor: description: type: object properties: cdSetor: type: integer format: int64 description: RsalvaSetor: description: type: object required: – cdSetor properties: cdSetor: type: integer format: int64 description: dsSetor: type: string description: RrsalvaManut: description: type: object properties: cdManutencao: type: string description: dsManutencao: type: string description: qtTempoPrevisto: type: number format: double description: qtTempoRealizado: type: number format: double description: nrOS: type: integer format: int64 description: dtAberturaOS: type: string description: cdVeiculo: type: integer format: int64 description: cdEmpresa: type: integer format: int64 description: cdPlanoServico: type: integer format: int64 description: inStatus: type: string allOf: – #/definitions/TipoStatusManutencao description: dtInicio: type: string description: cdSetor: type: integer format: int64 description: RrsalvaCentroCusto: description: type: object properties: cdCentroCusto: type: integer format: int64 description: dsCentroCusto: type: string description: inExibePainelOfi: type: integer format: int64 description: RremoveManutencao: description: type: object required: – cdManutencao properties: cdManutencao: type: string description: RremovePendencia: description: type: object required: – cdPendenciaPk properties: cdPendenciaPk: type: string description: VeiculoRec: description: type: object required: – nrPlaca properties: cdVeiculo: type: integer format: int64 description: nrPlaca: type: string description: dsStatusOficina: type: string description: dsStatus: type: string description: cdEmpresa: type: integer format: int64 description: dsMovimentacao: type: string description: hrMovimentacao: type: string description: nrHodometro: type: number format: double description: cdCentroCusto: type: integer format: int64 description: dsCentroCusto: type: string description: RremoveVeiculo: description: type: object properties: cdVeiculo: type: integer format: int64 description: nrPlaca: type: string description: RetornoSalvaListaRec: description: type: object required: – nrPlaca properties: nrPlaca: type: string description: cdVeiculo: type: integer format: int64 description: FilialRec: description: type: object required: – cdEmpresa – dsEmpresa properties: cdEmpresa: type: integer format: int64 description: dsEmpresa: type: string description: PendenciaRec: description: type: object properties: cdPendenciapk: type: string description: cdPendencia: type: integer format: int64 description: cdEmpresa: type: integer format: int64 description: cdVeiculo: type: integer format: int64 description: nrPlaca: type: string description: dsPendencia: type: string description: qtTempoPrevisto: type: string description: inPrioridade: type: integer format: int64 description: inNotificacao: type: integer format: int64 description: dsMovimentacao: type: string description: hrMovimentacao: type: string description: dtAberturaPen: type: string description: qtDias: type: number format: double description: cdSetor: type: integer format: int64 description: RevisaoRec: description: type: object properties: cdRevisao: type: string description: cdVeiculo: type: integer format: int64 description: dtPrevisao: type: string description: nrPlaca: type: string description: dsRevisao: type: string description: qtTempoPrevisto: type: string description: nrHodometro: type: number format: double description: qtKmAviso: type: integer format: int64 description: nrDias: type: integer format: int64 description: inCondicao: type: integer format: int64 description: nrHodHor: type: number format: double description: hrMovimentacao: type: string description: dsMovimentacao: type: string description: kmDiferenca: type: number format: double description: cdEmpresa: type: integer format: int64 description: cdSetor: type: integer format: int64 description: ManutencaoRec: description: type: object properties: cdManutencao: type: string description: dsManutencao: type: string description: qtTempoPrevisto: type: number format: double description: qtTempoRealizado: type: number format: double description: nrOS: type: integer format: int64 description: dtAberturaOS: type: string description: cdVeiculo: type: integer format: int64 description: nrPlaca: type: string description: cdEmpresa: type: integer format: int64 description: cdPlanoServico: type: integer format: int64 description: qtDiferenca: type: number format: double description: inStatus: type: string allOf: – #/definitions/TipoStatusManutencao description: dtPrevisao: type: string description: dtInicio: type: string description: CentroCustoRec: description: type: object properties: cdCentroCusto: type: integer format: int64 description: dsCentroCusto: type: string description: inExibePainelOfi: type: integer format: int64 description: rodando: type: integer format: int64 description: garagem: type: integer format: int64 description: total: type: integer format: int64 description: VisaoRec: description: type: object required: – centrocusto properties: rodando: type: integer format: int64 description: garagem: type: integer format: int64 description: centrocusto: type: array items: type: object allOf: – #/definitions/CentroCustoRec minimum: 1 description: VisaoGeralRec: description: type: object required: – disponiveis – pendencias – revisoes – manutencoes properties: disponiveis: type: object allOf: – #/definitions/VisaoRec description: pendencias: type: object allOf: – #/definitions/VisaoRec description: revisoes: type: object allOf: – #/definitions/VisaoRec description: manutencoes: type: object allOf: – #/definitions/VisaoRec description: filial: description: Filial type: object required: – cdEmpresa properties: cdEmpresa: type: integer format: int64 description: Código dsEmpresa: type: string description: Descrição createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: centroCusto: description: Centro de Custo type: object required: – cdCentroCusto properties: cdCentroCusto: type: integer format: int64 description: Código dsCentroCusto: type: string description: Descrição inExibePainelOfi: type: integer format: int64 description: Exibir createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: setor: description: Setor type: object required: – cdSetor properties: cdSetor: type: integer format: int64 description: Código dsSetor: type: string description: Descrição createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: veiculo: description: Veículo type: object required: – cdVeiculo properties: cdVeiculo: type: integer format: int64 description: Código nrPlaca: type: string description: Placa centroCusto: type: object allOf: – #/definitions/centroCusto description: Centro de Custo dsStatusOficina: type: string description: Status oficina dsStatus: type: string description: Status cdEmpresa: type: integer format: int64 description: Empresa dsMovimentacao: type: string description: Movimentação hrMovimentacao: type: string format: date-time description: Hora da movimentação nrHodometro: type: number format: double description: Hodômetro pendencias: type: array items: type: object allOf: – #/definitions/pendencia description: Pendências revisoes: type: array items: type: object allOf: – #/definitions/revisao description: Revisões manutencoes: type: array items: type: object allOf: – #/definitions/manutencao description: Manutenções createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: pendencia: description: Pendência type: object required: – cdPendenciaPk properties: cdPendenciaPk: type: string description: Chave cdPendencia: type: integer format: int64 description: Pendência cdEmpresa: type: integer format: int64 description: Empresa dsPendencia: type: string description: Descrição veiculo: type: object allOf: – #/definitions/veiculo description: Veículo qtTempoPrevisto: type: string description: Tempo previsto inPrioridade: type: integer format: int64 description: Prioridade inNotificacao: type: integer format: int64 description: Notificação dtAbertura: type: string format: date-time description: Data abertura setor: type: object allOf: – #/definitions/setor description: Setor createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: revisao: description: Revisão type: object required: – cdRevisao properties: cdRevisao: type: string description: Código dsRevisao: type: string description: Descrição veiculo: type: object allOf: – #/definitions/veiculo description: Veículo qtTempoPrevisto: type: string description: Tempo previsto qtKmAviso: type: integer format: int64 description: Km aviso nrDias: type: integer format: int64 description: Dias inCondicao: type: integer format: int64 description: Condição nrHodHor: type: number format: double description: Hodômetro nrHodometro: type: number format: double description: Hodômetro Revisão dtPrevisao: type: string format: date-time description: Data previsão cdEmpresa: type: integer format: int64 description: Empresa setor: type: object allOf: – #/definitions/setor description: Setor createdBy: type: string description: createdDate: type: string format: date-time description: lastModifiedBy: type: string description: lastModifiedDate: type: string format: date-time description: manutencao: description: Manutenção type: object required: – cdManutencao properties: cdManutencao: type: string description: Código dsManutencao: type: string description: Descrição veiculo: type: object allOf: – #/definitions/veiculo description: Veículo qtTempoPrevisto: type: number format: double description: Tempo previsto qtTempoRealizado: type: number format: double description: Tempo realizado nrOs: type: integer format: int64 description: Ordem de serviço cdEmpresa: type: integer format: int64 description: Empresa cdPlanoServico: type: integer format: int64 description: Plano de serviço dtAberturaOs: type: string format: date-time description: Data abertura OS dtInicio: type: string format: date-time description: Data início inStatus: type: string allOf: – #/definitions/TipoStatusManutencao description: Status setor: type: object allOf: – #/definitions/setor description: Setor 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