0% found this document useful (0 votes)
45 views21 pages

API de BI: Endpoints e Respostas

Uploaded by

esmorais
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
45 views21 pages

API de BI: Endpoints e Respostas

Uploaded by

esmorais
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

API de BI

Overview
API de BI ([Link] Services 7.0)

Terms Of Service

Security
Type Name Scopes

apiKey Bearer

oauth2 oauth2 read, write

Paths
GET /alertas/{codMaquina}
Parameters

Type Name Description Schema

path codMaquina string


required

query pageSize integer (int32)


optional

query skip integer (int32)


optional

query dtInicio string (date-time)


required

query dtFim string (date-time)


required

Responses

1
Code Description Links

200 OK No Links

Content
text/plain
application/json
text/json
application/xml
text/xml

400 Bad Request No Links

Content
text/plain
application/json
text/json
application/xml
text/xml

404 Not Found No Links

Content
text/plain
application/json
text/json
application/xml
text/xml

POST /alertas
Responses

Code Description Links

200 OK No Links

Content
text/plain
application/json
text/json
application/xml
text/xml

2
Code Description Links

400 Bad Request No Links

Content
text/plain
application/json
text/json
application/xml
text/xml

404 Not Found No Links

Content
text/plain
application/json
text/json
application/xml
text/xml

POST /bulk/alertas
Responses

Code Description Links

200 OK No Links

Content
text/plain
application/json
text/json
application/xml
text/xml

400 Bad Request No Links

Content
text/plain
application/json
text/json
application/xml
text/xml

3
Code Description Links

404 Not Found No Links

Content
text/plain
application/json
text/json
application/xml
text/xml

GET /indicadores/{codMaquina}
Parameters

Type Name Description Schema

path codMaquina string


required

query pageSize integer (int32)


optional

query skip integer (int32)


optional

query dtInicio string (date-time)


required

query dtFim string (date-time)


required

Responses

Code Description Links

200 OK No Links

Content
text/plain
application/json
text/json
application/xml
text/xml

4
Code Description Links

400 Bad Request No Links

Content
text/plain
application/json
text/json
application/xml
text/xml

404 Not Found No Links

Content
text/plain
application/json
text/json
application/xml
text/xml

POST /indicadores
Responses

Code Description Links

200 OK No Links

Content
text/plain
application/json
text/json
application/xml
text/xml

400 Bad Request No Links

Content
text/plain
application/json
text/json
application/xml
text/xml

5
Code Description Links

404 Not Found No Links

Content
text/plain
application/json
text/json
application/xml
text/xml

POST /bulk/indicadores
Responses

Code Description Links

200 OK No Links

Content
text/plain
application/json
text/json
application/xml
text/xml

400 Bad Request No Links

Content
text/plain
application/json
text/json
application/xml
text/xml

404 Not Found No Links

Content
text/plain
application/json
text/json
application/xml
text/xml

6
GET /operadores/{codMaquina}
Parameters

Type Name Description Schema

path codMaquina string


required

query pageSize integer (int32)


optional

query skip integer (int32)


optional

query dtInicio string (date-time)


required

query dtFim string (date-time)


required

Responses

Code Description Links

200 OK No Links

Content
text/plain
application/json
text/json
application/xml
text/xml

POST /operador
Responses

Code Description Links

200 OK No Links

Content
text/plain
application/json
text/json
application/xml
text/xml

7
Code Description Links

400 Bad Request No Links

Content
text/plain
application/json
text/json
application/xml
text/xml

404 Not Found No Links

Content
text/plain
application/json
text/json
application/xml
text/xml

POST /bulk/operador
Responses

Code Description Links

200 OK No Links

Content
text/plain
application/json
text/json
application/xml
text/xml

400 Bad Request No Links

Content
text/plain
application/json
text/json
application/xml
text/xml

8
Code Description Links

404 Not Found No Links

Content
text/plain
application/json
text/json
application/xml
text/xml

GET /paradas/{codMaquina}
Parameters

Type Name Description Schema

path codMaquina string


required

query pageSize integer (int32)


optional

query skip integer (int32)


optional

query dtInicio string (date-time)


required

query dtFim string (date-time)


required

Responses

Code Description Links

200 OK No Links

Content
text/plain
application/json
text/json
application/xml
text/xml

9
Code Description Links

400 Bad Request No Links

Content
text/plain
application/json
text/json
application/xml
text/xml

404 Not Found No Links

Content
text/plain
application/json
text/json
application/xml
text/xml

POST /parada
Responses

Code Description Links

200 OK No Links

Content
text/plain
application/json
text/json
application/xml
text/xml

400 Bad Request No Links

Content
text/plain
application/json
text/json
application/xml
text/xml

10
Code Description Links

404 Not Found No Links

Content
text/plain
application/json
text/json
application/xml
text/xml

POST /bulk/parada
Responses

Code Description Links

200 OK No Links

Content
text/plain
application/json
text/json
application/xml
text/xml

400 Bad Request No Links

Content
text/plain
application/json
text/json
application/xml
text/xml

404 Not Found No Links

Content
text/plain
application/json
text/json
application/xml
text/xml

11
GET /refugos
Parameters

Type Name Description Schema

path codMaquina string


required

query pageSize integer (int32)


optional

query skip integer (int32)


optional

query dtInicio string (date-time)


required

query dtFim string (date-time)


required

Responses

Code Description Links

200 OK No Links

Content
text/plain
application/json
text/json
application/xml
text/xml

400 Bad Request No Links

Content
text/plain
application/json
text/json
application/xml
text/xml

404 Not Found No Links

Content
text/plain
application/json
text/json
application/xml
text/xml

12
POST /refugos
Responses

Code Description Links

200 OK No Links

