2.0info: 0.3.0 hub description: Hub de integração do WMSX x-senior-domain: wmsx_int x-senior-domain-path: wmsx_int x-senior-service-path: hub contact: name: Senior X Platform url: https://dev.senior.com.br email: seniorx-dev@senior.com.brhost: api.senior.com.br /wmsx_int/hubsecurityDefinitions: 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/pendency/{id}: get: description: The retrieve request primitive for the pendency facade. deprecated: false tags: – Apis security: – bearerAuth: [] parameters: – #/parameters/clientId – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/pendencyFacade default: description: Error response schema: #/definitions/genericError /apis/integration: get: description: The list request primitive for the integration facade. deprecated: false tags: – Apis security: – bearerAuth: [] parameters: – #/parameters/clientId – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: object required: – contents properties: contents: #/definitions/integrationFacadeOutput default: description: Error response schema: #/definitions/genericError /apis/integration/{id}: put: description: The update request primitive for the integration 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/integrationFacadeInput responses: 200: description: Ok schema: #/definitions/integrationFacadeOutput default: description: Error response schema: #/definitions/genericErrordefinitions: syncStatus: type: string enum: – PENDING – ACCEPTD – IGNORED – FAIL – OVERFAIL integrationFacadeInput: type: object required: – payload properties: name: type: string description: Nome Hub da Integração payload: type: string description: Payload de entrada com dados de entrada format: byte integrationFacadeOutput: type: object required: – id properties: id: type: string description: ID de integração statusUrl: type: string description: URL do Status da Integração path: type: string description: Caminho para integração do hub method: type: string description: Metodo usado payload: type: string description: Payload de entrada com dados de entrada format: byte pendencyFacade: type: object required: – name – status properties: id: type: string description: format: uuid name: type: string description: Nome do Destino da Requisição status: #/definitions/syncStatus response: type: string description: Resposta da integração format: byte 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