openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/FSBP_DBREAD_BP021:
    post:
      tags:
      - FSBP_DBREAD
      operationId: /rfc/FSBP_DBREAD_BP021
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_BYEAR:
                  type: integer
                  format: int64
                  description: Fiscal Year
                I_DB:
                  type: string
                  default: ' '
                  maxLength: 1
                I_PARTNR:
                  type: string
                  maxLength: 10
                I_VALDT:
                  type: string
                  format: date
                  default: SY-DATLO
                  description: Date and time, local date of user
                T_BP021:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      PARTNR:
                        type: string
                        maxLength: 10
                        description: Business Partner Number
                      BUSINESS_Y:
                        type: integer
                        format: int64
                        description: Fiscal year
                      BAL_SH_CUR:
                        type: string
                        maxLength: 5
                        description: Balance Sheet Currency
                      GEN_MEET_D:
                        type: string
                        format: date
                        description: Date of Annual Stockholders Meeting
                      BU_Y_BEGIN:
                        type: string
                        format: date
                        description: Fiscal Year Start Date
                      BU_Y_END:
                        type: string
                        format: date
                        description: Fiscal Year End Date
                      ANNUAL_ACC:
                        type: string
                        maxLength: 1
                        description: 'Annual Financial Statements  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      ANNU_ACC_D:
                        type: string
                        format: date
                        description: Date of Financial Statements for Fiscal Year
                      CONS_FST_D:
                        type: string
                        format: date
                        description: Date of Consolidated Financial Statements of Group Company
                      CAPI_STOCK:
                        type: integer
                        format: int64
                        description: Authorized Capital Stock
                      SHAR_STOCK:
                        type: integer
                        format: int64
                        description: Issued Stock Capital
                      PRSH_STOCK:
                        type: integer
                        format: int64
                        description: Participation Certificates Outstanding
                      EQUITY:
                        type: integer
                        format: int64
                        description: Equity capital
                      GROSS_AMNT:
                        type: integer
                        format: int64
                        description: Gross contribution
                      NET_AMOUNT:
                        type: integer
                        format: int64
                        description: Net contribution
                      TURNOVER:
                        type: integer
                        format: int64
                        description: Annual sales
                      NET_INCOME:
                        type: integer
                        format: int64
                        description: Annual Net Income
                      DIV_DIS_AM:
                        type: integer
                        format: int64
                        description: Dividend/profit distribution amount
                      DEBTS_FACT:
                        type: integer
                        format: int64
                        description: Debt ratio
                      DIS_PROFIT:
                        type: integer
                        format: int64
                        description: Profit Reported by Organization
                      BAL_AMOUNT:
                        type: integer
                        format: int64
                        description: Balance Sheet Total
                      STAFF_COUNT:
                        type: integer
                        format: int64
                        description: Number of Employees
                      CAP_RES:
                        type: integer
                        format: int64
                        description: Capital Reserve
                      REV_RES_LEG:
                        type: integer
                        format: int64
                        description: Legal Revenue Reserves
                      REV_RES_OWN_SHR:
                        type: integer
                        format: int64
                        description: Revenue Reserves for Own Stock
                      REV_RES_BY_LAWS:
                        type: integer
                        format: int64
                        description: Statutory Reserve
                      REV_RES_OTHERS:
                        type: integer
                        format: int64
                        description: Other Revenue Reserves
                      FORW_PROFIT_LOSS:
                        type: integer
                        format: int64
                        description: Profit/Loss Carried Forward
                      LIABILIT_SECOND:
                        type: integer
                        format: int64
                        description: Subordinated Liabilities
                      RET_TOT_CAP_EMPL:
                        type: integer
                        format: int64
                        description: Return on Total Capital Employed
                      REDUC_LONG_TERM:
                        type: integer
                        format: int64
                        description: Debt Clearance Period
                      COEFF_FINANCE:
                        type: integer
                        format: int64
                        description: Financing Coefficient
                      EQUITY_CAPIT:
                        type: integer
                        format: int64
                        description: Equity Ratio
              required:
              - I_PARTNR
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_BP021:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      PARTNR:
                        type: string
                        maxLength: 10
                        description: Business Partner Number
                      BUSINESS_Y:
                        type: integer
                        format: int64
                        description: Fiscal year
                      BAL_SH_CUR:
                        type: string
                        maxLength: 5
                        description: Balance Sheet Currency
                      GEN_MEET_D:
                        type: string
                        format: date
                        description: Date of Annual Stockholders Meeting
                      BU_Y_BEGIN:
                        type: string
                        format: date
                        description: Fiscal Year Start Date
                      BU_Y_END:
                        type: string
                        format: date
                        description: Fiscal Year End Date
                      ANNUAL_ACC:
                        type: string
                        maxLength: 1
                        description: 'Annual Financial Statements  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      ANNU_ACC_D:
                        type: string
                        format: date
                        description: Date of Financial Statements for Fiscal Year
                      CONS_FST_D:
                        type: string
                        format: date
                        description: Date of Consolidated Financial Statements of Group Company
                      CAPI_STOCK:
                        type: integer
                        format: int64
                        description: Authorized Capital Stock
                      SHAR_STOCK:
                        type: integer
                        format: int64
                        description: Issued Stock Capital
                      PRSH_STOCK:
                        type: integer
                        format: int64
                        description: Participation Certificates Outstanding
                      EQUITY:
                        type: integer
                        format: int64
                        description: Equity capital
                      GROSS_AMNT:
                        type: integer
                        format: int64
                        description: Gross contribution
                      NET_AMOUNT:
                        type: integer
                        format: int64
                        description: Net contribution
                      TURNOVER:
                        type: integer
                        format: int64
                        description: Annual sales
                      NET_INCOME:
                        type: integer
                        format: int64
                        description: Annual Net Income
                      DIV_DIS_AM:
                        type: integer
                        format: int64
                        description: Dividend/profit distribution amount
                      DEBTS_FACT:
                        type: integer
                        format: int64
                        description: Debt ratio
                      DIS_PROFIT:
                        type: integer
                        format: int64
                        description: Profit Reported by Organization
                      BAL_AMOUNT:
                        type: integer
                        format: int64
                        description: Balance Sheet Total
                      STAFF_COUNT:
                        type: integer
                        format: int64
                        description: Number of Employees
                      CAP_RES:
                        type: integer
                        format: int64
                        description: Capital Reserve
                      REV_RES_LEG:
                        type: integer
                        format: int64
                        description: Legal Revenue Reserves
                      REV_RES_OWN_SHR:
                        type: integer
                        format: int64
                        description: Revenue Reserves for Own Stock
                      REV_RES_BY_LAWS:
                        type: integer
                        format: int64
                        description: Statutory Reserve
                      REV_RES_OTHERS:
                        type: integer
                        format: int64
                        description: Other Revenue Reserves
                      FORW_PROFIT_LOSS:
                        type: integer
                        format: int64
                        description: Profit/Loss Carried Forward
                      LIABILIT_SECOND:
                        type: integer
                        format: int64
                        description: Subordinated Liabilities
                      RET_TOT_CAP_EMPL:
                        type: integer
                        format: int64
                        description: Return on Total Capital Employed
                      REDUC_LONG_TERM:
                        type: integer
                        format: int64
                        description: Debt Clearance Period
                      COEFF_FINANCE:
                        type: integer
                        format: int64
                        description: Financing Coefficient
                      EQUITY_CAPIT:
                        type: integer
                        format: int64
                        description: Equity Ratio
                  T_BP021:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client
                        PARTNR:
                          type: string
                          maxLength: 10
                          description: Business Partner Number
                        BUSINESS_Y:
                          type: integer
                          format: int64
                          description: Fiscal year
                        BAL_SH_CUR:
                          type: string
                          maxLength: 5
                          description: Balance Sheet Currency
                        GEN_MEET_D:
                          type: string
                          format: date
                          description: Date of Annual Stockholders Meeting
                        BU_Y_BEGIN:
                          type: string
                          format: date
                          description: Fiscal Year Start Date
                        BU_Y_END:
                          type: string
                          format: date
                          description: Fiscal Year End Date
                        ANNUAL_ACC:
                          type: string
                          maxLength: 1
                          description: 'Annual Financial Statements  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        ANNU_ACC_D:
                          type: string
                          format: date
                          description: Date of Financial Statements for Fiscal Year
                        CONS_FST_D:
                          type: string
                          format: date
                          description: Date of Consolidated Financial Statements of Group Company
                        CAPI_STOCK:
                          type: integer
                          format: int64
                          description: Authorized Capital Stock
                        SHAR_STOCK:
                          type: integer
                          format: int64
                          description: Issued Stock Capital
                        PRSH_STOCK:
                          type: integer
                          format: int64
                          description: Participation Certificates Outstanding
                        EQUITY:
                          type: integer
                          format: int64
                          description: Equity capital
                        GROSS_AMNT:
                          type: integer
                          format: int64
                          description: Gross contribution
                        NET_AMOUNT:
                          type: integer
                          format: int64
                          description: Net contribution
                        TURNOVER:
                          type: integer
                          format: int64
                          description: Annual sales
                        NET_INCOME:
                          type: integer
                          format: int64
                          description: Annual Net Income
                        DIV_DIS_AM:
                          type: integer
                          format: int64
                          description: Dividend/profit distribution amount
                        DEBTS_FACT:
                          type: integer
                          format: int64
                          description: Debt ratio
                        DIS_PROFIT:
                          type: integer
                          format: int64
                          description: Profit Reported by Organization
                        BAL_AMOUNT:
                          type: integer
                          format: int64
                          description: Balance Sheet Total
                        STAFF_COUNT:
                          type: integer
                          format: int64
                          description: Number of Employees
                        CAP_RES:
                          type: integer
                          format: int64
                          description: Capital Reserve
                        REV_RES_LEG:
                          type: integer
                          format: int64
                          description: Legal Revenue Reserves
                        REV_RES_OWN_SHR:
                          type: integer
                          format: int64
                          description: Revenue Reserves for Own Stock
                        REV_RES_BY_LAWS:
                          type: integer
                          format: int64
                          description: Statutory Reserve
                        REV_RES_OTHERS:
                          type: integer
                          format: int64
                          description: Other Revenue Reserves
                        FORW_PROFIT_LOSS:
                          type: integer
                          format: int64
                          description: Profit/Loss Carried Forward
                        LIABILIT_SECOND:
                          type: integer
                          format: int64
                          description: Subordinated Liabilities
                        RET_TOT_CAP_EMPL:
                          type: integer
                          format: int64
                          description: Return on Total Capital Employed
                        REDUC_LONG_TERM:
                          type: integer
                          format: int64
                          description: Debt Clearance Period
                        COEFF_FINANCE:
                          type: integer
                          format: int64
                          description: Financing Coefficient
                        EQUITY_CAPIT:
                          type: integer
                          format: int64
                          description: Equity Ratio
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
