openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RH_READ_HRS1201:
    post:
      tags:
      - RHWR
      operationId: /rfc/RH_READ_HRS1201
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ACT_OBJID:
                  type: integer
                  format: int64
                ACT_OTYPE:
                  type: string
                  maxLength: 2
                BYPASSING_BUFFER:
                  type: string
                  maxLength: 1
              required:
              - ACT_OBJID
              - ACT_OTYPE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ACT_HRS1201:
                    type: object
                    properties:
                      OTYPE:
                        type: string
                        maxLength: 2
                        description: Standard Object Type
                      OBJID:
                        type: integer
                        format: int64
                        description: Object ID of Standard Object
                      AEDTM:
                        type: string
                        format: date
                        description: Changed on
                      UNAME:
                        type: string
                        maxLength: 12
                        description: User Name
                      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.
