openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RHPA_SHOW_APPRAISAL:
    post:
      tags:
      - RHPA_SHOW
      operationId: /rfc/RHPA_SHOW_APPRAISAL
      requestBody:
        content:
          application/json:
            schema:
              properties:
                APPRAISAL_ID:
                  type: integer
                  format: int64
                  description: Appraisal ID (BA)
                CLASSIC:
                  type: string
                  default: X
                  maxLength: 1
                  description: '''X'' = Classical; '' '' = Simple Process Flow'
                CREATE_WORKLOAD:
                  type: string
                  default: X
                  maxLength: 1
                INP_OFF_APPDATE:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: '''X'' = Appraisal Period Cannot Be Modified'
                INP_OFF_APPRAISEE:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: '''X'' = Appraisee Cannot Be Modified'
                INP_OFF_APPRAISOR:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: '''X'' = Appraiser Cannot Be Modified'
                INP_OFF_APP_TEXT:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: '''X'' = Appraisal Text Cannot Be Modified'
                MAINTAIN:
                  type: string
                  default: ' '
                  maxLength: 1
                NEW_APPFORM_ID:
                  type: integer
                  format: int64
                  description: Appraisal Form               (MAINTAIN = 'N')
                NEW_APPSCHEME_ID:
                  type: integer
                  format: int64
                  description: Appraisal Schema ID (BS) (MAINTAIN = 'N')
                NEW_APP_BEGDA:
                  type: string
                  format: date
                  description: Start of Validity (MAINTAIN = 'N')
                NEW_APP_DATE:
                  type: string
                  format: date
                  default: SY-DATUM
                  description: Appraisal Date (MAINTAIN= 'X' or 'N')
                NEW_APP_ENDDA:
                  type: string
                  format: date
                  description: End of Validity   (MAINTAIN = 'N')
                NEW_APP_STEXT:
                  type: string
                  maxLength: 40
                  description: Appraisal Text (MAINTAIN = 'N')
                NEW_INDIVID_APP_ONLY:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: ''' '' = All, ''X'' = Individual Appraisals Only'
                PLVAR:
                  type: string
                  maxLength: 2
                  description: Plan Version
                SUPPRESS_FIRST_SCREEN:
                  type: string
                  default: ' '
                  maxLength: 1
                APPRAISAL:
                  type: array
                  items:
                    type: object
                    properties:
                      RANK:
                        type: integer
                        format: int64
                        description: Define sorting
                      SLEVL:
                        type: integer
                        format: int64
                        description: Hierarchy level
                      APP_OTYPE:
                        type: string
                        maxLength: 2
                        description: Object Type (Personnel Development)
                      APP_OBJID:
                        type: integer
                        format: int64
                        description: Object ID
                      APP_STEXT:
                        type: string
                        maxLength: 40
                        description: Object Name
                      EVALUAT:
                        type: integer
                        format: int64
                        description: Weighting
                      RATING:
                        type: integer
                        format: int64
                        description: Rating of an Appraisal Element
                      RTEXT:
                        type: string
                        maxLength: 40
                        description: Rating text of an appraisal element
                      NOT_RATED:
                        type: string
                        maxLength: 1
                        description: 'Flag: Without Rating  enumValues: ""=Not Selected,X=Selected'
                        enum:
                        - ''
                        - X
                      PARENT:
                        type: integer
                        format: int64
                        description: Define sorting
                      CHILD:
                        type: integer
                        format: int64
                        description: Define sorting
                      BROTHER:
                        type: integer
                        format: int64
                        description: Define sorting
                      RATING_OPTION:
                        type: string
                        maxLength: 2
                        description: 'ABAP: Selection option (EQ/BT/CP/...)'
                      RATING_NO_INPUT:
                        type: string
                        maxLength: 1
                        description: 'Flag: rating cannot be entered  enumValues: ""=Not Selected,X=Selected'
                        enum:
                        - ''
                        - X
                      SCALE_ID:
                        type: integer
                        format: int64
                        description: Scale ID
                      FUNCNAME:
                        type: string
                        maxLength: 30
                        description: Function module for calculating (partial) appraisal results
                      OBJECTIVE:
                        type: string
                        maxLength: 1
                        description: 'Flag: Can be used for setting objectives  enumValues: ""=Not Selected,X=Selected'
                        enum:
                        - ''
                        - X
                      APP_INPUT:
                        type: string
                        maxLength: 1
                        description: 'Flag: Type of input option for appraisal result  enumValues: ""=Optional entry,D=Required entry,M=No entry'
                        enum:
                        - ''
                        - D
                        - M
                      NO_NOTE:
                        type: string
                        maxLength: 1
                        description: 'Flag: Note cannot be stored  enumValues: ""=Not Selected,X=Selected'
                        enum:
                        - ''
                        - X
                      SCALE_TEXT:
                        type: string
                        maxLength: 40
                        description: Name of Scale
                      APP_STEXT2:
                        type: string
                        maxLength: 80
                        description: Text (80 Characters)
                      NUMBERING:
                        type: string
                        maxLength: 20
                        description: Char 20
                      RATING_TXT:
                        type: string
                        maxLength: 19
                        description: Rating of an Appraisal Element
                      NOTE:
                        type: string
                        maxLength: 1
                        description: 'Flag: Object Has a Note  enumValues: ""=Not Selected,X=Selected'
                        enum:
                        - ''
                        - X
                      COMP:
                        type: string
                        maxLength: 1
                        description: 'Flag: Hidden  enumValues: ""=Not Selected,X=Selected'
                        enum:
                        - ''
                        - X
                      CALC_RESULT:
                        type: integer
                        format: int64
                        description: Result Calculated (= Weighting * Rating)
                      MARK_Y:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                APPRAISEES:
                  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
                      APPRAISAL_ID:
                        type: integer
                        format: int64
                        description: Object ID
                      APPRAISAL_PLANNED:
                        type: string
                        maxLength: 1
                        description: 'Flag: Appraisal in Preparation  enumValues: ""=Not Selected,X=Selected'
                        enum:
                        - ''
                        - X
                      APPRAISAL_ACTIV:
                        type: string
                        maxLength: 1
                        description: 'Flag: Appraisal Being Held  enumValues: ""=Not Selected,X=Selected'
                        enum:
                        - ''
                        - X
                      APPRAISAL_HISTO:
                        type: string
                        maxLength: 1
                        description: 'Flag: Appraisal Completed  enumValues: ""=Not Selected,X=Selected'
                        enum:
                        - ''
                        - X
                      APPRAISAL_APPROVED:
                        type: string
                        maxLength: 1
                        description: 'Flag: Appraisal Approved  enumValues: ""=Not Selected,X=Selected'
                        enum:
                        - ''
                        - X
                      APPRAISAL_REJECTED:
                        type: string
                        maxLength: 1
                        description: 'Flag: Appraisal Rejected  enumValues: ""=Not Selected,X=Selected'
                        enum:
                        - ''
                        - X
                      APPRAISAL_STATUS:
                        type: string
                        maxLength: 25
                        description: Appraisal Status Text
                APPRAISORS:
                  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
                      ABEGDA:
                        type: string
                        format: date
                        description: Earliest appraisal date
                      AENDDA:
                        type: string
                        format: date
                        description: Latest appraisal date
                      ADATE:
                        type: string
                        format: date
                        description: Creation date of appraisal
                      EVALUATION:
                        type: integer
                        format: int64
                        description: Weighting (multisource appraisal)
                      APPRAISAL_PLANNED:
                        type: string
                        maxLength: 1
                        description: 'Flag: Appraisal in Preparation  enumValues: ""=Not Selected,X=Selected'
                        enum:
                        - ''
                        - X
                      APPRAISAL_ACTIV:
                        type: string
                        maxLength: 1
                        description: 'Flag: Appraisal Being Held  enumValues: ""=Not Selected,X=Selected'
                        enum:
                        - ''
                        - X
                      APPRAISAL_HISTO:
                        type: string
                        maxLength: 1
                        description: 'Flag: Appraisal Completed  enumValues: ""=Not Selected,X=Selected'
                        enum:
                        - ''
                        - X
                      APPRAISAL_APPROVED:
                        type: string
                        maxLength: 1
                        description: 'Flag: Appraisal Approved  enumValues: ""=Not Selected,X=Selected'
                        enum:
                        - ''
                        - X
                      APPRAISAL_REJECTED:
                        type: string
                        maxLength: 1
                        description: 'Flag: Appraisal Rejected  enumValues: ""=Not Selected,X=Selected'
                        enum:
                        - ''
                        - X
                      APPRAISAL_STATUS:
                        type: string
                        maxLength: 25
                        description: Appraisal Status Text
                      ANONYMOUS:
                        type: string
                        maxLength: 1
                        description: 'Flag: Anonymous appraiser  enumValues: ""=Not Selected,X=Selected'
                        enum:
                        - ''
                        - X
                      APPRAISAL_ID:
                        type: integer
                        format: int64
                        description: Object ID
                      DYNP_CHANGES:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
              required:
              - PLVAR
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  F12:
                    type: string
                    maxLength: 1
                  F15:
                    type: string
                    maxLength: 1
                  NEW_APPRAISAL_ID:
                    type: integer
                    format: int64
                  APPRAISAL:
                    type: array
                    items:
                      type: object
                      properties:
                        RANK:
                          type: integer
                          format: int64
                          description: Define sorting
                        SLEVL:
                          type: integer
                          format: int64
                          description: Hierarchy level
                        APP_OTYPE:
                          type: string
                          maxLength: 2
                          description: Object Type (Personnel Development)
                        APP_OBJID:
                          type: integer
                          format: int64
                          description: Object ID
                        APP_STEXT:
                          type: string
                          maxLength: 40
                          description: Object Name
                        EVALUAT:
                          type: integer
                          format: int64
                          description: Weighting
                        RATING:
                          type: integer
                          format: int64
                          description: Rating of an Appraisal Element
                        RTEXT:
                          type: string
                          maxLength: 40
                          description: Rating text of an appraisal element
                        NOT_RATED:
                          type: string
                          maxLength: 1
                          description: 'Flag: Without Rating  enumValues: ""=Not Selected,X=Selected'
                          enum:
                          - ''
                          - X
                        PARENT:
                          type: integer
                          format: int64
                          description: Define sorting
                        CHILD:
                          type: integer
                          format: int64
                          description: Define sorting
                        BROTHER:
                          type: integer
                          format: int64
                          description: Define sorting
                        RATING_OPTION:
                          type: string
                          maxLength: 2
                          description: 'ABAP: Selection option (EQ/BT/CP/...)'
                        RATING_NO_INPUT:
                          type: string
                          maxLength: 1
                          description: 'Flag: rating cannot be entered  enumValues: ""=Not Selected,X=Selected'
                          enum:
                          - ''
                          - X
                        SCALE_ID:
                          type: integer
                          format: int64
                          description: Scale ID
                        FUNCNAME:
                          type: string
                          maxLength: 30
                          description: Function module for calculating (partial) appraisal results
                        OBJECTIVE:
                          type: string
                          maxLength: 1
                          description: 'Flag: Can be used for setting objectives  enumValues: ""=Not Selected,X=Selected'
                          enum:
                          - ''
                          - X
                        APP_INPUT:
                          type: string
                          maxLength: 1
                          description: 'Flag: Type of input option for appraisal result  enumValues: ""=Optional entry,D=Required entry,M=No entry'
                          enum:
                          - ''
                          - D
                          - M
                        NO_NOTE:
                          type: string
                          maxLength: 1
                          description: 'Flag: Note cannot be stored  enumValues: ""=Not Selected,X=Selected'
                          enum:
                          - ''
                          - X
                        SCALE_TEXT:
                          type: string
                          maxLength: 40
                          description: Name of Scale
                        APP_STEXT2:
                          type: string
                          maxLength: 80
                          description: Text (80 Characters)
                        NUMBERING:
                          type: string
                          maxLength: 20
                          description: Char 20
                        RATING_TXT:
                          type: string
                          maxLength: 19
                          description: Rating of an Appraisal Element
                        NOTE:
                          type: string
                          maxLength: 1
                          description: 'Flag: Object Has a Note  enumValues: ""=Not Selected,X=Selected'
                          enum:
                          - ''
                          - X
                        COMP:
                          type: string
                          maxLength: 1
                          description: 'Flag: Hidden  enumValues: ""=Not Selected,X=Selected'
                          enum:
                          - ''
                          - X
                        CALC_RESULT:
                          type: integer
                          format: int64
                          description: Result Calculated (= Weighting * Rating)
                        MARK_Y:
                          type: string
                          maxLength: 1
                          description: Single-Character Flag
                  APPRAISEES:
                    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
                        APPRAISAL_ID:
                          type: integer
                          format: int64
                          description: Object ID
                        APPRAISAL_PLANNED:
                          type: string
                          maxLength: 1
                          description: 'Flag: Appraisal in Preparation  enumValues: ""=Not Selected,X=Selected'
                          enum:
                          - ''
                          - X
                        APPRAISAL_ACTIV:
                          type: string
                          maxLength: 1
                          description: 'Flag: Appraisal Being Held  enumValues: ""=Not Selected,X=Selected'
                          enum:
                          - ''
                          - X
                        APPRAISAL_HISTO:
                          type: string
                          maxLength: 1
                          description: 'Flag: Appraisal Completed  enumValues: ""=Not Selected,X=Selected'
                          enum:
                          - ''
                          - X
                        APPRAISAL_APPROVED:
                          type: string
                          maxLength: 1
                          description: 'Flag: Appraisal Approved  enumValues: ""=Not Selected,X=Selected'
                          enum:
                          - ''
                          - X
                        APPRAISAL_REJECTED:
                          type: string
                          maxLength: 1
                          description: 'Flag: Appraisal Rejected  enumValues: ""=Not Selected,X=Selected'
                          enum:
                          - ''
                          - X
                        APPRAISAL_STATUS:
                          type: string
                          maxLength: 25
                          description: Appraisal Status Text
                  APPRAISORS:
                    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
                        ABEGDA:
                          type: string
                          format: date
                          description: Earliest appraisal date
                        AENDDA:
                          type: string
                          format: date
                          description: Latest appraisal date
                        ADATE:
                          type: string
                          format: date
                          description: Creation date of appraisal
                        EVALUATION:
                          type: integer
                          format: int64
                          description: Weighting (multisource appraisal)
                        APPRAISAL_PLANNED:
                          type: string
                          maxLength: 1
                          description: 'Flag: Appraisal in Preparation  enumValues: ""=Not Selected,X=Selected'
                          enum:
                          - ''
                          - X
                        APPRAISAL_ACTIV:
                          type: string
                          maxLength: 1
                          description: 'Flag: Appraisal Being Held  enumValues: ""=Not Selected,X=Selected'
                          enum:
                          - ''
                          - X
                        APPRAISAL_HISTO:
                          type: string
                          maxLength: 1
                          description: 'Flag: Appraisal Completed  enumValues: ""=Not Selected,X=Selected'
                          enum:
                          - ''
                          - X
                        APPRAISAL_APPROVED:
                          type: string
                          maxLength: 1
                          description: 'Flag: Appraisal Approved  enumValues: ""=Not Selected,X=Selected'
                          enum:
                          - ''
                          - X
                        APPRAISAL_REJECTED:
                          type: string
                          maxLength: 1
                          description: 'Flag: Appraisal Rejected  enumValues: ""=Not Selected,X=Selected'
                          enum:
                          - ''
                          - X
                        APPRAISAL_STATUS:
                          type: string
                          maxLength: 25
                          description: Appraisal Status Text
                        ANONYMOUS:
                          type: string
                          maxLength: 1
                          description: 'Flag: Anonymous appraiser  enumValues: ""=Not Selected,X=Selected'
                          enum:
                          - ''
                          - X
                        APPRAISAL_ID:
                          type: integer
                          format: int64
                          description: Object ID
                        DYNP_CHANGES:
                          type: string
                          maxLength: 1
                          description: Single-Character Flag
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
