openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SRM_START_FRAMEWORK_RFC2:
    post:
      tags:
      - SRM_CLIENT
      summary: Records Management External Call
      operationId: /rfc/SRM_START_FRAMEWORK_RFC2
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IM_ACTIVITY:
                  type: string
                  maxLength: 32
                IM_AREA:
                  type: string
                  default: S_AREA_RMS
                  maxLength: 32
                  description: Area ID
                IM_IS_MODEL:
                  type: string
                  default: IF_SRM=>FALSE
                  maxLength: 1
                IM_OPTION_NAVIGATION:
                  type: string
                  default: IF_SRM=>TRUE
                  maxLength: 1
                IM_OPTION_ORGANIZER:
                  type: string
                  default: IF_SRM=>TRUE
                  maxLength: 1
                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
                IM_RMS_ID:
                  type: string
                IM_SPS_ID:
                  type: string
                  maxLength: 32
                SP_POID:
                  type: array
                  items:
                    type: object
                    properties:
                      ELEM_NO:
                        type: integer
                        format: int32
                        description: Position
                      NAME:
                        type: string
                        maxLength: 64
                        description: Property Name
                      VALUE:
                        type: string
                        maxLength: 255
                        description: Property Value
              required:
              - IM_ACTIVITY
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  SP_POID:
                    type: array
                    items:
                      type: object
                      properties:
                        ELEM_NO:
                          type: integer
                          format: int32
                          description: Position
                        NAME:
                          type: string
                          maxLength: 64
                          description: Property Name
                        VALUE:
                          type: string
                          maxLength: 255
                          description: Property Value
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
