openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RHPS_APP_SCHEME_OBJ_CREATE:
    post:
      tags:
      - RHPS
      operationId: /rfc/RHPS_APP_SCHEME_OBJ_CREATE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                BEGDA:
                  type: string
                  format: date
                  default: '19000101'
                  description: Start Date
                ENDDA:
                  type: string
                  format: date
                  default: '99991231'
                  description: End Date
                EXT_NUMBER:
                  type: integer
                  format: int64
                  default: 0
                  description: External Number
                INFTY1043:
                  type: object
                  properties:
                    AMETHOD:
                      type: string
                      maxLength: 1
                      description: 'Appraisal procedure  enumValues: ""=Analysis Procedure,X=Ranking Procedure'
                      enum:
                      - ''
                      - X
                    AFORM_ID:
                      type: integer
                      format: int64
                      description: Appraisal form ID
                    AKIND_ID:
                      type: integer
                      format: int64
                      description: 'Appraisal type ID  enumValues: 3=Multisource appraisal,1=Individual appraisal,2=Anonymous individual appraisal,4=Anonymous multisource appraisal'
                      enum:
                      - '3'
                      - '1'
                      - '2'
                      - '4'
                    ANONYMOUS:
                      type: string
                      maxLength: 1
                      description: 'Flag: Anonymous appraiser  enumValues: ""=Not Selected,X=Selected'
                      enum:
                      - ''
                      - X
                    JUST_ONE:
                      type: string
                      maxLength: 1
                      description: 'Flag: Only One Appraisal Allowed  enumValues: ""=Not Selected,X=Selected'
                      enum:
                      - ''
                      - X
                    DELHI:
                      type: string
                      maxLength: 1
                      description: 'Further Processing of Archived Appraisals  enumValues: X=Delete,B=Reset and delete,""=No reset or delete,A=Reset'
                      enum:
                      - X
                      - B
                      - ''
                      - A
                    LAYOUT_DESCRIPT:
                      type: string
                      maxLength: 1
                      description: 'Flag: Sheet will display descriptions  enumValues: D=Description,""=Text,X=Text and Description'
                      enum:
                      - D
                      - ''
                      - X
                    LAYOUT_NOTELINES:
                      type: integer
                      format: int64
                      description: 'Sheet will be formatted with n lines for notes  enumValues: 1='
                      enum:
                      - '1'
                    LAYOUT_CHECKBOX:
                      type: integer
                      format: int64
                      description: 'Display Scale Proficiencies of Quality Scale as Checkbox  enumValues: 1='
                      enum:
                      - '1'
                    APPRAISER_INPUT:
                      type: string
                      maxLength: 1
                      description: 'Flag: Input Option for Appraiser  enumValues: ""=Not ready for input,H=Do not display,X=Ready for input'
                      enum:
                      - ''
                      - H
                      - X
                INFTY1044:
                  type: object
                  properties:
                    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
                INHERITED_1048:
                  type: string
                  default: X
                  maxLength: 1
                LANGU:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                  description: Language
                PLVAR:
                  type: string
                  maxLength: 2
                  description: Plan Version
                STEXT:
                  type: string
                  maxLength: 40
                  description: Description
                VTASK:
                  type: string
                  default: D
                  maxLength: 1
                  description: Update (B=Buffer,D=Online,V=Update,S=Sync)
                DESCR_PT1048:
                  type: array
                  items:
                    type: object
                    properties:
                      TLINE:
                        type: string
                        maxLength: 79
                        description: Line With Length 79 for Infotype 1002
                      RATING:
                        type: integer
                        format: int64
                        description: Proficiency of a Quality Scale
                FB_PT1047:
                  type: array
                  items:
                    type: object
                    properties:
                      FUNCNAME:
                        type: string
                        maxLength: 30
                        description: Function module for follow up processing of an appraisal
                      FUNCKIND:
                        type: string
                        maxLength: 2
                        description: 'Type of Use for Function Module  enumValues: AD=Result - qualification,AA=Result - appraisal model,AT=Further processing of individual or overall appraisal,AS=Further processing of subappraisal,AB=Result - criteria group,AC=Result - criterion,DP=Status (state) management of development plans'
                        enum:
                        - AD
                        - AA
                        - AT
                        - AS
                        - AB
                        - AC
                        - DP
                      FUNCUSER:
                        type: string
                        maxLength: 12
                        description: User Name
                      FUNCDATE:
                        type: string
                        format: date
                        description: Changed on
                PNUM1043:
                  type: array
                  items:
                    type: object
                    properties:
                      SLEVL:
                        type: integer
                        format: int64
                        description: Hierarchy level
                      NUMB_KIND:
                        type: string
                        maxLength: 1
                        description: 'Flag: Type of numbering used for an appraisal level  enumValues: A=Upper-Case Characters (A,B,...Z),a=Lower-Case Characters (a,b,...z),n=Arabic Numerals (1,2,3,...),R=Upper-Case Roman Numerals (I,II,III,...),r=Lower-Case Roman Numerals (i,ii,iii,...)'
                        enum:
                        - A
                        - a
                        - n
                        - R
                        - r
                      SIGN_FIRST:
                        type: string
                        maxLength: 1
                        description: 'Numbering of appraisal element: character placed in front'
                      SIGN_LAST:
                        type: string
                        maxLength: 1
                        description: 'Numbering of appraisal elements: character placed after'
                      NO_LAST:
                        type: string
                        maxLength: 1
                        description: 'Numbering of appraisal elements: don''t set last character'
                PTXT1002:
                  type: array
                  items:
                    type: object
                    properties:
                      TLINE:
                        type: string
                        maxLength: 79
                        description: Line With Length 79 for Infotype 1002
                      TFORMAT:
                        type: string
                        maxLength: 2
                        description: Tag column
              required:
              - PLVAR
              - STEXT
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  OBJID:
                    type: integer
                    format: int64
                    description: Object ID
                  DESCR_PT1048:
                    type: array
                    items:
                      type: object
                      properties:
                        TLINE:
                          type: string
                          maxLength: 79
                          description: Line With Length 79 for Infotype 1002
                        RATING:
                          type: integer
                          format: int64
                          description: Proficiency of a Quality Scale
                  FB_PT1047:
                    type: array
                    items:
                      type: object
                      properties:
                        FUNCNAME:
                          type: string
                          maxLength: 30
                          description: Function module for follow up processing of an appraisal
                        FUNCKIND:
                          type: string
                          maxLength: 2
                          description: 'Type of Use for Function Module  enumValues: AD=Result - qualification,AA=Result - appraisal model,AT=Further processing of individual or overall appraisal,AS=Further processing of subappraisal,AB=Result - criteria group,AC=Result - criterion,DP=Status (state) management of development plans'
                          enum:
                          - AD
                          - AA
                          - AT
                          - AS
                          - AB
                          - AC
                          - DP
                        FUNCUSER:
                          type: string
                          maxLength: 12
                          description: User Name
                        FUNCDATE:
                          type: string
                          format: date
                          description: Changed on
                  PNUM1043:
                    type: array
                    items:
                      type: object
                      properties:
                        SLEVL:
                          type: integer
                          format: int64
                          description: Hierarchy level
                        NUMB_KIND:
                          type: string
                          maxLength: 1
                          description: 'Flag: Type of numbering used for an appraisal level  enumValues: A=Upper-Case Characters (A,B,...Z),a=Lower-Case Characters (a,b,...z),n=Arabic Numerals (1,2,3,...),R=Upper-Case Roman Numerals (I,II,III,...),r=Lower-Case Roman Numerals (i,ii,iii,...)'
                          enum:
                          - A
                          - a
                          - n
                          - R
                          - r
                        SIGN_FIRST:
                          type: string
                          maxLength: 1
                          description: 'Numbering of appraisal element: character placed in front'
                        SIGN_LAST:
                          type: string
                          maxLength: 1
                          description: 'Numbering of appraisal elements: character placed after'
                        NO_LAST:
                          type: string
                          maxLength: 1
                          description: 'Numbering of appraisal elements: don''t set last character'
                  PTXT1002:
                    type: array
                    items:
                      type: object
                      properties:
                        TLINE:
                          type: string
                          maxLength: 79
                          description: Line With Length 79 for Infotype 1002
                        TFORMAT:
                          type: string
                          maxLength: 2
                          description: Tag column
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
