# BeginSession

The sample below reflects a BeginSession request.

    <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:v2="http://www.wolterskluwerfs.com/2014/05/DocServices/V2" xmlns:doc="http://www.wolterskluwerfs.com/Osprey/DocViewerInterface" xmlns:arr="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
     <soap:Header/>
     <soap:Body>
     <v2:BeginSession>
     <!--Optional:-->
     <v2:accountId>?</v2:accountId>
     <!--Optional:-->
     <v2:txn>?</v2:txn>
     <!--Optional:-->
     <v2:docs>
     <!--Zero or more repetitions:-->
     <doc:Document>
     <!--Optional:-->
     <doc:Complete>?</doc:Complete>
     <!--Optional:-->
     <doc:Id>?</doc:Id>
     <!--Optional:-->
     <doc:InstanceDisplayName>?</doc:InstanceDisplayName>
     </doc:Document>
     </v2:docs>
     <!--Optional:-->
     <v2:packages>
     <!--Zero or more repetitions:-->
     <doc:Package>
     <!--Optional:-->
     <doc:Id>?</doc:Id>
     <!--Optional:-->
     <doc:Name>?</doc:Name>
     </doc:Package>
     </v2:packages>
     <!--Optional:-->
     <v2:supplementalREQs>
     <!--Zero or more repetitions:-->
     <doc:SupplementalReqFile>
     <!--Optional:-->
     <doc:DocId>?</doc:DocId>
     <!--Optional:-->
     <doc:ReqData>?</doc:ReqData>
     </doc:SupplementalReqFile>
     </v2:supplementalREQs>
     <!--Optional:-->
     <v2:redirectOnCompletionUrl>?</v2:redirectOnCompletionUrl>
     <!--Optional:-->
     <v2:options>
     <!--Optional:-->
     <doc:AccordionItemBackgroundBrush>?</doc:AccordionItemBackgroundBrush>
     <!--Optional:-->
     <doc:AccordionItemExpandedBackgroundBrush>?</doc:AccordionItemExpandedBackgroundBrush>
     <!--Optional:-->
     <doc:AccordionItemExpandedForegroundBrush>?</doc:AccordionItemExpandedForegroundBrush>
     <!--Optional:-->
     <doc:AccordionItemForegroundBrush>?</doc:AccordionItemForegroundBrush>
     <!--Optional:-->
     <doc:AccordionItemHeaderForegroundBrush>?</doc:AccordionItemHeaderForegroundBrush>
     <!--Optional:-->
     <doc:AdditionalXPaths>
     <!--Zero or more repetitions:-->
     <arr:string>?</arr:string>
     </doc:AdditionalXPaths>
     <!--Optional:-->
     <doc:ButtonBackgroundBrush>?</doc:ButtonBackgroundBrush>
     <!--Optional:-->
     <doc:ButtonForegroundBrush>?</doc:ButtonForegroundBrush>
     <!--Optional:-->
     <doc:ButtonMouseOverBackgroundBrush>?</doc:ButtonMouseOverBackgroundBrush>
     <!--Optional:-->
     <doc:ButtonMousePressBackgroundBrush>?</doc:ButtonMousePressBackgroundBrush>
     <!--Optional:-->
     <doc:ButtonPrimaryBackground1Brush>?</doc:ButtonPrimaryBackground1Brush>
     <!--Optional:-->
     <doc:ButtonPrimaryBackground2Brush>?</doc:ButtonPrimaryBackground2Brush>
     <!--Optional:-->
     <doc:ButtonPrimaryBackgroundHover1Brush>?</doc:ButtonPrimaryBackgroundHover1Brush>
     <!--Optional:-->
     <doc:ButtonPrimaryBackgroundHover2Brush>?</doc:ButtonPrimaryBackgroundHover2Brush>
     <!--Optional:-->
     <doc:ButtonPrimaryBackgroundPress1Brush>?</doc:ButtonPrimaryBackgroundPress1Brush>
     <!--Optional:-->
     <doc:ButtonPrimaryBackgroundPress2Brush>?</doc:ButtonPrimaryBackgroundPress2Brush>
     <!--Optional:-->
     <doc:ButtonPrimaryTextBrush>?</doc:ButtonPrimaryTextBrush>
     <!--Optional:-->
     <doc:ButtonPrimaryTextHoverBrush>?</doc:ButtonPrimaryTextHoverBrush>
     <!--Optional:-->
     <doc:ButtonPrimaryTextPressBrush>?</doc:ButtonPrimaryTextPressBrush>
     <!--Optional:-->
     <doc:ButtonSecondaryBackground1Brush>?</doc:ButtonSecondaryBackground1Brush>
     <!--Optional:-->
     <doc:ButtonSecondaryBackground2Brush>?</doc:ButtonSecondaryBackground2Brush>
     <!--Optional:-->
     <doc:ButtonSecondaryBackgroundHover1Brush>?</doc:ButtonSecondaryBackgroundHover1Brush>
     <!--Optional:-->
     <doc:ButtonSecondaryBackgroundHover2Brush>?</doc:ButtonSecondaryBackgroundHover2Brush>
     <!--Optional:-->
     <doc:ButtonSecondaryBackgroundPress1Brush>?</doc:ButtonSecondaryBackgroundPress1Brush>
     <!--Optional:-->
     <doc:ButtonSecondaryBackgroundPress2Brush>?</doc:ButtonSecondaryBackgroundPress2Brush>
     <!--Optional:-->
     <doc:ButtonSecondaryTextBrush>?</doc:ButtonSecondaryTextBrush>
     <!--Optional:-->
     <doc:ButtonSecondaryTextHoverBrush>?</doc:ButtonSecondaryTextHoverBrush>
     <!--Optional:-->
     <doc:ButtonSecondaryTextPressBrush>?</doc:ButtonSecondaryTextPressBrush>
     <!--Optional:-->
     <doc:ButtonTertiaryBackground1Brush>?</doc:ButtonTertiaryBackground1Brush>
     <!--Optional:-->
     <doc:ButtonTertiaryBackground2Brush>?</doc:ButtonTertiaryBackground2Brush>
     <!--Optional:-->
     <doc:ButtonTertiaryBackgroundHover1Brush>?</doc:ButtonTertiaryBackgroundHover1Brush>
     <!--Optional:-->
     <doc:ButtonTertiaryBackgroundHover2Brush>?</doc:ButtonTertiaryBackgroundHover2Brush>
     <!--Optional:-->
     <doc:ButtonTertiaryBackgroundPress1Brush>?</doc:ButtonTertiaryBackgroundPress1Brush>
     <!--Optional:-->
     <doc:ButtonTertiaryBackgroundPress2Brush>?</doc:ButtonTertiaryBackgroundPress2Brush>
     <!--Optional:-->
     <doc:ButtonTertiaryTextBrush>?</doc:ButtonTertiaryTextBrush>
     <!--Optional:-->
     <doc:ButtonTertiaryTextHoverBrush>?</doc:ButtonTertiaryTextHoverBrush>
     <!--Optional:-->
     <doc:ButtonTertiaryTextPressBrush>?</doc:ButtonTertiaryTextPressBrush>
     <!--Optional:-->
     <doc:ComboBoxBackgroundBrush>?</doc:ComboBoxBackgroundBrush>
     <!--Optional:-->
     <doc:ComboBoxItemBackgroundBrush>?</doc:ComboBoxItemBackgroundBrush>
     <!--Optional:-->
     <doc:ComboBoxItemForegroundBrush>?</doc:ComboBoxItemForegroundBrush>
     <!--Optional:-->
     <doc:ComboBoxItemHighlightedBackgroundBrush>?</doc:ComboBoxItemHighlightedBackgroundBrush>
     <!--Optional:-->
     <doc:ComboBoxItemHighlightedBorderBrush>?</doc:ComboBoxItemHighlightedBorderBrush>
     <!--Optional:-->
     <doc:ComboBoxItemMouseOverBackgroundBrush>?</doc:ComboBoxItemMouseOverBackgroundBrush>
     <!--Optional:-->
     <doc:ComboBoxPopupBorderBrush>?</doc:ComboBoxPopupBorderBrush>
     <!--Optional:-->
     <doc:DocumentDrawerBackgroundBrush>?</doc:DocumentDrawerBackgroundBrush>
     <!--Optional:-->
     <doc:DocumentDrawerDocCountForegroundBrush>?</doc:DocumentDrawerDocCountForegroundBrush>
     <!--Optional:-->
     <doc:DocumentDrawerForegroundBrush>?</doc:DocumentDrawerForegroundBrush>
     <!--Optional:-->
     <doc:DocumentDrawerHeaderForegroundBrush>?</doc:DocumentDrawerHeaderForegroundBrush>
     <!--Optional:-->
     <doc:DocumentDrawerItemBackgroundBrush>?</doc:DocumentDrawerItemBackgroundBrush>
     <!--Optional:-->
     <doc:DocumentDrawerItemForegroundBrush>?</doc:DocumentDrawerItemForegroundBrush>
     <!--Optional:-->
     <doc:DocumentDrawerTabForegroundBrush>?</doc:DocumentDrawerTabForegroundBrush>
     <!--Optional:-->
     <doc:Extension>?</doc:Extension>
     <!--Optional:-->
     <doc:FocusBorderBrush>?</doc:FocusBorderBrush>
     <!--Optional:-->
     <doc:FocusButtonBorderBrush>?</doc:FocusButtonBorderBrush>
     <!--Optional:-->
     <doc:IsCreateDocumentVisible>?</doc:IsCreateDocumentVisible>
     <!--Optional:-->
     <doc:IsCreatePDFVisible>?</doc:IsCreatePDFVisible>
     <!--Optional:-->
     <doc:IsDocDisplayHeaderVisible>?</doc:IsDocDisplayHeaderVisible>
     <!--Optional:-->
     <doc:IsDocOptionsHeaderVisible>?</doc:IsDocOptionsHeaderVisible>
     <!--Optional:-->
     <doc:IsDocumentCompletionEnabled>?</doc:IsDocumentCompletionEnabled>
     <!--Optional:-->
     <doc:IsDocumentDrawerVisible>?</doc:IsDocumentDrawerVisible>
     <!--Optional:-->
     <doc:IsPackageMenuVisible>?</doc:IsPackageMenuVisible>
     <!--Optional:-->
     <doc:IsReadOnly>?</doc:IsReadOnly>
     <!--Optional:-->
     <doc:IsSummaryTrayVisibile>?</doc:IsSummaryTrayVisibile>
     <!--Optional:-->
     <doc:PageBackgroundBrush>?</doc:PageBackgroundBrush>
     <!--Optional:-->
     <doc:SelectedPackage>
     <!--Optional:-->
     <doc:Id>?</doc:Id>
     <!--Optional:-->
     <doc:Name>?</doc:Name>
     </doc:SelectedPackage>
     <!--Optional:-->
     <doc:SmallIconBackgroundFillBrush>?</doc:SmallIconBackgroundFillBrush>
     <!--Optional:-->
     <doc:SummaryTraySliderBrush>?</doc:SummaryTraySliderBrush>
     <!--Optional:-->
     <doc:SummaryTraySliderForegroundBrush>?</doc:SummaryTraySliderForegroundBrush>
     <!--Optional:-->
     <doc:TextForegroundBrush>?</doc:TextForegroundBrush>
     <!--Optional:-->
     <doc:TitleTextForegroundBrush>?</doc:TitleTextForegroundBrush>
     </v2:options>
     <!--Optional:-->
     <v2:dictInfo>
     <!--Optional:-->
     <doc:OverlayDictionaryName>?</doc:OverlayDictionaryName>
     <!--Optional:-->
     <doc:PrecedenceLevel>?</doc:PrecedenceLevel>
     </v2:dictInfo>
     <!--Optional:-->
     <v2:docOrder>
     <!--Zero or more repetitions:-->
     <arr:string>?</arr:string>
     </v2:docOrder>
     </v2:BeginSession>
     </soap:Body>
    </soap:Envelope>