CreatePage
Creates a new page for the specified section
Stored Procedures Specific Information
Microsoft OneNote allows multiple columns to be used in the Exec query. These columns can typically be used with only = comparison. SectionId and One of either Content or File params are required to execute this procedure.Note: In case of OAuthGrantType=CLIENT, one of userId or groupId must be specified. For example:
EXECUTE CreatePage SectionId = '1-8a84fed0-5381-47f3-89bc-cd16f7a4f06d', File = 'C:\\Users\\Dell\\Desktop\\content.html'
Input
Name | Type | Required | Accepts Input Streams | Description |
SectionId | String | True | False | The id of the page. |
Content | String | False | False | The html content of the page. |
File | String | False | False | The path of the file containing the html content of the page. |
GroupId | String | False | False | The id of the group. |
UserId | String | False | False | The id of the User |
ContentStream | String | False | True | The content as InputStream to be uploaded when File (Path) is not specified |
Result Set Columns
Name | Type | Description |
Id | String | The Id of the created page. |
Status | String | Status of the create page operation. |
Title | String | Title of the page created. |