openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RH_HRP1201_BUFFER_UPDATE:
    post:
      tags:
      - RHWP
      operationId: /rfc/RH_HRP1201_BUFFER_UPDATE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ACT_BEGDA:
                  type: string
                  format: date
                ACT_ENDDA:
                  type: string
                  format: date
                ACT_FCODE:
                  type: string
                  maxLength: 20
                ACT_ISTAT:
                  type: string
                  maxLength: 1
                ACT_OBJID:
                  type: integer
                  format: int64
                ACT_OTYPE:
                  type: string
                  maxLength: 2
                ACT_PLVAR:
                  type: string
                  maxLength: 2
                ACT_P1201:
                  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
                      SWOTP:
                        type: string
                        maxLength: 10
                        description: Object Type
                      SWMTD:
                        type: string
                        maxLength: 32
                        description: Method
                      CLSNAM:
                        type: string
                        maxLength: 32
                        description: Object Type
                      CLSMET:
                        type: string
                        maxLength: 32
                        description: 'Workflow: Method Name'
                      METHTYPE:
                        type: string
                        maxLength: 2
                        description: 'Object Category  enumValues: BO=BOR Object Type,CL=ABAP Class'
                        enum:
                        - BO
                        - CL
                      BACKGROUND:
                        type: string
                        maxLength: 1
                        description: 'Background Processing  enumValues: ""=Not Selected,X=Selected'
                        enum:
                        - ''
                        - X
                      CONFIRMTSK:
                        type: string
                        maxLength: 1
                        description: 'Confirm End of Processing  enumValues: ""=Not Selected,X=Selected'
                        enum:
                        - ''
                        - X
                      SYNCHRON:
                        type: string
                        maxLength: 1
                        description: 'Synchronous Object Method  enumValues: ""=Not Selected,X=Selected'
                        enum:
                        - ''
                        - X
                      TTYPE:
                        type: string
                        maxLength: 1
                        description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                        enum:
                        - X
                        - ''
                      GENERATED:
                        type: string
                        maxLength: 1
                        description: 'Indicator: Entry Generated  enumValues: ""=Not Selected,X=Selected'
                        enum:
                        - ''
                        - X
                      ACTOR_FLAG:
                        type: string
                        maxLength: 1
                        description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                        enum:
                        - X
                        - ''
                      TSKRELSTAT:
                        type: string
                        maxLength: 1
                        description: 'Release Status of Task  enumValues: M=Modeled,O=Obsolete,R=Released,I=Implemented,""=Not defined'
                        enum:
                        - M
                        - O
                        - R
                        - I
                        - ''
                      PHONE_ABLE:
                        type: string
                        maxLength: 1
                        description: 'SAPphone: Flag ''Suitable for SAPphone'' (4 values''´)  enumValues: O=Suitable for SAPphone (outgoing),""=Not suitable for SAPphone,A=Suitable for SAPphone (incoming and outgoing),I=Suitable for SAPphone (incoming)'
                        enum:
                        - O
                        - ''
                        - A
                        - I
                      TCODE:
                        type: string
                        maxLength: 20
                        description: Transaction for starting/executing task on WWW
                      WEB_ABLE:
                        type: string
                        maxLength: 1
                        description: 'Flag: Task can be executed on Internet  enumValues: ""=Not Selected,X=Selected'
                        enum:
                        - ''
                        - X
                      FORM_ABLE:
                        type: string
                        maxLength: 1
                        description: 'Indicator: Task Executable with SAPforms Form  enumValues: ""=Not Selected,X=Selected'
                        enum:
                        - ''
                        - X
              required:
              - ACT_BEGDA
              - ACT_ENDDA
              - ACT_FCODE
              - ACT_ISTAT
              - ACT_OBJID
              - ACT_OTYPE
              - ACT_PLVAR
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ACT_P1201:
                    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
                        SWOTP:
                          type: string
                          maxLength: 10
                          description: Object Type
                        SWMTD:
                          type: string
                          maxLength: 32
                          description: Method
                        CLSNAM:
                          type: string
                          maxLength: 32
                          description: Object Type
                        CLSMET:
                          type: string
                          maxLength: 32
                          description: 'Workflow: Method Name'
                        METHTYPE:
                          type: string
                          maxLength: 2
                          description: 'Object Category  enumValues: BO=BOR Object Type,CL=ABAP Class'
                          enum:
                          - BO
                          - CL
                        BACKGROUND:
                          type: string
                          maxLength: 1
                          description: 'Background Processing  enumValues: ""=Not Selected,X=Selected'
                          enum:
                          - ''
                          - X
                        CONFIRMTSK:
                          type: string
                          maxLength: 1
                          description: 'Confirm End of Processing  enumValues: ""=Not Selected,X=Selected'
                          enum:
                          - ''
                          - X
                        SYNCHRON:
                          type: string
                          maxLength: 1
                          description: 'Synchronous Object Method  enumValues: ""=Not Selected,X=Selected'
                          enum:
                          - ''
                          - X
                        TTYPE:
                          type: string
                          maxLength: 1
                          description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                          enum:
                          - X
                          - ''
                        GENERATED:
                          type: string
                          maxLength: 1
                          description: 'Indicator: Entry Generated  enumValues: ""=Not Selected,X=Selected'
                          enum:
                          - ''
                          - X
                        ACTOR_FLAG:
                          type: string
                          maxLength: 1
                          description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                          enum:
                          - X
                          - ''
                        TSKRELSTAT:
                          type: string
                          maxLength: 1
                          description: 'Release Status of Task  enumValues: M=Modeled,O=Obsolete,R=Released,I=Implemented,""=Not defined'
                          enum:
                          - M
                          - O
                          - R
                          - I
                          - ''
                        PHONE_ABLE:
                          type: string
                          maxLength: 1
                          description: 'SAPphone: Flag ''Suitable for SAPphone'' (4 values''´)  enumValues: O=Suitable for SAPphone (outgoing),""=Not suitable for SAPphone,A=Suitable for SAPphone (incoming and outgoing),I=Suitable for SAPphone (incoming)'
                          enum:
                          - O
                          - ''
                          - A
                          - I
                        TCODE:
                          type: string
                          maxLength: 20
                          description: Transaction for starting/executing task on WWW
                        WEB_ABLE:
                          type: string
                          maxLength: 1
                          description: 'Flag: Task can be executed on Internet  enumValues: ""=Not Selected,X=Selected'
                          enum:
                          - ''
                          - X
                        FORM_ABLE:
                          type: string
                          maxLength: 1
                          description: 'Indicator: Task Executable with SAPforms Form  enumValues: ""=Not Selected,X=Selected'
                          enum:
                          - ''
                          - X
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
