openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/S_390_GET_UTILITY_IDS:
    post:
      tags:
      - S390
      summary: Get list of DB2 utility IDs
      operationId: /rfc/S_390_GET_UTILITY_IDS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                RESULTS:
                  type: array
                  items:
                    type: object
                    properties:
                      WEEK:
                        type: integer
                        format: int64
                        description: Week for calendar display of backup scheduling
                      DAYE:
                        type: integer
                        format: int64
                        description: 'Day of the week for DBA action  enumValues: 1=Monday,4=Thursday,5=Friday,7=Sunday,3=Wednesday,2=Tuesday,6=Saturday'
                        enum:
                        - '1'
                        - '4'
                        - '5'
                        - '7'
                        - '3'
                        - '2'
                        - '6'
                      TIMEE:
                        type: string
                        maxLength: 6
                        description: Time (24 hour clock) for DBA action to run
                      BEG:
                        type: string
                        maxLength: 14
                        description: Start of the DBA action
                      FUNCT:
                        type: string
                        maxLength: 3
                        description: Function ID for DBA action
                      SYSID:
                        type: string
                        maxLength: 8
                        description: Name of the SAP System
                      OBJ:
                        type: string
                        maxLength: 16
                        description: Object of DB operation
                      RC:
                        type: integer
                        format: int64
                        description: 'Return code for DBA action  enumValues: 0001=Warning,0002=General error,0000=Everything OK,0003=Detailed error'
                        enum:
                        - '0001'
                        - '0002'
                        - '0000'
                        - '0003'
                      STATE:
                        type: string
                        maxLength: 1
                        description: 'Status of the DBA Action  enumValues: W=Warning,U=Unknown,R=Running,E=Error,P=Planned,S=Success'
                        enum:
                        - W
                        - U
                        - R
                        - E
                        - P
                        - S
                      REQID:
                        type: integer
                        format: int32
                        description: Request ID for Informix onarchive actions
                      ACTID:
                        type: string
                        maxLength: 16
                        description: Name of DBA Log
                      DBSPACESET:
                        type: string
                        maxLength: 18
                        description: Informix dataset name
                      JOBID:
                        type: integer
                        format: int32
                        description: Job ID for Informix archive jobs
                      FDESC:
                        type: string
                        maxLength: 80
                        description: Description of DB Operation
                      UTILID:
                        type: string
                        maxLength: 16
                        description: ''
                UTILID_LIST:
                  type: array
                  items:
                    type: object
                    properties:
                      LUSERID:
                        type: string
                        maxLength: 8
                        description: ''
                      LMEMBER:
                        type: string
                        maxLength: 4
                        description: ''
                      LUTILID:
                        type: string
                        maxLength: 16
                        description: ''
                      LSTATEMENT:
                        type: integer
                        format: int64
                        description: ''
                      LUTILITY:
                        type: string
                        maxLength: 20
                        description: ''
                      LPHASE:
                        type: string
                        maxLength: 20
                        description: ''
                      LCOUNT:
                        type: integer
                        format: int64
                        description: ''
                      LSTATUS:
                        type: string
                        maxLength: 10
                        description: ''
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RESULTS:
                    type: array
                    items:
                      type: object
                      properties:
                        WEEK:
                          type: integer
                          format: int64
                          description: Week for calendar display of backup scheduling
                        DAYE:
                          type: integer
                          format: int64
                          description: 'Day of the week for DBA action  enumValues: 1=Monday,4=Thursday,5=Friday,7=Sunday,3=Wednesday,2=Tuesday,6=Saturday'
                          enum:
                          - '1'
                          - '4'
                          - '5'
                          - '7'
                          - '3'
                          - '2'
                          - '6'
                        TIMEE:
                          type: string
                          maxLength: 6
                          description: Time (24 hour clock) for DBA action to run
                        BEG:
                          type: string
                          maxLength: 14
                          description: Start of the DBA action
                        FUNCT:
                          type: string
                          maxLength: 3
                          description: Function ID for DBA action
                        SYSID:
                          type: string
                          maxLength: 8
                          description: Name of the SAP System
                        OBJ:
                          type: string
                          maxLength: 16
                          description: Object of DB operation
                        RC:
                          type: integer
                          format: int64
                          description: 'Return code for DBA action  enumValues: 0001=Warning,0002=General error,0000=Everything OK,0003=Detailed error'
                          enum:
                          - '0001'
                          - '0002'
                          - '0000'
                          - '0003'
                        STATE:
                          type: string
                          maxLength: 1
                          description: 'Status of the DBA Action  enumValues: W=Warning,U=Unknown,R=Running,E=Error,P=Planned,S=Success'
                          enum:
                          - W
                          - U
                          - R
                          - E
                          - P
                          - S
                        REQID:
                          type: integer
                          format: int32
                          description: Request ID for Informix onarchive actions
                        ACTID:
                          type: string
                          maxLength: 16
                          description: Name of DBA Log
                        DBSPACESET:
                          type: string
                          maxLength: 18
                          description: Informix dataset name
                        JOBID:
                          type: integer
                          format: int32
                          description: Job ID for Informix archive jobs
                        FDESC:
                          type: string
                          maxLength: 80
                          description: Description of DB Operation
                        UTILID:
                          type: string
                          maxLength: 16
                          description: ''
                  UTILID_LIST:
                    type: array
                    items:
                      type: object
                      properties:
                        LUSERID:
                          type: string
                          maxLength: 8
                          description: ''
                        LMEMBER:
                          type: string
                          maxLength: 4
                          description: ''
                        LUTILID:
                          type: string
                          maxLength: 16
                          description: ''
                        LSTATEMENT:
                          type: integer
                          format: int64
                          description: ''
                        LUTILITY:
                          type: string
                          maxLength: 20
                          description: ''
                        LPHASE:
                          type: string
                          maxLength: 20
                          description: ''
                        LCOUNT:
                          type: integer
                          format: int64
                          description: ''
                        LSTATUS:
                          type: string
                          maxLength: 10
                          description: ''
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
