---
title: "DraftSitePagesByObjectId (HubSpot)"
description: "Utkast til nettsider etter objekt-ID"
language: nb
source_language: en
translation_state: pending
canonical: https://documentation.invantive.eu/nb/datamodels/hubspot/Pages.WebsitePages.DraftSitePagesByObjectId
original: https://documentation.invantive.eu/en/datamodels/hubspot/Pages.WebsitePages.DraftSitePagesByObjectId
updated: 2026-12-05T06:41:30Z
license: https://documentation.invantive.eu/nb/
---

# DraftSitePagesByObjectId: HubSpot Site Page Drafts by Object ID

`read only` `REST`

- Katalog: `Pages`
- Skjema: `WebsitePages`
- Label: Site Page Drafts by Object ID

Retrieve a website page draft Retrieve the full draft version of a website page, specified by its ID.

Kan kun hente data.

## API-kilde

- Endepunkt: `/cms/v3/pages/site-pages/{objectId}/draft`
- Operasjon: `get /cms/v3/pages/site-pages/{objectId}/draft`

## Parametere

| Navn | Datatype | Nødvendig | Standard | Dokumentasjon |
|---|---|:---:|---|---|
| `objectId` | `` | [x] |  |  |

## Tabellkolonner

Kolonnene i tabellen `DraftSitePagesByObjectId` vises nedenfor. Hver kolonne har en SQL-datatype. En ny ikke-nullverdi må oppgis for hver nødvendig kolonne til enhver tid under innsetting og oppdatering.

