openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CRM_IC_SCRIPTING_GET_SURVEY:
    post:
      tags:
      - CRM_IC_SCRIPTING_PERSIST
      summary: Open a scripting object (Survey/Script/Objection Script)
      operationId: /rfc/CRM_IC_SCRIPTING_GET_SURVEY
      requestBody:
        content:
          application/json:
            schema:
              properties:
                LOCKOBJECT:
                  type: string
                  maxLength: 1
                  description: Single-character flag
                OBJECTNAME:
                  type: string
                  maxLength: 32
                  description: XML document name
                OBJECTSDESCRIPTIONS:
                  type: array
                  items:
                    type: object
                    properties:
                      LANGUAGE:
                        type: string
                        maxLength: 2
                        description: Version Number Component
                      DESCRIPTION:
                        type: string
                        maxLength: 64
                        description: Interactive Scripting Object Description
              required:
              - LOCKOBJECT
              - OBJECTNAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  BEGINDATE:
                    type: string
                    format: date
                    description: Date
                  CATEGORYID:
                    type: string
                    maxLength: 32
                    description: Category ID (Interactive Script editor repository)
                  ENDDATE:
                    type: string
                    format: date
                    description: Date
                  LASTCHANGE:
                    type: string
                    maxLength: 12
                    description: User Name
                  LOCKEDBY:
                    type: string
                    maxLength: 12
                    description: User name
                  READONLY:
                    type: string
                    maxLength: 1
                    description: Single-character flag
                  XMLDATA:
                    type: string
                    description: XML Data
                  OBJECTSDESCRIPTIONS:
                    type: array
                    items:
                      type: object
                      properties:
                        LANGUAGE:
                          type: string
                          maxLength: 2
                          description: Version Number Component
                        DESCRIPTION:
                          type: string
                          maxLength: 64
                          description: Interactive Scripting Object Description
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
