This will copy a single page from one tablet profile to another. A tablet profile is a configuration for a tablet's launcher, which can be shared by many tablets, and each profile has an ordered list of pages.
The source profile is not modified. The page is appended to the target profile's page list. If the page name already exists on the target, (copy) is appended to the name (repeatedly, if needed) until it is unique on the target. If any buttons on the copied page reference apps that are not already in the target profile's apps list, those apps are added to the target with install enabled and no version pinned.
| URL | https://api.telecomx.dk/flexcare/tabletprofile/TABLET_PROFILE_ID/copypage |
| Method | POST |
| Access Level | MANAGER, OWNER, RESELLER if customer has feature FLEXCARE; RESELLER_ADMIN, ADMIN |
Parameters:
| Parameter | Description |
|---|---|
| TABLET_PROFILE_ID | Id of the source tablet profile — the profile the page is copied from (24 hex-char string) |
Body:
| Field | Type | Description |
|---|---|---|
| profileId | String | Id of the target tablet profile — the profile the page is copied to (24 hex-char string). Must be different from TABLET_PROFILE_ID. |
| pageIndex | Integer | Zero-based index of the page in the source profile's pages array to copy. Must be >= 0 and < number of pages on the source. |
https://api.telecomx.dk/flexcare/tabletprofile/60894a2f80515c5918292e31/copypage
{
"profileId": "60894a2f80515c5918292e32",
"pageIndex": 0
}
| Field | Type | Description |
|---|---|---|
| success | Boolean | true when the page was copied to the target profile |
| Error Code | Message | Description |
|---|---|---|
| 400 | pageIndex | Page index out of range for source profile |
| 400 | pages | Target tablet profile already has the maximum of 30 pages |
| 403 | access_denied | Insufficient access level |
| 403 | customer | Customer does not have required feature |
| 404 | id | Source tablet profile not found |
| 404 | profileId | Target tablet profile not found |
| 422 | profileId | Source and target tablet profile must be different; duplicate pages within the same profile on the client |
| 500 | internal_error | <Unspecified> |