openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSWR_TEMPLATE_PROCESS:
    post:
      tags:
      - RSWRTEMPLATE
      operationId: /rfc/RSWR_TEMPLATE_PROCESS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_ACTION:
                  type: string
                I_OBJID:
                  type: string
                  maxLength: 30
                I_OBJTYPE:
                  type: string
                  maxLength: 4
                I_TEMPLATE_SOURCE:
                  type: string
                I_T_OBJECT_IDS:
                  type: array
                  items:
                    type: object
                    properties:
                      OBJID:
                        type: string
                        maxLength: 30
                        description: Technical Name of a Template
                      OBJTYPE:
                        type: string
                        maxLength: 4
                        description: 'Object Services: Object Type'
                I_T_PARAMETER_BAG:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 30
                        description: Name for WWW query string name/value pair
                      VALUE:
                        type: string
                        maxLength: 250
                        description: Value for WWW query string name/value pair
              required:
              - I_ACTION
              - I_OBJID
              - I_OBJTYPE
              - I_TEMPLATE_SOURCE
              - I_T_OBJECT_IDS
              - I_T_PARAMETER_BAG
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_LAUNCH_URL:
                    type: string
                  E_SUBRC:
                    type: integer
                    format: int32
                  E_TEMPLATE_RESULT:
                    type: string
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
