openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RHPA_APP_APPRAISEES_INSERT:
    post:
      tags:
      - RHPA
      operationId: /rfc/RHPA_APP_APPRAISEES_INSERT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                APPRAISAL_ID:
                  type: integer
                  format: int64
                APP_BEGDA:
                  type: string
                  format: date
                  description: Start Date
                APP_ENDDA:
                  type: string
                  format: date
                  description: End Date
                KEEP_LUPD:
                  type: string
                  default: ' '
                  maxLength: 1
                PLVAR:
                  type: string
                  maxLength: 2
                  description: Plan Version
                VTASK:
                  type: string
                  default: D
                  maxLength: 1
                  description: Update (B=Buffer,D=Online,V=Update,S=Sync)
                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
              required:
              - APPRAISAL_ID
              - APP_BEGDA
              - APP_ENDDA
              - PLVAR
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  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
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
