openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RHPA_APPRAISALS_READ_STATUS:
    post:
      tags:
      - RHPA
      summary: Appraisals - Read Editing Status
      operationId: /rfc/RHPA_APPRAISALS_READ_STATUS
      requestBody:
        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
                      OBJID:
                        type: integer
                        format: int64
                        description: Object ID
                      STEXT:
                        type: string
                        maxLength: 40
                        description: Name of Appraisal
                      ISTAT:
                        type: string
                        maxLength: 1
                        description: Planning Status
                      HISTO:
                        type: string
                        maxLength: 1
                        description: Historical Record Flag
                      ITEXT:
                        type: string
                        maxLength: 25
                        description: Appraisal Status Text
                      APPMULTI_SOURCE:
                        type: string
                        maxLength: 1
                        description: 'Flag: Individual, Overall, or Sub-Appraisal'
                      ATEXT:
                        type: string
                        maxLength: 25
                        description: Individual appraisal, overall appraisal, or subappraisal
                      APP_BEGDA:
                        type: string
                        format: date
                        description: Start date of period to be appraised
                      APP_ENDDA:
                        type: string
                        format: date
                        description: End Date of Period To Be Appraised
                APP_OBJECTS:
                  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
                        OBJID:
                          type: integer
                          format: int64
                          description: Object ID
                        STEXT:
                          type: string
                          maxLength: 40
                          description: Name of Appraisal
                        ISTAT:
                          type: string
                          maxLength: 1
                          description: Planning Status
                        HISTO:
                          type: string
                          maxLength: 1
                          description: Historical Record Flag
                        ITEXT:
                          type: string
                          maxLength: 25
                          description: Appraisal Status Text
                        APPMULTI_SOURCE:
                          type: string
                          maxLength: 1
                          description: 'Flag: Individual, Overall, or Sub-Appraisal'
                        ATEXT:
                          type: string
                          maxLength: 25
                          description: Individual appraisal, overall appraisal, or subappraisal
                        APP_BEGDA:
                          type: string
                          format: date
                          description: Start date of period to be appraised
                        APP_ENDDA:
                          type: string
                          format: date
                          description: End Date of Period To Be Appraised
                  APP_OBJECTS:
                    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.
