swagger: '2.0'
info:
title: "SIFCO_REST_API"
version: "1.0"
termsOfService: "https://sifco.org/sobre-nosotros/"
contact:
email: "soporte@sifco.org"
license:
name: "Apache 2.0"
url: "httpshttp://sifcowww.atlassianapache.netorg/wiki/x/SoDQlicenses/LICENSE-2.0.html"
produceshost: "<SERVER>"
schemes:
- application/json paths:- https
/TransaccionesMasivas_PlanillasAplicar: - http
basePath: /<APPDIR>/rest
posttags:
- name: "TransaccionesMasivas_PlanillasAplicar"
externalDocs:
tags: description: "Manual SIFCO"
- TransaccionesMasivas_PlanillasAplicar
url: "https://sifco.atlassian.net/wiki/x/SoDQ"
produces:
- application/json
operationIdpaths:
" /TransaccionesMasivas_PlanillasAplicar":
post:
summary: "Web Service para paratags:
Aplicar Planillas de Transacciones Masivas de Descuentos (Para Incrementar- oTransaccionesMasivas_PlanillasAplicar
Reducir los Descuentos Obtenidos desde la Aplicación SIFCO)operationId: "TransaccionesMasivas_PlanillasAplicar"
parameterssummary: "Web Service para Aplicar Planillas de Transacciones Masivas -de in:Descuentos headercargados y confirmados en la Aplicación SIFCO"
parameters:
- in: header
name: Content-Type
type: "string"
required: true
default: application/json
- in: header
name: Authorization
type: "string"
required: true
default: OAuth <Access Token>
- in: header
name: GENEXUS-AGENT
type: "string"
required: true
default: SmartDevice Application
- name: "TransaccionesMasivas_PlanillasAplicarInput"
in: "body"
required: false
schema:
$ref: "#/definitions/TransaccionesMasivas_PlanillasAplicarInput"
responses:
200:
description: "Successful operation"
schema:
$ref: "#/definitions/TransaccionesMasivas_PlanillasAplicarOutput"
401:
description: "Not Authenticated"
schema:
$ref: "#/definitions/GxJsonError"
404:
description: "Not found"
schema:
$ref: "#/definitions/GxJsonError"
400:
description: "Bad request"
schema:
$ref: "#/definitions/GxJsonError"
500:
description: "Internal server error"
found"
schema:
$ref: "#/definitions/GxJsonError"
400:
description: "Bad request"
schema:
$ref: "#/definitions/GxJsonError"
500:
description: "Internal server error"
schema:
$ref: "#/definitions/GxJsonError"
security:
- OAuth2: []
ApiKeyAuth1: []
securityDefinitions:
OAuth2:
type: oauth2
flow: password
tokenUrl: https://test.sifco.org/DemoCoopGT/oauth/access_token
scopes:
Execute: Permite el método tipo GET
Insert: Permite el método tipo POST
Update: Permite el método tipo PUT
Delete: Permite el método tipo DELETE
FullControl: Permite el manejo de los Cuatro Métodos GET, POST, PUT,DELETE, sobre el Web Service
ApiKeyAuth1:
type: apiKey
in: header
name: granttype
definitions:
TransaccionesMasivas_PlanillasAplicarInput:
properties:
Planillas:
description: Transacciones Masivas_Planilla Entrada
$ref: "#/definitions/TransaccionesMasivas_PlanillaEntrada"
TransaccionesMasivas_PlanillaEntrada:
properties:
Planillas:
type: array
items:
description: Planilla
$ref: "#/definitions/TransaccionesMasivas_PlanillaEntrada.Planillas"
TransaccionesMasivas_PlanillaEntrada.Planillas:
properties:
ID:
description: ID de la Planilla
type: "string"
Detalles:
type: array
items:
description: Detalle
$ref: "#/definitions/TransaccionesMasivas_PlanillaEntrada.Planillas.Detalles"
x-gx-level: "TransaccionesMasivas_PlanillaEntrada"
TransaccionesMasivas_PlanillaEntrada.Planillas.Detalles:
properties:
ID:
description: ID del Cargo
type: "string"
format: uuid
Valor:
description: Valor a Descontar o Descontado
type: "number"
format: "double"
x-gx-level: "TransaccionesMasivas_PlanillaEntrada.Planillas"
TransaccionesMasivas_PlanillasAplicarOutput:
properties:
error:
type: "integer"
format: "int32"
mensajes:
type: "string"
GxJsonError:
properties:
error:
$ref: "#/definitions/GxJsonError.error"
GxJsonError.error:
properties:
code:
description: Código de Error
type: "string"
message:
description: Mensaje de Error
type: "string"
x-gx-level: "GxJsonError" |