CreatePage
Creates a new page for the specified section
Stored Procedures Specific Information
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 | Description |
SectionId | String | True | The id of the page. |
Content | String | False | The html content of the page. |
File | String | False | The path of the file containing the html content of the page. |
GroupId | String | False | The id of the group. |
UserId | String | False | The id of the User |
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. |