Content
text/plain
application/json
text/json
application/xml
text/xml

400 Bad Request No Links

Content
text/plain
application/json
text/json
application/xml
text/xml

404 Not Found No Links

Content
text/plain
application/json
text/json
application/xml
text/xml

POST /bulk/refugos
Responses

Code Description Links

200 OK No Links

Content
text/plain
application/json
text/json
application/xml
text/xml

13
Code Description Links

400 Bad Request No Links

Content
text/plain
application/json
text/json
application/xml
text/xml

404 Not Found No Links

Content
text/plain
application/json
text/json
application/xml
text/xml

Components
Schemas
AlertaDto

Title: Alerta

Properties

Name Description Schema

dtInicioTurno string (date-


optional time)

dtFimTurno string (date-


optional time)

idEventoAlerta integer (int32)


optional

dtInicioReal string (date-


optional time)

dtFimReal nullable string (date-


optional time)

codMaquina nullable string


optional

14
Name Description Schema

descMaquina nullable string


optional

codAlerta nullable string


optional

descAlerta nullable string


optional

areaResponsav nullable string


el optional

descTurno nullable string


optional

dtInicio string (date-


optional time)

dtFim optional nullable string (date-


time)

duracaoHoras number
optional (double)

ocorrenciaInici integer (int32)


al optional

continuaProxi integer (int32)


mo optional

ocorrenciaFina integer (int32)


l optional

AlertaDtoResponse

Title: Response<Alerta>

Properties

Name Description Schema

totalCount integer (int32)


optional

currentCount integer (int32)


optional

items optional nullable < AlertaDto >


array

IndicadoresDto

Title: Indicadores

Properties

15
Name Description Schema

codMaquina nullable string


optional

descMaquina nullable string


optional

dtInicioTurno string (date-


optional time)

dtFimTurno string (date-


optional time)

descTurno nullable string


optional

producaoBruta number
optional (double)

producaoLiqui number
da optional (double)

producaoRefug number
ada optional (double)

aTotal optional number


(double)

bSemSistema number
optional (double)

cParadaPlanej number
ada optional (double)

dDisponivel number
optional (double)

eParadaCorreti number
va optional (double)

fProducaoReal number
optional (double)

gPerdaDesemp number
enho optional (double)

hProducaoEsp number
erada optional (double)

iPerdaCavidad number
e optional (double)

jProducaoLiqui number
da optional (double)

kRefugo number
optional (double)

16
Name Description Schema

lQualidade number
optional (double)

oee optional number


(double)

teep optional number


(double)

disponibilidad number
e optional (double)

desempenho number
optional (double)

qualidade number
optional (double)

IndicadoresDtoResponse

Title: Response<Indicadores>

Properties

Name Description Schema

totalCount integer (int32)


optional

currentCount integer (int32)


optional

items optional nullable <


IndicadoresDto
> array

OperadorDto

Title: Operador

Properties

Name Description Schema

dtInicioTurno string (date-


optional time)

dtFimTurno string (date-


optional time)

idEventoOpera integer (int32)


dor optional

dtInicioReal string (date-


optional time)

17
Name Description Schema

dtFimReal nullable string (date-


optional time)

codMaquina nullable string


optional

descMaquina nullable string


optional

codOperador nullable string


optional

nomeOperador nullable string


optional

descTurno nullable string


optional

dtInicio string (date-


optional time)

dtFim optional nullable string (date-


time)

duracaoHoras number
optional (double)

ocorrenciaInici integer (int32)


al optional

continuaProxi integer (int32)


mo optional

ocorrenciaFina integer (int32)


l optional

OperadorDtoResponse

Title: Response<Operador>

Properties

Name Description Schema

totalCount integer (int32)


optional

currentCount integer (int32)


optional

items optional nullable < OperadorDto


> array

18
ParadaDto

Title: Parada

Properties

Name Description Schema

dtInicioTurno string (date-


optional time)

dtFimTurno string (date-


optional time)

idEventoParad integer (int32)


a optional

dtInicioReal string (date-


optional time)

dtFimReal string (date-


optional time)

codMaquina nullable string


optional

descMaquina nullable string


optional

codParada nullable string


optional

descParada nullable string


optional

areaResponsav nullable string


el optional

nomeTecnico nullable string


optional

complemento nullable string


optional

descTurno nullable string


optional

dtInicio string (date-


optional time)

dtFim optional string (date-


time)

duracaoHoras number
optional (double)

tempoSemPeso number
Horas optional (double)

19
Name Description Schema

tempoComPeso number
Horas optional (double)

ocorrenciaInici integer (int32)


al optional

continuaProxi integer (int32)


mo optional

ocorrenciaFina integer (int32)


l optional

ParadaDtoResponse

Title: Response<Parada>

Properties

Name Description Schema

totalCount integer (int32)


optional

currentCount integer (int32)


optional

items optional nullable < ParadaDto >


array

RefugoDto

Title: Refugo

Properties

Name Description Schema

dtInicioTurno string (date-


optional time)

dtFimTurno string (date-


optional time)

idEventoRefug integer (int32)


o optional

dtEvento string (date-


optional time)

qtdRefugada number
optional (double)

codMaquina nullable string


optional

20
Name Description Schema

descMaquina nullable string


optional

codRefugo nullable string


optional

descRefugo nullable string


optional

descCausa nullable string


optional

areaResponsav nullable string


el optional

descTurno nullable string


optional

codOP optional nullable string

codProduto nullable string


optional

descProduto nullable string


optional

RefugoDtoResponse

Title: Response<Refugo>

Properties

Name Description Schema

totalCount integer (int32)


optional

currentCount integer (int32)


optional

items optional nullable < RefugoDto >


array

21

You might also like