openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/GOS_EXECUTE_SERVICE:
    post:
      tags:
      - SGOSITS
      operationId: /rfc/GOS_EXECUTE_SERVICE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IP_NO_COMMIT:
                  type: string
                  maxLength: 1
                IP_POPUP:
                  type: string
                  maxLength: 1
                IP_RWMOD:
                  type: string
                  maxLength: 1
                  description: 'SGOS: Display/Change Mode of Generic Object Services'
                IP_SERVICE:
                  type: string
                  maxLength: 12
                  description: Name of generic service
                IS_OBJECT:
                  type: object
                  properties:
                    OBJKEY:
                      type: string
                      maxLength: 70
                      description: Object key
                    OBJTYPE:
                      type: string
                      maxLength: 10
                      description: Object Type
                    LOGSYS:
                      type: string
                      maxLength: 10
                      description: Logical system
                IT_SERVICE_SELECTION:
                  type: array
                  items:
                    type: object
                    properties:
                      SIGN:
                        type: string
                        maxLength: 1
                        description: Meaning as in SELECT-OPTIONS
                      OPTION:
                        type: string
                        maxLength: 2
                        description: Meaning as in SELECT-OPTIONS
                      LOW:
                        type: string
                        maxLength: 12
                        description: Technical Name of Generic Object Service
                      HIGH:
                        type: string
                        maxLength: 12
                        description: Technical Name of Generic Object Service
              required:
              - IP_NO_COMMIT
              - IP_POPUP
              - IP_SERVICE
              - IS_OBJECT
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  EP_EVENT:
                    type: integer
                    format: int32
                  EP_ICON:
                    type: string
                    maxLength: 30
                    description: Icon for a Generic Object Service
                  EP_STATUS:
                    type: integer
                    format: int32
                    description: 'SGOS: Status of a service object'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
