GET restapi/personal/pages/{elementId}/v1
Get a page element by elementId.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| elementId |
The unique identifier of the page element to retrieve |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
PageResponse containing the page data
Itsolutions.Itslearning.Web.RestApi.Personal.Page.Responses.PageResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| ElementId | integer |
None. |
|
| Title | string |
None. |
|
| ContentBlocks | Collection of Itsolutions.Itslearning.Web.RestApi.Personal.Page.Responses.ContentBlock |
None. |
|
| CanEdit | boolean |
None. |
|
| Layout | Itsolutions.Itslearning.Web.RestApi.Personal.Page.Responses.LayoutSchemaType |
None. |
|
| IconUrls | Itsolutions.Itslearning.Web.RestApi.Personal.Page.Responses.PageIconUrls |
None. |
Response Formats
application/json, text/json
Sample:
{
"elementId": 1,
"title": "sample string 2",
"contentBlocks": null,
"canEdit": true,
"layout": "OneColumn",
"iconUrls": {
"expandedIcon": "sample string 1",
"notExpandedIcon": "sample string 2"
}
}
application/xml, text/xml
Sample:
<PageResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Itsolutions.Itslearning.Web.RestApi.Personal.Page.Responses">
<CanEdit>true</CanEdit>
<ContentBlocks i:nil="true" />
<ElementId>1</ElementId>
<IconUrls>
<ExpandedIcon>sample string 1</ExpandedIcon>
<NotExpandedIcon>sample string 2</NotExpandedIcon>
</IconUrls>
<Layout>OneColumn</Layout>
<Title>sample string 2</Title>
</PageResponse>