openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSPO_CALL_OMS_JQUERY:
    post:
      tags:
      - SEXT
      operationId: /rfc/RSPO_CALL_OMS_JQUERY
      requestBody:
        content:
          application/json:
            schema:
              properties:
                JOBS:
                  type: array
                  items:
                    type: object
                    properties:
                      PJIDENT:
                        type: integer
                        format: int32
                        description: Spool request number
                      PJNUMBER:
                        type: integer
                        format: int32
                        description: 'Spool: output request number'
                      JOBID:
                        type: string
                        maxLength: 40
                        description: OMS job ID
                      LOMS:
                        type: string
                        maxLength: 6
                        description: Logical output management system
                      VALID:
                        type: string
                        maxLength: 1
                        description: Validity flag
                      JOBSTATE:
                        type: integer
                        format: int64
                        description: Status code for print requests
                      CLASSCODE:
                        type: integer
                        format: int64
                        description: Error class of event
                      AREACODE:
                        type: integer
                        format: int64
                        description: Area code of event
                      RESULTCODE:
                        type: integer
                        format: int64
                        description: Result code for print requests
                      QUEUEPOS:
                        type: integer
                        format: int64
                        description: Position of print request in queue
                      PPAGES:
                        type: integer
                        format: int64
                        description: Pages of a print request printed
                      WAITTIME:
                        type: integer
                        format: int64
                        description: Estimated wait time for print request (minutes)
                      MSGCLASS:
                        type: string
                        maxLength: 16
                        description: 'XMI logging: company name of external management tool'
                      MSGID:
                        type: string
                        maxLength: 30
                        description: Message ID for an XMI log entry
                      MSGARG1:
                        type: string
                        maxLength: 128
                        description: Argument string for an XMI log
                      ARGTYPE1:
                        type: string
                        maxLength: 1
                        description: 'Argument type of an XMI log entry  enumValues: C=Character string not to be interpreted,U=Date, time from time stamp (UTC),T=Time from time stamp (UTC),D=Date from time stamp (UTC)'
                        enum:
                        - C
                        - U
                        - T
                        - D
                      MSGARG2:
                        type: string
                        maxLength: 128
                        description: Argument string for an XMI log
                      ARGTYPE2:
                        type: string
                        maxLength: 1
                        description: 'Argument type of an XMI log entry  enumValues: C=Character string not to be interpreted,U=Date, time from time stamp (UTC),T=Time from time stamp (UTC),D=Date from time stamp (UTC)'
                        enum:
                        - C
                        - U
                        - T
                        - D
                      MSGARG3:
                        type: string
                        maxLength: 128
                        description: Argument string for an XMI log
                      ARGTYPE3:
                        type: string
                        maxLength: 1
                        description: 'Argument type of an XMI log entry  enumValues: C=Character string not to be interpreted,U=Date, time from time stamp (UTC),T=Time from time stamp (UTC),D=Date from time stamp (UTC)'
                        enum:
                        - C
                        - U
                        - T
                        - D
                      MSGARG4:
                        type: string
                        maxLength: 128
                        description: Argument string for an XMI log
                      ARGTYPE4:
                        type: string
                        maxLength: 1
                        description: 'Argument type of an XMI log entry  enumValues: C=Character string not to be interpreted,U=Date, time from time stamp (UTC),T=Time from time stamp (UTC),D=Date from time stamp (UTC)'
                        enum:
                        - C
                        - U
                        - T
                        - D
                      MSGTEXT:
                        type: string
                        maxLength: 128
                        description: Actual text of message
                      RMGID:
                        type: string
                        maxLength: 20
                        description: Callback group ID for external OMS
                      JOBSIZE:
                        type: integer
                        format: int64
                        description: Size of print request
                      JOBPRIO:
                        type: integer
                        format: int64
                        description: Priority of an OMS print request
                      JOBNAME:
                        type: string
                        maxLength: 105
                        description: Text length 105
                      JOBCOMMENT:
                        type: string
                        maxLength: 105
                        description: Text length 105
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  JOBS:
                    type: array
                    items:
                      type: object
                      properties:
                        PJIDENT:
                          type: integer
                          format: int32
                          description: Spool request number
                        PJNUMBER:
                          type: integer
                          format: int32
                          description: 'Spool: output request number'
                        JOBID:
                          type: string
                          maxLength: 40
                          description: OMS job ID
                        LOMS:
                          type: string
                          maxLength: 6
                          description: Logical output management system
                        VALID:
                          type: string
                          maxLength: 1
                          description: Validity flag
                        JOBSTATE:
                          type: integer
                          format: int64
                          description: Status code for print requests
                        CLASSCODE:
                          type: integer
                          format: int64
                          description: Error class of event
                        AREACODE:
                          type: integer
                          format: int64
                          description: Area code of event
                        RESULTCODE:
                          type: integer
                          format: int64
                          description: Result code for print requests
                        QUEUEPOS:
                          type: integer
                          format: int64
                          description: Position of print request in queue
                        PPAGES:
                          type: integer
                          format: int64
                          description: Pages of a print request printed
                        WAITTIME:
                          type: integer
                          format: int64
                          description: Estimated wait time for print request (minutes)
                        MSGCLASS:
                          type: string
                          maxLength: 16
                          description: 'XMI logging: company name of external management tool'
                        MSGID:
                          type: string
                          maxLength: 30
                          description: Message ID for an XMI log entry
                        MSGARG1:
                          type: string
                          maxLength: 128
                          description: Argument string for an XMI log
                        ARGTYPE1:
                          type: string
                          maxLength: 1
                          description: 'Argument type of an XMI log entry  enumValues: C=Character string not to be interpreted,U=Date, time from time stamp (UTC),T=Time from time stamp (UTC),D=Date from time stamp (UTC)'
                          enum:
                          - C
                          - U
                          - T
                          - D
                        MSGARG2:
                          type: string
                          maxLength: 128
                          description: Argument string for an XMI log
                        ARGTYPE2:
                          type: string
                          maxLength: 1
                          description: 'Argument type of an XMI log entry  enumValues: C=Character string not to be interpreted,U=Date, time from time stamp (UTC),T=Time from time stamp (UTC),D=Date from time stamp (UTC)'
                          enum:
                          - C
                          - U
                          - T
                          - D
                        MSGARG3:
                          type: string
                          maxLength: 128
                          description: Argument string for an XMI log
                        ARGTYPE3:
                          type: string
                          maxLength: 1
                          description: 'Argument type of an XMI log entry  enumValues: C=Character string not to be interpreted,U=Date, time from time stamp (UTC),T=Time from time stamp (UTC),D=Date from time stamp (UTC)'
                          enum:
                          - C
                          - U
                          - T
                          - D
                        MSGARG4:
                          type: string
                          maxLength: 128
                          description: Argument string for an XMI log
                        ARGTYPE4:
                          type: string
                          maxLength: 1
                          description: 'Argument type of an XMI log entry  enumValues: C=Character string not to be interpreted,U=Date, time from time stamp (UTC),T=Time from time stamp (UTC),D=Date from time stamp (UTC)'
                          enum:
                          - C
                          - U
                          - T
                          - D
                        MSGTEXT:
                          type: string
                          maxLength: 128
                          description: Actual text of message
                        RMGID:
                          type: string
                          maxLength: 20
                          description: Callback group ID for external OMS
                        JOBSIZE:
                          type: integer
                          format: int64
                          description: Size of print request
                        JOBPRIO:
                          type: integer
                          format: int64
                          description: Priority of an OMS print request
                        JOBNAME:
                          type: string
                          maxLength: 105
                          description: Text length 105
                        JOBCOMMENT:
                          type: string
                          maxLength: 105
                          description: Text length 105
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
