openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CRM_IC_SCRIPTING_SAVE_OBJECT:
    post:
      tags:
      - CRM_IC_SCRIPTING_PERSIST
      summary: Get list of XML documents.
      operationId: /rfc/CRM_IC_SCRIPTING_SAVE_OBJECT
      requestBody:
        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
                INACTIVE:
                  type: string
                  default: '  '
                  maxLength: 1
                  description: Script Status
                KEEPLOCK:
                  type: string
                  default: X
                  maxLength: 1
                  description: Keep lock after saveing?
                LANGUAGE:
                  type: string
                  maxLength: 2
                  description: Language Key
                OBJECTNAME:
                  type: string
                  maxLength: 32
                  description: XML document name
                OBJECTTYPE:
                  type: string
                  maxLength: 2
                  description: IS=Regular OS=Objection SU=Survey
                SCRIPT_GROUP:
                  type: string
                  maxLength: 1
                  description: data type script group
                XMLDATA:
                  type: string
                  description: String
                ASSIGN_PROFILES:
                  type: array
                  items:
                    type: object
                    properties:
                      PROFILE:
                        type: string
                        maxLength: 32
                        description: Script Profile Name
                      DATE_FROM:
                        type: string
                        format: date
                        description: Valid from date
                      DATE_TO:
                        type: string
                        format: date
                        description: Valid to date
                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:
              - CATEGORYID
              - KEEPLOCK
              - LANGUAGE
              - OBJECTNAME
              - OBJECTTYPE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ASSIGN_PROFILES:
                    type: array
                    items:
                      type: object
                      properties:
                        PROFILE:
                          type: string
                          maxLength: 32
                          description: Script Profile Name
                        DATE_FROM:
                          type: string
                          format: date
                          description: Valid from date
                        DATE_TO:
                          type: string
                          format: date
                          description: Valid to date
                  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.
