openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/HR_EVENT_REQUIRE_SUB_PROFILE:
    post:
      tags:
      - RHPP
      operationId: /rfc/HR_EVENT_REQUIRE_SUB_PROFILE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                BUSINESSOBJECT:
                  type: string
                  maxLength: 10
                LFCOD:
                  type: string
                  maxLength: 4
                OPERATION:
                  type: string
                  maxLength: 4
                PLOG_TAB_RECORD:
                  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
                    VDATA:
                      type: string
                      maxLength: 1000
                      description: Variable Data Field in PLOG File
                    OPERA:
                      type: string
                      maxLength: 1
                      description: Operation Indicator
                    VSIGN:
                      type: string
                      maxLength: 1
                      description: Variable Indicator for Infotype Record
                    PRIMARY_WF:
                      type: string
                      maxLength: 1
                      description: 'Primary Record Indicator for Workflow  enumValues: ""=Not Selected,X=Selected'
                      enum:
                      - ''
                      - X
                    LFCOD:
                      type: string
                      maxLength: 4
                      description: 'Key: Activity'
                AFTER_IMAGE:
                  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
                      VDATA:
                        type: string
                        maxLength: 1000
                        description: Variable Data Field in PLOG File
                BEFORE_IMAGE:
                  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
                      VDATA:
                        type: string
                        maxLength: 1000
                        description: Variable Data Field in PLOG File
                EVENTS_PER_OPERATION:
                  type: array
                  items:
                    type: object
                    properties:
                      EVENT:
                        type: string
                        maxLength: 32
                        description: Event
              required:
              - BUSINESSOBJECT
              - OPERATION
              - PLOG_TAB_RECORD
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  AFTER_IMAGE:
                    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
                        VDATA:
                          type: string
                          maxLength: 1000
                          description: Variable Data Field in PLOG File
                  BEFORE_IMAGE:
                    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
                        VDATA:
                          type: string
                          maxLength: 1000
                          description: Variable Data Field in PLOG File
                  EVENTS_PER_OPERATION:
                    type: array
                    items:
                      type: object
                      properties:
                        EVENT:
                          type: string
                          maxLength: 32
                          description: Event
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
