openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RHPA_APPRAISAL_DELETE:
    post:
      tags:
      - RHPA
      operationId: /rfc/RHPA_APPRAISAL_DELETE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                OBJID:
                  type: integer
                  format: int64
                  description: Object ID
                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)
                WITHOUT_BADI:
                  type: string
                  default: ' '
                  maxLength: 1
                DELETED_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
                NOTES_BUFFER:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      PLVAR:
                        type: string
                        maxLength: 2
                        description: Plan Version
                      OTYPE:
                        type: string
                        maxLength: 2
                        description: Object Type
                      OBJID:
                        type: integer
                        format: int64
                        description: Object ID
                      INFTY:
                        type: string
                        maxLength: 4
                        description: Infotype
                      SUBTY:
                        type: string
                        maxLength: 4
                        description: Subtype
                      ISTAT:
                        type: string
                        maxLength: 1
                        description: Planning Status
                      PRIOX:
                        type: string
                        maxLength: 2
                        description: Priority
                      BEGDA:
                        type: string
                        format: date
                        description: Start Date
                      ENDDA:
                        type: string
                        format: date
                        description: End Date
                      VARYF:
                        type: string
                        maxLength: 10
                        description: Variation Field for File PLOG
                      SEQNR:
                        type: integer
                        format: int64
                        description: Number of Infotype Record With Same Key
                      AEDTM:
                        type: string
                        format: date
                        description: Changed on
                      UNAME:
                        type: string
                        maxLength: 12
                        description: User Name
                      REASN:
                        type: string
                        maxLength: 2
                        description: Reason
                      HISTO:
                        type: string
                        maxLength: 1
                        description: Historical Record Flag
                      ITXNR:
                        type: integer
                        format: int64
                        description: Text Module for Infotype
                      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
                      ANONYMOUS:
                        type: string
                        maxLength: 1
                        description: 'Flag: Anonymous appraiser  enumValues: ""=Not Selected,X=Selected'
                        enum:
                        - ''
                        - X
                      APPRAISER:
                        type: string
                        maxLength: 40
                        description: Name or Description of Appraisers
                      TABNR:
                        type: string
                        maxLength: 32
                        description: Reference Number to Table Part
              required:
              - OBJID
              - PLVAR
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  STEXT:
                    type: string
                    maxLength: 40
                    description: Long Text
                  DELETED_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
                  NOTES_BUFFER:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client
                        PLVAR:
                          type: string
                          maxLength: 2
                          description: Plan Version
                        OTYPE:
                          type: string
                          maxLength: 2
                          description: Object Type
                        OBJID:
                          type: integer
                          format: int64
                          description: Object ID
                        INFTY:
                          type: string
                          maxLength: 4
                          description: Infotype
                        SUBTY:
                          type: string
                          maxLength: 4
                          description: Subtype
                        ISTAT:
                          type: string
                          maxLength: 1
                          description: Planning Status
                        PRIOX:
                          type: string
                          maxLength: 2
                          description: Priority
                        BEGDA:
                          type: string
                          format: date
                          description: Start Date
                        ENDDA:
                          type: string
                          format: date
                          description: End Date
                        VARYF:
                          type: string
                          maxLength: 10
                          description: Variation Field for File PLOG
                        SEQNR:
                          type: integer
                          format: int64
                          description: Number of Infotype Record With Same Key
                        AEDTM:
                          type: string
                          format: date
                          description: Changed on
                        UNAME:
                          type: string
                          maxLength: 12
                          description: User Name
                        REASN:
                          type: string
                          maxLength: 2
                          description: Reason
                        HISTO:
                          type: string
                          maxLength: 1
                          description: Historical Record Flag
                        ITXNR:
                          type: integer
                          format: int64
                          description: Text Module for Infotype
                        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
                        ANONYMOUS:
                          type: string
                          maxLength: 1
                          description: 'Flag: Anonymous appraiser  enumValues: ""=Not Selected,X=Selected'
                          enum:
                          - ''
                          - X
                        APPRAISER:
                          type: string
                          maxLength: 40
                          description: Name or Description of Appraisers
                        TABNR:
                          type: string
                          maxLength: 32
                          description: Reference Number to Table Part
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
