Open Notebook

URL:
https://<notebookserveradmin>/notebooks/openNotebook
Methods:
POST
Required Capability:
Administrator or Create and Edit
Version Introduced:
10.7

Description

The openNotebook operation moves a notebook into active status in a container. The operation request can enclose any unique notebook ID; you can specify the ID of an existing notebook to open it, or leave all ID fields blank to create and open a new notebook.

Request parameters

ParameterDetails

itemId

The portal item ID of the notebook you want to open. This is required if templateId or templateNotebook is not provided.

templateId

The itemId value of an Esri Sample Notebook. This is used when creating a notebook from an Esri Sample Notebook.

notebookRuntimeId

The ID of the notebook runtime (Standard, Advanced, or Custom) to be used when opening a notebook.

templateNotebook

The notebook JSON. This is used when saving an existing notebook as a new notebook and when opening the new notebook item.

f

The response format. The default response format is html .

Values: html | json | pjson

JSON Response syntax

Use dark colors for code blocksCopy
1
2
3
4
5
{
  "jobId": "jobId",
  "jobUrl": "jobUrl",
  "status": "success|failure"
}

JSON Response example

Use dark colors for code blocksCopy
1
2
3
4
5
{
  "jobId": "jf9322f05-6b31-4bdd-8d42-be471fe904eb",
  "jobUrl": "https://mserver.domain.com/notebookserver/admin/system/jobs/jf9322f05-6b31-4bdd-8d42-be471fe904eb",
  "status": "success"
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.