openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CRM_IC_SCRIPTING_OPEN_LABEL:
    post:
      tags:
      - CRM_IC_SCRIPTING_PERSIST
      summary: Open a label
      operationId: /rfc/CRM_IC_SCRIPTING_OPEN_LABEL
      requestBody:
        content:
          application/json:
            schema:
              properties:
                LABELID:
                  type: string
                  maxLength: 32
                  description: Label ID (Interactive Script Editor)
                LOCKOBJECT:
                  type: string
                  maxLength: 1
                  description: Single-character flag
                LABELSTABLE:
                  type: array
                  items:
                    type: object
                    properties:
                      LABELID:
                        type: string
                        maxLength: 32
                        description: Label ID (Interactive Script Editor)
                      CATEGORYID:
                        type: string
                        maxLength: 32
                        description: Category ID (Interactive Script Editor Repository)
                      LANGUAGE:
                        type: string
                        maxLength: 2
                        description: Version Number Component
                      DESCRIPTION:
                        type: string
                        maxLength: 64
                        description: Label Description (Interactive Script Editor)
                      CATDESCRIPTION:
                        type: string
                        maxLength: 64
                        description: Category Description (Interactive Scripting)
                      LABELTYPE:
                        type: string
                        maxLength: 1
                        description: 'Scripting Label Type (Overview, Link, Chapter)  enumValues: C=Chapter,L=Link label,O=Overview item'
                        enum:
                        - C
                        - L
                        - O
              required:
              - LABELID
              - LOCKOBJECT
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  LOCKEDBY:
                    type: string
                    maxLength: 12
                    description: User name
                  READONLY:
                    type: string
                    maxLength: 1
                    description: Read only flag
                  LABELSTABLE:
                    type: array
                    items:
                      type: object
                      properties:
                        LABELID:
                          type: string
                          maxLength: 32
                          description: Label ID (Interactive Script Editor)
                        CATEGORYID:
                          type: string
                          maxLength: 32
                          description: Category ID (Interactive Script Editor Repository)
                        LANGUAGE:
                          type: string
                          maxLength: 2
                          description: Version Number Component
                        DESCRIPTION:
                          type: string
                          maxLength: 64
                          description: Label Description (Interactive Script Editor)
                        CATDESCRIPTION:
                          type: string
                          maxLength: 64
                          description: Category Description (Interactive Scripting)
                        LABELTYPE:
                          type: string
                          maxLength: 1
                          description: 'Scripting Label Type (Overview, Link, Chapter)  enumValues: C=Chapter,L=Link label,O=Overview item'
                          enum:
                          - C
                          - L
                          - O
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
