openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/FSBP_DBREAD_BP1010:
    post:
      tags:
      - FSBP_DBREAD
      operationId: /rfc/FSBP_DBREAD_BP1010
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_DB:
                  type: string
                  maxLength: 1
                  description: 'Data Element for Domain BOOLE: TRUE (="X") and FALSE (=" ")'
                I_PARTNER:
                  type: string
                  maxLength: 10
                  description: Business Partner Number
                I_VALDT:
                  type: string
                  format: date
                  default: SY-DATLO
                  description: Date and time, local date of user
              required:
              - I_PARTNER
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_BP1010:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      PARTNR:
                        type: string
                        maxLength: 10
                        description: Business Partner Number
                      DE_OATH:
                        type: string
                        maxLength: 1
                        description: 'Affidavit  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      DE_OA_D:
                        type: string
                        format: date
                        description: Date of affidavit
                      BANKRUP:
                        type: string
                        maxLength: 1
                        description: 'Launch Bankruptcy Proceedings  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      BNKRY_D:
                        type: string
                        format: date
                        description: Commencement Date of Bankruptcy Proceedings
                      FORECLO:
                        type: string
                        maxLength: 1
                        description: 'Foreclosure  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      FORCL_D:
                        type: string
                        format: date
                        description: Date of foreclosure
                      SOLVNCY:
                        type: string
                        maxLength: 1
                        description: 'Credit Standing  enumValues: 3=Satisfactory,6=Unsatisfactory,5=Poor,4=Sufficient,2=Good,0=VIP - Preferable Credit Standing,1=Very Good'
                        enum:
                        - '3'
                        - '6'
                        - '5'
                        - '4'
                        - '2'
                        - '0'
                        - '1'
                      SOL_INS:
                        type: string
                        maxLength: 4
                        description: Institute Providing Credit Standing Information
                      SOL_INF:
                        type: string
                        maxLength: 1
                        description: 'Status of Credit Standing Information  enumValues: 2=Requested,1=Negative,0=Positive,3=Information Agreed,4=information Refused,""=None'
                        enum:
                        - '2'
                        - '1'
                        - '0'
                        - '3'
                        - '4'
                        - ''
                      SOL_TXT:
                        type: string
                        maxLength: 50
                        description: Additional Credit Standing Information
                      SOL_I_D:
                        type: string
                        format: date
                        description: Date of Credit Standing Information
                      RATING:
                        type: string
                        maxLength: 3
                        description: Rating
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
