openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RHPP_R_PROFILE_READ:
    post:
      tags:
      - RHPP
      summary: Read requirements profile
      operationId: /rfc/RHPP_R_PROFILE_READ
      requestBody:
        content:
          application/json:
            schema:
              properties:
                BEGDA:
                  type: string
                  format: date
                  default: SY-DATUM
                  description: Start Date
                CHECK_NOTE:
                  type: string
                  default: ' '
                  maxLength: 1
                ENDDA:
                  type: string
                  format: date
                  default: SY-DATUM
                  description: End Date
                WITH_QK_INFO:
                  type: string
                  default: X
                  maxLength: 1
                WITH_STEXT:
                  type: string
                  default: X
                  maxLength: 1
                ERR_OBJECTS:
                  type: array
                  items:
                    type: object
                    properties:
                      PLVAR:
                        type: string
                        maxLength: 2
                        description: Plan Version
                      OTYPE:
                        type: string
                        maxLength: 2
                        description: Object Type
                      SOBID:
                        type: string
                        maxLength: 45
                        description: ID of Related Object
                OBJECTS:
                  type: array
                  items:
                    type: object
                    properties:
                      PLVAR:
                        type: string
                        maxLength: 2
                        description: Plan Version
                      OTYPE:
                        type: string
                        maxLength: 2
                        description: Object Type
                      SOBID:
                        type: string
                        maxLength: 45
                        description: ID of Related Object
                PROFILE:
                  type: array
                  items:
                    type: object
                    properties:
                      PLVAR:
                        type: string
                        maxLength: 2
                        description: Plan Version
                      OTYPE:
                        type: string
                        maxLength: 2
                        description: Object Type
                      SOBID:
                        type: string
                        maxLength: 45
                        description: ID of Related Object
                      SHORT:
                        type: string
                        maxLength: 12
                        description: Object Abbreviation
                      STEXT:
                        type: string
                        maxLength: 40
                        description: Object Name
                      MARK_X:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                      TTYPE:
                        type: string
                        maxLength: 2
                        description: Type of Related Object
                      TBJID:
                        type: integer
                        format: int64
                        description: Object ID
                      SBEGD:
                        type: string
                        format: date
                        description: Start Date
                      SENDD:
                        type: string
                        format: date
                        description: End Date
                      VBEGD:
                        type: string
                        format: date
                        description: Start Date
                      VENDD:
                        type: string
                        format: date
                        description: End Date
                      ISTAT:
                        type: string
                        maxLength: 1
                        description: Planning Status
                      NOTE:
                        type: string
                        maxLength: 1
                        description: 'Flag: Object Has a Note  enumValues: ""=Not Selected,X=Selected'
                        enum:
                        - ''
                        - X
                      TSHORT:
                        type: string
                        maxLength: 12
                        description: Object Abbreviation
                      TTEXT:
                        type: string
                        maxLength: 40
                        description: Object Name
                      PROFCY:
                        type: integer
                        format: int64
                        description: Proficiency of a Quality Scale
                      PROFCY2:
                        type: integer
                        format: int64
                        description: Proficiency of a Quality Scale
                      ESSENTIAL:
                        type: string
                        maxLength: 1
                        description: 'Indicator: Essential or Optional Requirement  enumValues: ""=Not Selected,X=Selected'
                        enum:
                        - ''
                        - X
                      NOT_RATED:
                        type: string
                        maxLength: 1
                        description: 'Flag: Without Rating  enumValues: ""=Not Selected,X=Selected'
                        enum:
                        - ''
                        - X
                      INHER_TYPE:
                        type: string
                        maxLength: 2
                        description: Object Type
                      INHER_ID:
                        type: string
                        maxLength: 45
                        description: ID of Related Object
                      AEDTM:
                        type: string
                        format: date
                        description: Changed on
                      UNAME:
                        type: string
                        maxLength: 12
                        description: User Name
                      CLASS_ID:
                        type: integer
                        format: int64
                        description: Object ID
                      CLASS_TEXT:
                        type: string
                        maxLength: 40
                        description: Name of Qualification Group
                      SCALE_ID:
                        type: integer
                        format: int64
                        description: Scale ID
                      SCALE_TEXT:
                        type: string
                        maxLength: 40
                        description: Name of Scale
                      PROFC_TEXT:
                        type: string
                        maxLength: 40
                        description: Scale Proficiency Text
                      PROF2_TEXT:
                        type: string
                        maxLength: 40
                        description: Scale Proficiency Text
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ERR_OBJECTS:
                    type: array
                    items:
                      type: object
                      properties:
                        PLVAR:
                          type: string
                          maxLength: 2
                          description: Plan Version
                        OTYPE:
                          type: string
                          maxLength: 2
                          description: Object Type
                        SOBID:
                          type: string
                          maxLength: 45
                          description: ID of Related Object
                  OBJECTS:
                    type: array
                    items:
                      type: object
                      properties:
                        PLVAR:
                          type: string
                          maxLength: 2
                          description: Plan Version
                        OTYPE:
                          type: string
                          maxLength: 2
                          description: Object Type
                        SOBID:
                          type: string
                          maxLength: 45
                          description: ID of Related Object
                  PROFILE:
                    type: array
                    items:
                      type: object
                      properties:
                        PLVAR:
                          type: string
                          maxLength: 2
                          description: Plan Version
                        OTYPE:
                          type: string
                          maxLength: 2
                          description: Object Type
                        SOBID:
                          type: string
                          maxLength: 45
                          description: ID of Related Object
                        SHORT:
                          type: string
                          maxLength: 12
                          description: Object Abbreviation
                        STEXT:
                          type: string
                          maxLength: 40
                          description: Object Name
                        MARK_X:
                          type: string
                          maxLength: 1
                          description: Single-Character Flag
                        TTYPE:
                          type: string
                          maxLength: 2
                          description: Type of Related Object
                        TBJID:
                          type: integer
                          format: int64
                          description: Object ID
                        SBEGD:
                          type: string
                          format: date
                          description: Start Date
                        SENDD:
                          type: string
                          format: date
                          description: End Date
                        VBEGD:
                          type: string
                          format: date
                          description: Start Date
                        VENDD:
                          type: string
                          format: date
                          description: End Date
                        ISTAT:
                          type: string
                          maxLength: 1
                          description: Planning Status
                        NOTE:
                          type: string
                          maxLength: 1
                          description: 'Flag: Object Has a Note  enumValues: ""=Not Selected,X=Selected'
                          enum:
                          - ''
                          - X
                        TSHORT:
                          type: string
                          maxLength: 12
                          description: Object Abbreviation
                        TTEXT:
                          type: string
                          maxLength: 40
                          description: Object Name
                        PROFCY:
                          type: integer
                          format: int64
                          description: Proficiency of a Quality Scale
                        PROFCY2:
                          type: integer
                          format: int64
                          description: Proficiency of a Quality Scale
                        ESSENTIAL:
                          type: string
                          maxLength: 1
                          description: 'Indicator: Essential or Optional Requirement  enumValues: ""=Not Selected,X=Selected'
                          enum:
                          - ''
                          - X
                        NOT_RATED:
                          type: string
                          maxLength: 1
                          description: 'Flag: Without Rating  enumValues: ""=Not Selected,X=Selected'
                          enum:
                          - ''
                          - X
                        INHER_TYPE:
                          type: string
                          maxLength: 2
                          description: Object Type
                        INHER_ID:
                          type: string
                          maxLength: 45
                          description: ID of Related Object
                        AEDTM:
                          type: string
                          format: date
                          description: Changed on
                        UNAME:
                          type: string
                          maxLength: 12
                          description: User Name
                        CLASS_ID:
                          type: integer
                          format: int64
                          description: Object ID
                        CLASS_TEXT:
                          type: string
                          maxLength: 40
                          description: Name of Qualification Group
                        SCALE_ID:
                          type: integer
                          format: int64
                          description: Scale ID
                        SCALE_TEXT:
                          type: string
                          maxLength: 40
                          description: Name of Scale
                        PROFC_TEXT:
                          type: string
                          maxLength: 40
                          description: Scale Proficiency Text
                        PROF2_TEXT:
                          type: string
                          maxLength: 40
                          description: Scale Proficiency Text
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
