openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/FSBP_TC_APPLICATION_DATA_GET:
    post:
      tags:
      - FSBP_TC_MAIN
      operationId: /rfc/FSBP_TC_APPLICATION_DATA_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_APPL:
                  type: string
                  maxLength: 10
                I_LANGU:
                  type: string
                  maxLength: 1
                I_SSYNCHRON:
                  type: string
                  maxLength: 1
                I_TAB_PARTNER:
                  type: array
                  items:
                    type: object
                    properties:
                      PARTNER:
                        type: string
                        maxLength: 10
                        description: Business Partner Number
                      PARTNER_GUID:
                        type: string
                        format: byte
                        description: Business Partner GUID
                I_TAB_ROLE_DATA:
                  type: array
                  items:
                    type: object
                    properties:
                      RLTYP:
                        type: string
                        maxLength: 6
                        description: Business Partner Role for Application
                      SDETAIL:
                        type: string
                        maxLength: 1
                        description: Do Not Provide Detailed Information
                I_TIMESTAMPL:
                  type: integer
                  format: int64
              required:
              - I_APPL
              - I_LANGU
              - I_SSYNCHRON
              - I_TAB_PARTNER
              - I_TAB_ROLE_DATA
              - I_TIMESTAMPL
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_TAB_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
                  E_TAB_TRANSFER_ALL:
                    type: array
                    items:
                      type: object
                      properties:
                        APPL:
                          type: string
                          maxLength: 10
                          description: Application
                        PARTNER:
                          type: string
                          maxLength: 10
                          description: Business Partner Number
                        PARTNER_GUID:
                          type: string
                          format: byte
                          description: Business Partner GUID
                        IDNUM:
                          type: string
                          maxLength: 60
                          description: Identification Number for Business Partner
                        RLTYP:
                          type: string
                          maxLength: 6
                          description: Business Partner Role for Application
                        CONTRACT_KEY:
                          type: string
                          maxLength: 32
                          description: Internal Contract ID
                        CONTRACT_ID:
                          type: string
                          maxLength: 70
                          description: Contract Number
                        PRODUCT_DESCR:
                          type: string
                          maxLength: 35
                          description: Product Description
                        START_OF_TERM:
                          type: string
                          format: date
                          description: Start Date of Contract
                        TERMINATION_DATE:
                          type: string
                          format: date
                          description: Contract End Date
                        END_OF_TERM:
                          type: string
                          format: date
                          description: End of Term Date
                        CONTRACT_AMOUNT:
                          type: integer
                          format: int64
                          description: Contract Amount
                        CONTRACT_CURR:
                          type: string
                          maxLength: 5
                          description: Display Currency for Contract
                        S_COLL_AVAILABLE:
                          type: string
                          maxLength: 1
                          description: Collateral Available
                        S_3RD_PARTY:
                          type: string
                          maxLength: 1
                          description: Third-Party Account
                        S_ASSET_LIAB:
                          type: string
                          maxLength: 1
                          description: Asset/Liability Transaction
                        ACCOUNT_BALANCE:
                          type: integer
                          format: int64
                          description: Account Balance
                        ACCOUNT_CURR:
                          type: string
                          maxLength: 5
                          description: Display Currency for Account Balance
                        LIMIT_EXTERNAL:
                          type: integer
                          format: int64
                          description: External Limit
                        LIMIT_INTERNAL:
                          type: integer
                          format: int64
                          description: Internal Limit
                        LIMIT_CARD:
                          type: integer
                          format: int64
                          description: Credit Line of Credit Card
                        LIMIT_CURR:
                          type: string
                          maxLength: 5
                          description: Display Currency for Limits
                        S_BLOCKED:
                          type: string
                          maxLength: 1
                          description: Lock on Contract
                        STATUS:
                          type: string
                          maxLength: 20
                          description: Status Information
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