| Navn | Datatype | Etikett | Nødvendig | Karakterer | Dokumentasjon |
|---|---|---|:---:|---|---|
| `abStatus` | `varchar2` | A/B-status | [ ] |  | The status of the AB test associated with this page, if applicable |
| `abTestId` | `varchar2` | A/B-test-ID | [ ] |  | The ID of the AB test associated with this page, if applicable |
| `archivedAt` | `datetime` | Arkivert på | [ ] |  | The timestamp (ISO8601 format) when this page was deleted. |
| `archivedInDashboard` | `char` | Arkivert i Dashboard | [ ] |  | If True, the page will not show up in your dashboard, although the page could still be live. |
| `authorName` | `varchar2` | Forfatternavn | [ ] |  | The name of the user that updated this page. |
| `campaign` | `varchar2` | Kampanje | [ ] |  | The GUID of the marketing campaign this page is a part of. |
| `categoryId` | `int32` | Kategori-ID | [ ] |  | ID of the type of object this is.Should always . |
| `contentGroupId` | `varchar2` | Innholdsgruppens ID | [ ] |  | The unique identifier for the content group associated with the page. |
| `contentTypeCategory` | `varchar2` | Innholdstype Kategori | [ ] |  | An ENUM descibing the type of this object.Should be either LANDING_PAGE or SITE_PAGE. |
| `created` | `datetime` | Opprettet kl. | [ ] |  | The timestamp indicating when the page was created. |
| `createdById` | `varchar2` | Opprettet av ID | [ ] |  | The ID of the user that created this page. |
| `currentlyPublished` | `char` | Nylig utgitt | [ ] |  | Indicates whether the page is currently published. |
| `currentState` | `varchar2` | Nåværende situasjon | [ ] |  | A generated ENUM descibing the current state of this page. |
| `domain` | `varchar2` | Domene | [ ] |  | The domain this page will resolve to.If null, the page will default to the primary domain for this content type. |
| `dynamicPageDataSourceId` | `varchar2` | ID for dynamisk datakilde for siden | [ ] |  | The identifier for the data source used by the dynamic page. |
| `dynamicPageDataSourceType` | `int32` | Datakildetype for dynamiske sider | [ ] |  | The type of data source used by the dynamic page. |
| `dynamicPageHubDbTableId` | `varchar2` | itgen_hubspot_dynamicpagehubdbtableid | [ ] |  | The ID of the HubDB table this page references, if applicable |
| `enableDomainStylesheets` | `char` | Aktiver domenestilark | [ ] |  | Boolean to determine whether or not the styles from the template should be applied. |
| `enableLayoutStylesheets` | `char` | Aktiver layout-stylesheets | [ ] |  | Boolean to determine whether or not the styles from the template should be applied. |
| `featuredImage` | `varchar2` | Utvalgt bilde | [ ] |  | The featuredImage of this page. |
| `featuredImageAltText` | `varchar2` | Alternativ tekst for utvalgt bilde | [ ] |  | Alt Text of the featuredImage. |
| `folderId` | `varchar2` | Mappe-ID | [ ] |  | The ID of the associated folder this landing page is organized under in the app dashboard. |
| `footerHtml` | `varchar2` | Bunntekst (HTML) | [ ] |  | Custom HTML for embed codes, javascript that should be placed before the </body> tag of the page. |
| `headHtml` | `varchar2` | Hode (HTML) | [ ] |  | Custom HTML for embed codes, javascript, etc. that goes in the <head> tag of the page. |
| `htmlTitle` | `varchar2` | Tittel (HTML) | [ ] |  | The html title of this page. |
| `id` | `varchar2` | ID | [ ] |  | The unique ID of the page. |
| `includeDefaultCustomCss` | `char` | Inkluder standard tilpasset CSS | [ ] |  | Boolean to determine whether or not the Primary CSS Files should be applied. |
| `language` | `varchar2` | Språk | [ ] |  | The explicitly defined ISO 639 language code of the page.If null, the page will default to the language of the Domain. |
| `layoutSections` | `varchar2` | Oppsettseksjoner | [ ] |  | A structure detailing the layout sections of the page. |
| `linkRelCanonicalUrl` | `varchar2` | Link Rel Canonical (URL) | [ ] |  | Optional override to set the URL to be used in the rel=canonical link tag on the page. |
| `mabExperimentId` | `varchar2` | MAB-eksperiment-ID | [ ] |  | The ID of the MAB test (or dynamic test) associated with this page, if applicable |
| `metaDescription` | `varchar2` | Metabeskrivelse | [ ] |  | A description that goes in <meta> tag on the page. |
| `name` | `varchar2` | Navn | [ ] |  | The internal name of the page. |
| `pageExpiryDate` | `int64` | Sidens utløpsdato | [ ] |  | The date at which this page should expire and begin redirecting to another url or page. |
| `pageExpiryEnabled` | `char` | Funksjonen for utløp av sider er aktivert | [ ] |  | Boolean describing if the page expiration feature is enabled for this page |
| `pageExpiryRedirectId` | `int64` | ID for viderekobling ved utløp av side | [ ] |  | The ID of another page this page's url should redirect to once this page expires.Should only set this or pageExpiryRedirectUrl. |
| `pageExpiryRedirectUrl` | `varchar2` | Omdirigering ved utløpt side (URL) | [ ] |  | The URL this page's url should redirect to once this page expires.Should only set this or pageExpiryRedirectId. |
| `pageRedirected` | `char` | itgen_hubspot_pageredirected | [ ] |  | A generated Boolean describing whether or not this page is currently expired and being redirected. |
| `password` | `varchar2` | Passord | [ ] |  | Set this to create a password protected page.Entering the password will be required to view the page. |
| `publicAccessRulesEnabled` | `char` | Regler for offentlig tilgang er aktivert | [ ] |  | Boolean to determine whether or not to respect publicAccessRules. |
| `publishDate` | `datetime` | Publiseringsdato | [ ] |  | The date (ISO8601 format) the page is to be published at. |
| `publishImmediately` | `char` | Publiser umiddelbart | [ ] |  | Set this to true if you want to be published immediately when the schedule publish endpoint is called, and to ignore the publish_date setting. |
| `slug` | `varchar2` | Snegle | [ ] |  | The path of the this page.This field is appended to the domain to construct the url of this page. |
| `state` | `varchar2(25)` | Tilstand | [ ] |  | An ENUM descibing the current state of this page. |
| `subcategory` | `varchar2` | Underkategori | [ ] |  | Details the type of page this is.Should always be landing_page or site_page |
| `templatePath` | `varchar2` | itgen_hubspot_templatepath | [ ] |  | String detailing the path of the template used for this page. |
| `themeSettingsValues` | `varchar2` | Verdier for temainnstillinger | [ ] |  | A collection of settings specific to the theme applied to the page. |
| `translatedFromId` | `varchar2` | Oversatt fra ID | [ ] |  | ID of the primary page this object was translated from. |
| `translations` | `varchar2` | Oversettelser | [ ] |  | A map of translations for the page, each associated with a specific language variation. |
| `updated` | `datetime` | Oppdatert kl. | [ ] |  | The timestamp indicating when the page was last updated. |
| `updatedById` | `varchar2` | Oppdatert av ID | [ ] |  | The ID of the user that updated this page. |
| `url` | `varchar2` | URL | [ ] |  | A generated field representing the URL of this page. |
| `useFeaturedImage` | `char` | Bruk utvalgt bilde | [ ] |  | Boolean to determine if this page should use a featuredImage. |
| `widgetContainers` | `varchar2` | Widget-beholdere | [ ] |  | A data structure containing the data for all the modules inside the containers for this page.This will only be populated if the page has widget containers. |
| `widgets` | `varchar2` | Widgets | [ ] |  | A data structure containing the data for all the modules for this page. |


## Utgivelsesmerknader

Hva som har endret seg fra versjon til versjon når det gjelder tabeller, kolonner, attributter og funksjonalitet i driveren:

- [HubSpot](/nb/release-notes/drivers/hubspot)
