openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/OMS_START_JOB:
    post:
      tags:
      - SEXT
      summary: OMS Function for Accepting a Print Request
      operationId: /rfc/OMS_START_JOB
      requestBody:
        content:
          application/json:
            schema:
              properties:
                FILE:
                  type: string
                  maxLength: 254
                LOMS:
                  type: string
                  maxLength: 6
                OSPRT:
                  type: string
                  maxLength: 50
                RMG_ID:
                  type: string
                  maxLength: 20
                  description: Callback group
                SPOOLPARAMETERS:
                  type: array
                  items:
                    type: object
                    properties:
                      PARAM:
                        type: string
                        maxLength: 16
                        description: Spool parameter name
                      LINE:
                        type: integer
                        format: int64
                        description: Eight-digit numeric value
                      VALUE:
                        type: string
                        maxLength: 200
                        description: Value of spool settings parameter
              required:
              - FILE
              - LOMS
              - OSPRT
              - RMG_ID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  AREACODE:
                    type: integer
                    format: int64
                  CLASSCODE:
                    type: integer
                    format: int64
                  MESSAGE:
                    type: object
                    properties:
                      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
                  TMNID:
                    type: string
                    maxLength: 40
                  SPOOLPARAMETERS:
                    type: array
                    items:
                      type: object
                      properties:
                        PARAM:
                          type: string
                          maxLength: 16
                          description: Spool parameter name
                        LINE:
                          type: integer
                          format: int64
                          description: Eight-digit numeric value
                        VALUE:
                          type: string
                          maxLength: 200
                          description: Value of spool settings parameter
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
