openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSPO_CALL_CUSTOM_002:
    post:
      tags:
      - SPOA
      summary: Auxiliary function for customer exit 002
      operationId: /rfc/RSPO_CALL_CUSTOM_002
      requestBody:
        content:
          application/json:
            schema:
              properties:
                JOBTAB:
                  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'
                      PJCREATIME:
                        type: string
                        maxLength: 16
                        description: Time a spool request was created
                      STARTTIME:
                        type: string
                        maxLength: 16
                        description: System log time stamp
                      PJDEST:
                        type: string
                        maxLength: 4
                        description: 'Spool: Output device'
                      PJPAPER:
                        type: string
                        maxLength: 16
                        description: 'Spool: Format'
                      PRTYPE:
                        type: string
                        maxLength: 8
                        description: 'Spool: Device type name'
                      DESTHOST:
                        type: string
                        maxLength: 64
                        description: Physical host name
                      PRNAME:
                        type: string
                        maxLength: 50
                        description: 'Spool: Long name of printers for host spooler'
                      PJTITLE:
                        type: string
                        maxLength: 68
                        description: Title of a spool request
                      PJSUFFIX0:
                        type: string
                        maxLength: 6
                        description: 'Spool request: Name'
                      PJSUFFIX1:
                        type: string
                        maxLength: 4
                        description: 'Spool request: Suffix 1'
                      PJSUFFIX2:
                        type: string
                        maxLength: 12
                        description: 'Spool request: Suffix 2'
                      PJCOPIES:
                        type: integer
                        format: int32
                        description: Number of copies
                      PJPRIO:
                        type: integer
                        format: int32
                        description: 'Spool: Spool or print request priority  enumValues: 4=4 = medium,7=7 = low,1=1 = very high,9=9 = very low,8=8 = low,6=6 = medium,3=3 = high,5=5 = medium,2=2 = high'
                        enum:
                        - '4'
                        - '7'
                        - '1'
                        - '9'
                        - '8'
                        - '6'
                        - '3'
                        - '5'
                        - '2'
                      PJPAGES:
                        type: integer
                        format: int32
                        description: Number of pages in a spool request
                      PJBYTES:
                        type: integer
                        format: int32
                        description: Print request size
                      PJCLIENT:
                        type: string
                        maxLength: 3
                        description: Client for which object was generated
                      PJRETRIES:
                        type: integer
                        format: int32
                        description: 'Spool: Small counter'
                      PJOWNER:
                        type: string
                        maxLength: 12
                        description: User name
                      PJRECEIVER:
                        type: string
                        maxLength: 12
                        description: 'Spool: Recipient of spool request'
                      PJDIVISION:
                        type: string
                        maxLength: 12
                        description: Department
                      PJTELENUM:
                        type: string
                        maxLength: 30
                        description: Telecommunications partner
                      PJSERVER:
                        type: string
                        maxLength: 20
                        description: Server Name
                      FILLER:
                        type: string
                        maxLength: 6
                        description: Character field of length 6
                      T1:
                        type: string
                        format: byte
                        description: Trace time stamp
                      T2:
                        type: string
                        format: byte
                        description: Trace time stamp
                      T3:
                        type: string
                        format: byte
                        description: Trace time stamp
                      T4:
                        type: string
                        format: byte
                        description: Trace time stamp
                      T5:
                        type: string
                        format: byte
                        description: Trace time stamp
                      T6:
                        type: string
                        format: byte
                        description: Trace time stamp
                      T7:
                        type: string
                        format: byte
                        description: Trace time stamp
                      ENDTIME:
                        type: string
                        maxLength: 16
                        description: System log time stamp
                      STATUS:
                        type: string
                        maxLength: 1
                        description: 'Spool: Output request status'
                      OLDENTRY:
                        type: string
                        maxLength: 1
                        description: Flag if entry was processed
                      PJSAPTITLE:
                        type: string
                        maxLength: 1
                        description: 'Print SAP cover page  enumValues: D=Print SAP cover page as set at printer,X=Always print SAP cover page,""=Do not print SAP cover page'
                        enum:
                        - D
                        - X
                        - ''
                      PJUNXTITLE:
                        type: string
                        maxLength: 1
                        description: 'Print operating system cover page  enumValues: ""=Do not print operating system cover page,D=Print operating system cover page as set at printer,X=Always print operating system cover page'
                        enum:
                        - ''
                        - D
                        - X
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  JOBTAB:
                    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'
                        PJCREATIME:
                          type: string
                          maxLength: 16
                          description: Time a spool request was created
                        STARTTIME:
                          type: string
                          maxLength: 16
                          description: System log time stamp
                        PJDEST:
                          type: string
                          maxLength: 4
                          description: 'Spool: Output device'
                        PJPAPER:
                          type: string
                          maxLength: 16
                          description: 'Spool: Format'
                        PRTYPE:
                          type: string
                          maxLength: 8
                          description: 'Spool: Device type name'
                        DESTHOST:
                          type: string
                          maxLength: 64
                          description: Physical host name
                        PRNAME:
                          type: string
                          maxLength: 50
                          description: 'Spool: Long name of printers for host spooler'
                        PJTITLE:
                          type: string
                          maxLength: 68
                          description: Title of a spool request
                        PJSUFFIX0:
                          type: string
                          maxLength: 6
                          description: 'Spool request: Name'
                        PJSUFFIX1:
                          type: string
                          maxLength: 4
                          description: 'Spool request: Suffix 1'
                        PJSUFFIX2:
                          type: string
                          maxLength: 12
                          description: 'Spool request: Suffix 2'
                        PJCOPIES:
                          type: integer
                          format: int32
                          description: Number of copies
                        PJPRIO:
                          type: integer
                          format: int32
                          description: 'Spool: Spool or print request priority  enumValues: 4=4 = medium,7=7 = low,1=1 = very high,9=9 = very low,8=8 = low,6=6 = medium,3=3 = high,5=5 = medium,2=2 = high'
                          enum:
                          - '4'
                          - '7'
                          - '1'
                          - '9'
                          - '8'
                          - '6'
                          - '3'
                          - '5'
                          - '2'
                        PJPAGES:
                          type: integer
                          format: int32
                          description: Number of pages in a spool request
                        PJBYTES:
                          type: integer
                          format: int32
                          description: Print request size
                        PJCLIENT:
                          type: string
                          maxLength: 3
                          description: Client for which object was generated
                        PJRETRIES:
                          type: integer
                          format: int32
                          description: 'Spool: Small counter'
                        PJOWNER:
                          type: string
                          maxLength: 12
                          description: User name
                        PJRECEIVER:
                          type: string
                          maxLength: 12
                          description: 'Spool: Recipient of spool request'
                        PJDIVISION:
                          type: string
                          maxLength: 12
                          description: Department
                        PJTELENUM:
                          type: string
                          maxLength: 30
                          description: Telecommunications partner
                        PJSERVER:
                          type: string
                          maxLength: 20
                          description: Server Name
                        FILLER:
                          type: string
                          maxLength: 6
                          description: Character field of length 6
                        T1:
                          type: string
                          format: byte
                          description: Trace time stamp
                        T2:
                          type: string
                          format: byte
                          description: Trace time stamp
                        T3:
                          type: string
                          format: byte
                          description: Trace time stamp
                        T4:
                          type: string
                          format: byte
                          description: Trace time stamp
                        T5:
                          type: string
                          format: byte
                          description: Trace time stamp
                        T6:
                          type: string
                          format: byte
                          description: Trace time stamp
                        T7:
                          type: string
                          format: byte
                          description: Trace time stamp
                        ENDTIME:
                          type: string
                          maxLength: 16
                          description: System log time stamp
                        STATUS:
                          type: string
                          maxLength: 1
                          description: 'Spool: Output request status'
                        OLDENTRY:
                          type: string
                          maxLength: 1
                          description: Flag if entry was processed
                        PJSAPTITLE:
                          type: string
                          maxLength: 1
                          description: 'Print SAP cover page  enumValues: D=Print SAP cover page as set at printer,X=Always print SAP cover page,""=Do not print SAP cover page'
                          enum:
                          - D
                          - X
                          - ''
                        PJUNXTITLE:
                          type: string
                          maxLength: 1
                          description: 'Print operating system cover page  enumValues: ""=Do not print operating system cover page,D=Print operating system cover page as set at printer,X=Always print operating system cover page'
                          enum:
                          - ''
                          - D
                          - X
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
