openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SEARCH_BANK_ADDRESS_EXTENDED:
    post:
      tags:
      - BANK
      summary: Read Bank Data with Extended Selection (RFC)
      operationId: /rfc/SEARCH_BANK_ADDRESS_EXTENDED
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_BANKA:
                  type: string
                  maxLength: 60
                  description: Name of Bank
                I_BANKL:
                  type: string
                  maxLength: 15
                  description: Bank Key
                I_BANKS:
                  type: string
                  maxLength: 3
                  description: Bank Country Key
                I_BNKLZ:
                  type: string
                  maxLength: 15
                  description: Bank Number
                I_BRNCH:
                  type: string
                  maxLength: 40
                  description: Bank Branch
                I_ORT01:
                  type: string
                  maxLength: 35
                  description: Location
                I_STRAS:
                  type: string
                  maxLength: 35
                  description: House number and street
                I_SWIFT:
                  type: string
                  maxLength: 11
                  description: SWIFT Code for International Payments
                ET_BNKA:
                  type: array
                  items:
                    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
                ET_RETURN:
                  type: array
                  items:
                    type: object
                    properties:
                      TYPE:
                        type: string
                        maxLength: 1
                        description: 'Message type: S Success, E Error, W Warning, I Info, A Abort'
                      ID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      NUMBER:
                        type: integer
                        format: int64
                        description: Message Number
                      MESSAGE:
                        type: string
                        maxLength: 220
                        description: Message Text
                      LOG_NO:
                        type: string
                        maxLength: 20
                        description: 'Application log: log number'
                      LOG_MSG_NO:
                        type: integer
                        format: int64
                        description: 'Application log: Internal message serial number'
                      MESSAGE_V1:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MESSAGE_V2:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MESSAGE_V3:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MESSAGE_V4:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      PARAMETER:
                        type: string
                        maxLength: 32
                        description: Parameter Name
                      ROW:
                        type: integer
                        format: int32
                        description: Lines in parameter
                      FIELD:
                        type: string
                        maxLength: 30
                        description: Field in parameter
                      SYSTEM:
                        type: string
                        maxLength: 10
                        description: Logical system from which message originates
              required:
              - I_BANKS
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ET_BNKA:
                    type: array
                    items:
                      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
                  ET_RETURN:
                    type: array
                    items:
                      type: object
                      properties:
                        TYPE:
                          type: string
                          maxLength: 1
                          description: 'Message type: S Success, E Error, W Warning, I Info, A Abort'
                        ID:
                          type: string
                          maxLength: 20
                          description: Message Class
                        NUMBER:
                          type: integer
                          format: int64
                          description: Message Number
                        MESSAGE:
                          type: string
                          maxLength: 220
                          description: Message Text
                        LOG_NO:
                          type: string
                          maxLength: 20
                          description: 'Application log: log number'
                        LOG_MSG_NO:
                          type: integer
                          format: int64
                          description: 'Application log: Internal message serial number'
                        MESSAGE_V1:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MESSAGE_V2:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MESSAGE_V3:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MESSAGE_V4:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        PARAMETER:
                          type: string
                          maxLength: 32
                          description: Parameter Name
                        ROW:
                          type: integer
                          format: int32
                          description: Lines in parameter
                        FIELD:
                          type: string
                          maxLength: 30
                          description: Field in parameter
                        SYSTEM:
                          type: string
                          maxLength: 10
                          description: Logical system from which message originates
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
