swagger: '2.0'
info:
title: "SIFCO_REST_API"
version: "1.0"
description: "La presente documentación busca detallar los métodos que permite ejecutar este **Web Services**, como es el Crear Solicitudes de Pago Grupal en la **Aplicación SIFCO WEB** ."
termsOfService: "https://sifco.org/sobre-nosotros/"
contact:
email: "soporte@sifco.org"
license:
name: "Apache 2.0"
url: "http://www.apache.org/licenses/LICENSE-2.0.html"
host: "<SERVER>"
schemes:
- https
- http
basePath: /<APPDIR>/rest
tags:
- name: "PInsSoliGrupo"
externalDocs:
description: "Manual SIFCO"
url: "https://sifco.atlassian.net/wiki/x/RQCx"
produces:
- application/json
paths:
/PInsSoliGrupo:
post:
tags:
- PInsSoliGrupo
operationId: "PInsSoliGrupo"
summary: "Web Services para Crear Solicitud de Pago Grupal"
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: "PInsSoliGrupoInput"
in: "body"
required: false
schema:
$ref: "#/definitions/PInsSoliGrupoInput"
responses:
200:
description: "Successful operation"
schema:
$ref: "#/definitions/PInsSoliGrupoOutput"
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"
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:
PInsSoliGrupoInput:
properties:
ApEmpCod:
type: "integer"
format: "int32"
ApSucCod:
type: "integer"
format: "int32"
SoCrNumero:
type: "integer"
format: "int64"
GrAfCodigo:
type: "integer"
format: "int64"
GrAfCiclo:
type: "integer"
format: "int64"
ApPrmCod:
type: "string"
ApPrdCod:
type: "integer"
format: "int32"
ApColCod:
type: "integer"
format: "int32"
SoCrFecha:
type: "string"
format: "date"
SoCrFecFormalizacion:
type: "string"
format: "date"
SoCrReferencia:
type: "string"
SoCrMonSolicitado:
type: "number"
format: "double"
SoCrMonAutorizado:
type: "number"
format: "double"
SoCrTasaFoV:
type: "string"
SoCrTasaBase:
type: "number"
format: "double"
SoCrSpreCorr:
type: "number"
format: "double"
SoCrBaseMora:
type: "number"
format: "double"
SoCrSpreMora:
type: "number"
format: "double"
SoCrFacPlazo:
type: "integer"
format: "int32"
SoCrPlazo:
type: "integer"
format: "int32"
SoCrDiasGracia:
type: "integer"
format: "int32"
SoCrFecVencimiento:
type: "string"
format: "date"
SoCrTipCom:
type: "integer"
format: "int32"
SoCrFreCCod:
type: "integer"
format: "int32"
SoCrFreICod:
type: "integer"
format: "int32"
SoCrFecCap:
type: "string"
format: "date"
SoCrFecInt:
type: "string"
format: "date"
SoCrFormaPago:
type: "integer"
format: "int32"
PreFreCPlanilla:
type: "integer"
format: "int32"
BaCtaCodPago:
type: "integer"
format: "int64"
ApAprCod:
type: "integer"
format: "int32"
FecAprobacion:
type: "string"
format: "date"
ApGarCod:
type: "integer"
format: "int32"
ApOrgCod:
type: "integer"
format: "int32"
TipoDesem:
type: "integer"
format: "int32"
BaCtaCod:
type: "integer"
format: "int64"
ApGrDCod:
type: "integer"
format: "int32"
ApAcDCod:
type: "integer"
format: "int32"
ApAgrCod:
type: "integer"
format: "int32"
ApTGaCod:
type: "integer"
format: "int32"
ApGruCod:
type: "integer"
format: "int32"
SoCrEstado:
type: "integer"
format: "int32"
FormaCheque:
type: "string"
FormaTransferencia:
type: "string"
NombreCheque:
type: "string"
Miembros:
description: Miembros Sol Grupal
type: array
items:
$ref: "#/definitions/MiembrosSolGrupal_MiembrosSolGrupalItem"
Mode:
type: "string"
Error:
type: "integer"
format: "int32"
MiembrosSolGrupal_MiembrosSolGrupalItem:
properties:
Id:
description: Id
type: "integer"
format: "int64"
ClCliCod:
description: Código del Cliente
type: "integer"
format: "int64"
ClNomSocio:
description: Nombre del Cliente
type: "string"
CrSolMonCicloAnterior:
description: Monto ciclo anterior
type: "number"
format: "double"
CrSolMonSolicitado:
description: Monto Solicitado
type: "number"
format: "double"
CrSolMonAutorizado:
description: Monto Autorizado
type: "number"
format: "double"
CrSolTransfCuentaBancoCliente:
description: Cuenta bancaria del socio hacia donde se realiza la transacción
type: "string"
CrSolTransfNumeroDocumento:
description: Número de documento de referencia de la transferencia
type: "integer"
format: "int64"
CrSolTransfClienteUnaSolaTransferencia:
description: Indica si es el cliente seleccionado para una sola transferencia por todo el grupo
type: "boolean"
PInsSoliGrupoOutput:
properties:
ApEmpCod:
type: "integer"
format: "int32"
ApSucCod:
type: "integer"
format: "int32"
SoCrNumero:
type: "integer"
format: "int64"
GrAfCodigo:
type: "integer"
format: "int64"
GrAfCiclo:
type: "integer"
format: "int64"
ApPrmCod:
type: "string"
ApPrdCod:
type: "integer"
format: "int32"
ApColCod:
type: "integer"
format: "int32"
SoCrFecha:
type: "string"
format: "date"
SoCrFecFormalizacion:
type: "string"
format: "date"
SoCrReferencia:
type: "string"
SoCrMonSolicitado:
type: "number"
format: "double"
SoCrMonAutorizado:
type: "number"
format: "double"
SoCrTasaFoV:
type: "string"
SoCrTasaBase:
type: "number"
format: "double"
SoCrSpreCorr:
type: "number"
format: "double"
SoCrBaseMora:
type: "number"
format: "double"
SoCrSpreMora:
type: "number"
format: "double"
SoCrFacPlazo:
type: "integer"
format: "int32"
SoCrPlazo:
type: "integer"
format: "int32"
SoCrDiasGracia:
type: "integer"
format: "int32"
SoCrFecVencimiento:
type: "string"
format: "date"
SoCrTipCom:
type: "integer"
format: "int32"
SoCrFreCCod:
type: "integer"
format: "int32"
SoCrFreICod:
type: "integer"
format: "int32"
SoCrFecCap:
type: "string"
format: "date"
SoCrFecInt:
type: "string"
format: "date"
SoCrFormaPago:
type: "integer"
format: "int32"
PreFreCPlanilla:
type: "integer"
format: "int32"
BaCtaCodPago:
type: "integer"
format: "int64"
ApAprCod:
type: "integer"
format: "int32"
FecAprobacion:
type: "string"
format: "date"
ApGarCod:
type: "integer"
format: "int32"
ApOrgCod:
type: "integer"
format: "int32"
TipoDesem:
type: "integer"
format: "int32"
BaCtaCod:
type: "integer"
format: "int64"
ApGrDCod:
type: "integer"
format: "int32"
ApAcDCod:
type: "integer"
format: "int32"
ApAgrCod:
type: "integer"
format: "int32"
ApTGaCod:
type: "integer"
format: "int32"
ApGruCod:
type: "integer"
format: "int32"
SoCrEstado:
type: "integer"
format: "int32"
FormaCheque:
type: "string"
FormaTransferencia:
type: "string"
NombreCheque:
type: "string"
Miembros:
description: Miembros Sol Grupal
type: array
items:
$ref: "#/definitions/MiembrosSolGrupal_MiembrosSolGrupalItem"
Mode:
type: "string"
Error:
type: "integer"
format: "int32"
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" |