openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RH_GET_ORG_DATA_FOR_SIMULATION:
    post:
      tags:
      - RHWY
      summary: Find Org. Assignment of Organizational Objects for Simulations
      operationId: /rfc/RH_GET_ORG_DATA_FOR_SIMULATION
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ACT_OBJID:
                  type: integer
                  format: int64
                ACT_OTYPE:
                  type: string
                  default: O
                  maxLength: 2
                ACT_PLVAR:
                  type: string
                  maxLength: 2
                RESOLUTION:
                  type: string
                  maxLength: 1
                WEG_ID:
                  type: string
                  default: HRSIM
                  maxLength: 8
                MANAGER_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      RO_OTYPE:
                        type: string
                        maxLength: 2
                        description: Object Type
                      RO_OBJID:
                        type: string
                        maxLength: 45
                        description: Extended Object ID
                      SUB_OTYPE:
                        type: string
                        maxLength: 2
                        description: Object Type
                      SUB_OBJID:
                        type: string
                        maxLength: 45
                        description: Extended Object ID
                      BEGDA:
                        type: string
                        format: date
                        description: Start Date
                      ENDDA:
                        type: string
                        format: date
                        description: End Date
                      HRTIME:
                        type: integer
                        format: int64
                        description: Task Duration in Minutes
                      HRCOST:
                        type: integer
                        format: int64
                        description: Task Costs
                      VPROZT:
                        type: integer
                        format: int64
                        description: Weighting Percentage
                      NEW_FLAG:
                        type: string
                        maxLength: 1
                        description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                        enum:
                        - X
                        - ''
                      DEL_FLAG:
                        type: string
                        maxLength: 1
                        description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                        enum:
                        - X
                        - ''
                      CHN_FLAG:
                        type: string
                        maxLength: 1
                        description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                        enum:
                        - X
                        - ''
                OBJ_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      OTYPE:
                        type: string
                        maxLength: 2
                        description: Object Type
                      OBJID:
                        type: string
                        maxLength: 45
                        description: Extended Object ID
                      BEGDA:
                        type: string
                        format: date
                        description: Start Date
                      ENDDA:
                        type: string
                        format: date
                        description: End Date
                      DESCRIB:
                        type: string
                        maxLength: 40
                        description: Object Name
                      NEW_FLAG:
                        type: string
                        maxLength: 1
                        description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                        enum:
                        - X
                        - ''
                      DEL_FLAG:
                        type: string
                        maxLength: 1
                        description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                        enum:
                        - X
                        - ''
                      CHN_FLAG:
                        type: string
                        maxLength: 1
                        description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                        enum:
                        - X
                        - ''
                REL_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      RO_OTYPE:
                        type: string
                        maxLength: 2
                        description: Object Type
                      RO_OBJID:
                        type: string
                        maxLength: 45
                        description: Extended Object ID
                      SUB_OTYPE:
                        type: string
                        maxLength: 2
                        description: Object Type
                      SUB_OBJID:
                        type: string
                        maxLength: 45
                        description: Extended Object ID
                      BEGDA:
                        type: string
                        format: date
                        description: Start Date
                      ENDDA:
                        type: string
                        format: date
                        description: End Date
                      HRTIME:
                        type: integer
                        format: int64
                        description: Task Duration in Minutes
                      HRCOST:
                        type: integer
                        format: int64
                        description: Task Costs
                      VPROZT:
                        type: integer
                        format: int64
                        description: Weighting Percentage
                      NEW_FLAG:
                        type: string
                        maxLength: 1
                        description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                        enum:
                        - X
                        - ''
                      DEL_FLAG:
                        type: string
                        maxLength: 1
                        description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                        enum:
                        - X
                        - ''
                      CHN_FLAG:
                        type: string
                        maxLength: 1
                        description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                        enum:
                        - X
                        - ''
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  MANAGER_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        RO_OTYPE:
                          type: string
                          maxLength: 2
                          description: Object Type
                        RO_OBJID:
                          type: string
                          maxLength: 45
                          description: Extended Object ID
                        SUB_OTYPE:
                          type: string
                          maxLength: 2
                          description: Object Type
                        SUB_OBJID:
                          type: string
                          maxLength: 45
                          description: Extended Object ID
                        BEGDA:
                          type: string
                          format: date
                          description: Start Date
                        ENDDA:
                          type: string
                          format: date
                          description: End Date
                        HRTIME:
                          type: integer
                          format: int64
                          description: Task Duration in Minutes
                        HRCOST:
                          type: integer
                          format: int64
                          description: Task Costs
                        VPROZT:
                          type: integer
                          format: int64
                          description: Weighting Percentage
                        NEW_FLAG:
                          type: string
                          maxLength: 1
                          description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                          enum:
                          - X
                          - ''
                        DEL_FLAG:
                          type: string
                          maxLength: 1
                          description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                          enum:
                          - X
                          - ''
                        CHN_FLAG:
                          type: string
                          maxLength: 1
                          description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                          enum:
                          - X
                          - ''
                  OBJ_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        OTYPE:
                          type: string
                          maxLength: 2
                          description: Object Type
                        OBJID:
                          type: string
                          maxLength: 45
                          description: Extended Object ID
                        BEGDA:
                          type: string
                          format: date
                          description: Start Date
                        ENDDA:
                          type: string
                          format: date
                          description: End Date
                        DESCRIB:
                          type: string
                          maxLength: 40
                          description: Object Name
                        NEW_FLAG:
                          type: string
                          maxLength: 1
                          description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                          enum:
                          - X
                          - ''
                        DEL_FLAG:
                          type: string
                          maxLength: 1
                          description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                          enum:
                          - X
                          - ''
                        CHN_FLAG:
                          type: string
                          maxLength: 1
                          description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                          enum:
                          - X
                          - ''
                  REL_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        RO_OTYPE:
                          type: string
                          maxLength: 2
                          description: Object Type
                        RO_OBJID:
                          type: string
                          maxLength: 45
                          description: Extended Object ID
                        SUB_OTYPE:
                          type: string
                          maxLength: 2
                          description: Object Type
                        SUB_OBJID:
                          type: string
                          maxLength: 45
                          description: Extended Object ID
                        BEGDA:
                          type: string
                          format: date
                          description: Start Date
                        ENDDA:
                          type: string
                          format: date
                          description: End Date
                        HRTIME:
                          type: integer
                          format: int64
                          description: Task Duration in Minutes
                        HRCOST:
                          type: integer
                          format: int64
                          description: Task Costs
                        VPROZT:
                          type: integer
                          format: int64
                          description: Weighting Percentage
                        NEW_FLAG:
                          type: string
                          maxLength: 1
                          description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                          enum:
                          - X
                          - ''
                        DEL_FLAG:
                          type: string
                          maxLength: 1
                          description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                          enum:
                          - X
                          - ''
                        CHN_FLAG:
                          type: string
                          maxLength: 1
                          description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                          enum:
                          - X
                          - ''
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
