openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/FSBP_READ_PARTNER_SHOW:
    post:
      tags:
      - FSBP_READ
      operationId: /rfc/FSBP_READ_PARTNER_SHOW
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IV_ROLE:
                  type: string
                  maxLength: 6
                  description: 'Indicator: Business partner safeguards himself'
                I_AKTIVITYSWITCH:
                  type: string
                  maxLength: 1
                I_AKTYP:
                  type: string
                  default: ' '
                  maxLength: 2
                  description: Activity Category
                I_DATE:
                  type: string
                  format: date
                  default: SY-DATUM
                I_DIALOG_MODUS:
                  type: string
                  default: ' '
                  maxLength: 1
                I_FLAG_NEW_ROLE:
                  type: string
                  default: ' '
                  maxLength: 1
                I_GROUP:
                  type: string
                  maxLength: 4
                  description: Business partner grouping
                I_GROUP_SELECTION_ENABLED:
                  type: string
                  default: X
                  maxLength: 1
                I_IN_NEW_MODE:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: 'Indicator: Business partner safeguards himself'
                I_PARTNER:
                  type: string
                  maxLength: 10
                I_ROLESWITCH:
                  type: string
                  maxLength: 1
                I_TYPE:
                  type: string
                  maxLength: 1
                  description: Business Partner Category
                I_XSAVE:
                  type: string
                  default: X
                  maxLength: 1
                  description: 'Indicator: Business partner safeguards himself'
                T_ROLES:
                  type: array
                  items:
                    type: object
                    properties:
                      PARTNER:
                        type: string
                        maxLength: 10
                        description: Business Partner Number
                      ROLECATEGORY:
                        type: string
                        maxLength: 6
                        description: BP Role Category
                      ROLE:
                        type: string
                        maxLength: 6
                        description: BP Role
                      ROLETITLE:
                        type: string
                        maxLength: 25
                        description: BP Role Title
                      DFVAL:
                        type: string
                        maxLength: 20
                        description: 'BP: Differentiation type value'
                      VALID_FROM:
                        type: integer
                        format: int64
                        description: Validity Start of a BP Role
                      VALID_TO:
                        type: integer
                        format: int64
                        description: Validity End of a BP Role
                      DFTYP:
                        type: string
                        maxLength: 2
                        description: Differentiation Type
                      KZ:
                        type: string
                        maxLength: 1
                        description: 'Change category  enumValues: D=Delete,M=Modify,U=Update,I=Insert'
                        enum:
                        - D
                        - M
                        - U
                        - I
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  EV_DATA_CHANGED:
                    type: string
                    maxLength: 1
                  E_PARTNER:
                    type: string
                    maxLength: 10
                  T_ROLES:
                    type: array
                    items:
                      type: object
                      properties:
                        PARTNER:
                          type: string
                          maxLength: 10
                          description: Business Partner Number
                        ROLECATEGORY:
                          type: string
                          maxLength: 6
                          description: BP Role Category
                        ROLE:
                          type: string
                          maxLength: 6
                          description: BP Role
                        ROLETITLE:
                          type: string
                          maxLength: 25
                          description: BP Role Title
                        DFVAL:
                          type: string
                          maxLength: 20
                          description: 'BP: Differentiation type value'
                        VALID_FROM:
                          type: integer
                          format: int64
                          description: Validity Start of a BP Role
                        VALID_TO:
                          type: integer
                          format: int64
                          description: Validity End of a BP Role
                        DFTYP:
                          type: string
                          maxLength: 2
                          description: Differentiation Type
                        KZ:
                          type: string
                          maxLength: 1
                          description: 'Change category  enumValues: D=Delete,M=Modify,U=Update,I=Insert'
                          enum:
                          - D
                          - M
                          - U
                          - I
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
