openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/FSBP_DBREAD_BP3010:
    post:
      tags:
      - FSBP_DBREAD
      operationId: /rfc/FSBP_DBREAD_BP3010
      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
                T_BP3010:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      PARTNER:
                        type: string
                        maxLength: 10
                        description: Business Partner Number
                      GRP_TYP:
                        type: integer
                        format: int64
                        description: Group Category
                      GRP:
                        type: integer
                        format: int64
                        description: Group Key
                      FRT:
                        type: string
                        maxLength: 35
                        description: User-Defined Text
                      XFELD:
                        type: string
                        maxLength: 1
                        description: 'Checkbox  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
              required:
              - I_PARTNER
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  T_BP3010:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client
                        PARTNER:
                          type: string
                          maxLength: 10
                          description: Business Partner Number
                        GRP_TYP:
                          type: integer
                          format: int64
                          description: Group Category
                        GRP:
                          type: integer
                          format: int64
                          description: Group Key
                        FRT:
                          type: string
                          maxLength: 35
                          description: User-Defined Text
                        XFELD:
                          type: string
                          maxLength: 1
                          description: 'Checkbox  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
