2.0info: 0.3.0 WMS-X Notificações description: Serviço de Notificações para WMSX x-senior-domain: WMS-X x-senior-domain-path: wmsx x-senior-service-path: notifications contact: name: Senior X Platform url: https://dev.senior.com.br email: seniorx-dev@senior.com.brhost: api.senior.com.br /wmsx/notificationssecurityDefinitions: bearerAuth: type: apiKey in: header name: Authorization – application/json – application/jsonparameters: clientId: name: client_id type: string in: header required: true description: Identificação da aplicação cadastrada no portal do desenvolvedor (api.xplatform.com.br)paths: /apis/alert_event_resolved/{id}: put: description: The update request primitive for the alert_event_resolved facade. deprecated: false tags: – Apis security: – bearerAuth: [] parameters: – #/parameters/clientId – name: id in: path required: true type: string – name: input in: body required: true schema: #/definitions/alert_event_resolvedFacadeInput responses: 200: description: Ok schema: #/definitions/recAlertStatus default: description: Error response schema: #/definitions/genericError /apis/alert_event: post: description: The create request primitive for the alert_event facade. deprecated: false tags: – Apis security: – bearerAuth: [] parameters: – #/parameters/clientId – name: input in: body required: true schema: #/definitions/alert_eventFacadeInput responses: 200: description: Ok schema: #/definitions/alert_eventFacadeOutput default: description: Error response schema: #/definitions/genericError /apis/alert_event_ack/{id}: put: description: The update request primitive for the alert_event_ack facade. deprecated: false tags: – Apis security: – bearerAuth: [] parameters: – #/parameters/clientId – name: id in: path required: true type: string – name: input in: body required: true schema: #/definitions/alert_event_ackFacadeInput responses: 200: description: Ok schema: #/definitions/recAlertStatus default: description: Error response schema: #/definitions/genericErrordefinitions: enumAlertStatus: type: string enum: – OPEN – ACK – RESOLVED recAlertStatus: type: object required: – id – status properties: id: type: string description: ID do alerta evento status: #/definitions/enumAlertStatus alert_eventFacadeInput: type: object required: – alertTypeCode properties: id: type: string description: ID do alerta evento alertTypeCode: type: string description: Código do Alerta occuredAt: type: string description: Data da Ocorrencia format: date-time payload: type: string description: Payload em formato JSON format: byte scope: type: array items: #/definitions/recAlertEventScope description: Escopo vinculado ao evento recAlertEventScope: type: object required: – key – value properties: key: type: string description: Chave do Escopo (warehouse, company, ..) value: type: string description: Valor do Escopo alert_eventFacadeOutput: type: object required: – id properties: id: type: string description: ID do alerta evento alert_event_ackFacadeInput: type: object properties: id: type: string description: ID do alerta evento alert_event_resolvedFacadeInput: type: object properties: id: type: string description: ID do alerta evento 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