openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RHPA_APPSCHEMES_APP_READ:
    post:
      tags:
      - RHPA
      operationId: /rfc/RHPA_APPSCHEMES_APP_READ
      requestBody:
        content:
          application/json:
            schema:
              properties:
                BEGDA:
                  type: string
                  format: date
                  default: '19000101'
                  description: Valid From Date
                ENDDA:
                  type: string
                  format: date
                  default: SY-DATUM
                  description: Valid To Date
                WITH_ADD_INFO:
                  type: string
                  default: X
                  maxLength: 1
                WITH_STEXT:
                  type: string
                  default: X
                  maxLength: 1
                APPRAISALS:
                  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: Object Type (Personnel Development)
                      TOBID:
                        type: string
                        maxLength: 45
                        description: ID of Related Object
                      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
                      HISTO:
                        type: string
                        maxLength: 1
                        description: Historical Record Flag
                      ADATA:
                        type: string
                        maxLength: 600
                        description: Additional Relationship Data
                      NOTE:
                        type: string
                        maxLength: 1
                        description: 'Flag: Object Has a Note  enumValues: ""=Not Selected,X=Selected'
                        enum:
                        - ''
                        - X
                      TOTXT:
                        type: string
                        maxLength: 25
                        description: Object Type Text
                      TSHORT:
                        type: string
                        maxLength: 12
                        description: Object Abbreviation
                      TTEXT:
                        type: string
                        maxLength: 40
                        description: Object Name
                      APPRAISAL_RESULT:
                        type: string
                        maxLength: 19
                        description: Final result of appraisal
                      APPRAISAL_RESULT_TEXT:
                        type: string
                        maxLength: 40
                        description: Rating text of an appraisal element
                      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
                      APPRAISAL_NOTE:
                        type: string
                        maxLength: 1
                        description: 'Flag: Object Has a Note  enumValues: ""=Not Selected,X=Selected'
                        enum:
                        - ''
                        - X
                      APPRAISAL_ADATE:
                        type: string
                        format: date
                        description: Creation date of appraisal
                      APPMULTI_SOURCE:
                        type: string
                        maxLength: 1
                        description: 'Flag: Multisource appraisal  enumValues: ""=Not Selected,X=Selected'
                        enum:
                        - ''
                        - X
                APPSCHEMES:
                  type: array
                  items:
                    type: object
                    properties:
                      PLVAR:
                        type: string
                        maxLength: 2
                        description: Plan Version
                      OTYPE:
                        type: string
                        maxLength: 2
                        description: Object Type
                      OBJID:
                        type: integer
                        format: int64
                        description: Object ID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  APPRAISALS:
                    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: Object Type (Personnel Development)
                        TOBID:
                          type: string
                          maxLength: 45
                          description: ID of Related Object
                        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
                        HISTO:
                          type: string
                          maxLength: 1
                          description: Historical Record Flag
                        ADATA:
                          type: string
                          maxLength: 600
                          description: Additional Relationship Data
                        NOTE:
                          type: string
                          maxLength: 1
                          description: 'Flag: Object Has a Note  enumValues: ""=Not Selected,X=Selected'
                          enum:
                          - ''
                          - X
                        TOTXT:
                          type: string
                          maxLength: 25
                          description: Object Type Text
                        TSHORT:
                          type: string
                          maxLength: 12
                          description: Object Abbreviation
                        TTEXT:
                          type: string
                          maxLength: 40
                          description: Object Name
                        APPRAISAL_RESULT:
                          type: string
                          maxLength: 19
                          description: Final result of appraisal
                        APPRAISAL_RESULT_TEXT:
                          type: string
                          maxLength: 40
                          description: Rating text of an appraisal element
                        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
                        APPRAISAL_NOTE:
                          type: string
                          maxLength: 1
                          description: 'Flag: Object Has a Note  enumValues: ""=Not Selected,X=Selected'
                          enum:
                          - ''
                          - X
                        APPRAISAL_ADATE:
                          type: string
                          format: date
                          description: Creation date of appraisal
                        APPMULTI_SOURCE:
                          type: string
                          maxLength: 1
                          description: 'Flag: Multisource appraisal  enumValues: ""=Not Selected,X=Selected'
                          enum:
                          - ''
                          - X
                  APPSCHEMES:
                    type: array
                    items:
                      type: object
                      properties:
                        PLVAR:
                          type: string
                          maxLength: 2
                          description: Plan Version
                        OTYPE:
                          type: string
                          maxLength: 2
                          description: Object Type
                        OBJID:
                          type: integer
                          format: int64
                          description: Object ID
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
