openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SRM_START_FRAMEWORK_NEWMODE:
    post:
      tags:
      - SRM_CLIENT
      operationId: /rfc/SRM_START_FRAMEWORK_NEWMODE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IM_ACTIVITY:
                  type: string
                  maxLength: 32
                  description: Activity
                IM_CFW_SPS_ID:
                  type: string
                  default: SRMIF_CLIENTFRAME_ID
                  maxLength: 32
                IM_IS_MODEL:
                  type: string
                  default: IF_SRM=>FALSE
                  maxLength: 1
                IM_OPTION_ASYNCHRONOUS:
                  type: string
                  default: IF_SRM=>FALSE
                  maxLength: 1
                IM_OPTION_NAVIGATION:
                  type: string
                  default: IF_SRM=>TRUE
                  maxLength: 1
                  description: With Navigation
                IM_OPTION_ORGANIZER:
                  type: string
                  default: IF_SRM=>TRUE
                  maxLength: 1
                  description: With Organizer
                IM_ORGANIZER_RMS_ID:
                  type: string
                  default: S_RMS_DATA
                  maxLength: 32
                IM_ORGANIZER_SPS_ID:
                  type: string
                  default: SRM_SPS_ORGANIZER
                  maxLength: 32
                IM_PDIR_ID:
                  type: string
                  maxLength: 32
                  description: POID ID
                IM_RMS_ID:
                  type: string
                  description: RMS ID
                IM_SPS_ID:
                  type: string
                  maxLength: 32
                  description: Element Type ID
                IM_SP_POID:
                  type: array
                  items:
                    type: object
                    properties:
                      ID:
                        type: string
                        description: Attribute Value ID
                      VALUE:
                        type: string
                        description: Attribute Value - String
              required:
              - IM_ACTIVITY
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  EX_RESULT_ACTIVITY_STATE:
                    type: integer
                    format: int32
                    description: Result Activity State (->IF_SRM_REQUEST)
                  EX_RESULT_IS_MODEL:
                    type: string
                    maxLength: 1
                  EX_RESULT_RMS_ID:
                    type: string
                    maxLength: 32
                    description: SPS - ID
                  EX_RESULT_SPS_ID:
                    type: string
                    maxLength: 32
                    description: 'Result:'
                  EX_RESULT_SP_POID:
                    type: array
                    items:
                      type: object
                      properties:
                        ID:
                          type: string
                          description: Attribute Value ID
                        VALUE:
                          type: string
                          description: Attribute Value - String
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
