openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/FSBP_CHECK_BANK_KEY:
    post:
      tags:
      - FSBP_CHECK
      operationId: /rfc/FSBP_CHECK_BANK_KEY
      requestBody:
        content:
          application/json:
            schema:
              properties:
                BANKL_IN:
                  type: string
                  default: ' '
                  maxLength: 15
                  description: Bank Key
                BANKN_IN:
                  type: string
                  default: ' '
                  maxLength: 18
                  description: Bank Account Number
                CNTRY_IN:
                  type: string
                  maxLength: 3
                  description: Country Key
              required:
              - CNTRY_IN
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  BANKADR_OUT:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      BANKS:
                        type: string
                        maxLength: 3
                        description: Bank country key
                      BANKL:
                        type: string
                        maxLength: 15
                        description: Bank Keys
                      ERDAT:
                        type: string
                        format: date
                        description: Date on which the record was created
                      ERNAM:
                        type: string
                        maxLength: 12
                        description: Name of person who created the object
                      BANKA:
                        type: string
                        maxLength: 60
                        description: Name of bank
                      PROVZ:
                        type: string
                        maxLength: 3
                        description: Region (State, Province, County)
                      STRAS:
                        type: string
                        maxLength: 35
                        description: House number and street
                      ORT01:
                        type: string
                        maxLength: 35
                        description: City
                      SWIFT:
                        type: string
                        maxLength: 11
                        description: SWIFT Code for International Payments
                      BGRUP:
                        type: string
                        maxLength: 2
                        description: Bank group (bank network)
                      XPGRO:
                        type: string
                        maxLength: 1
                        description: 'Post Office Bank Current Account  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      LOEVM:
                        type: string
                        maxLength: 1
                        description: 'Deletion Indicator  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      BNKLZ:
                        type: string
                        maxLength: 15
                        description: Bank number
                      PSKTO:
                        type: string
                        maxLength: 16
                        description: Post office bank current account number
                      ADRNR:
                        type: string
                        maxLength: 10
                        description: Address number
                      BRNCH:
                        type: string
                        maxLength: 40
                        description: Bank Branch
                      CHKME:
                        type: string
                        maxLength: 4
                        description: Check digit calculation method
                      VERS:
                        type: string
                        maxLength: 3
                        description: Format of File with Bank Data
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
