POST api/TimberTheme/AutoCreateTimberThemes
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
TimberThemeMainViewModelName | Description | Type | Additional information |
---|---|---|---|
TimberThemes | Collection of TimberThemeViewModel |
None. |
|
SelectedTimberThemeIndex | integer |
None. |
|
SelectedTimberTheme | TimberThemeDetailViewModel |
None. |
|
Success | boolean |
None. |
|
Message | string |
None. |
|
UniqueId | globally unique identifier |
None. |
|
DeleteAll | boolean |
None. |
|
NewTimberTheme | TimberThemeViewModel |
None. |
|
ExportText | string |
None. |
|
FileName | string |
None. |
|
Path | string |
None. |
|
ExportViewModel | ExportViewModel |
None. |
|
WindowLock | LockInformationModel |
None. |
Response Formats
application/json, text/json
Sample:
{ "timberThemes": [ { "index": 1, "uniqueId": "16460e6b-556c-4e18-a7bf-fe9e158fd320", "themeName": "sample string 3", "themeMask": 4.0, "inclusive": true, "available": [ { "name": "sample string 1", "bit": 2.0, "uniqueId": "dd4fe98e-f4d5-4a8b-860b-ed396194d324" }, { "name": "sample string 1", "bit": 2.0, "uniqueId": "dd4fe98e-f4d5-4a8b-860b-ed396194d324" } ], "included": [ { "name": "sample string 1", "bit": 2.0, "uniqueId": "dd4fe98e-f4d5-4a8b-860b-ed396194d324" }, { "name": "sample string 1", "bit": 2.0, "uniqueId": "dd4fe98e-f4d5-4a8b-860b-ed396194d324" } ] }, { "index": 1, "uniqueId": "16460e6b-556c-4e18-a7bf-fe9e158fd320", "themeName": "sample string 3", "themeMask": 4.0, "inclusive": true, "available": [ { "name": "sample string 1", "bit": 2.0, "uniqueId": "dd4fe98e-f4d5-4a8b-860b-ed396194d324" }, { "name": "sample string 1", "bit": 2.0, "uniqueId": "dd4fe98e-f4d5-4a8b-860b-ed396194d324" } ], "included": [ { "name": "sample string 1", "bit": 2.0, "uniqueId": "dd4fe98e-f4d5-4a8b-860b-ed396194d324" }, { "name": "sample string 1", "bit": 2.0, "uniqueId": "dd4fe98e-f4d5-4a8b-860b-ed396194d324" } ] } ], "selectedTimberThemeIndex": 1, "selectedTimberTheme": { "themeName": "sample string 1", "inclusive": true, "available": [ { "name": "sample string 1", "bit": 2.0, "uniqueId": "dd4fe98e-f4d5-4a8b-860b-ed396194d324" }, { "name": "sample string 1", "bit": 2.0, "uniqueId": "dd4fe98e-f4d5-4a8b-860b-ed396194d324" } ], "included": [ { "name": "sample string 1", "bit": 2.0, "uniqueId": "dd4fe98e-f4d5-4a8b-860b-ed396194d324" }, { "name": "sample string 1", "bit": 2.0, "uniqueId": "dd4fe98e-f4d5-4a8b-860b-ed396194d324" } ] }, "success": true, "message": "sample string 3", "uniqueId": "04f1451e-efe3-4246-a397-51adcb596871", "deleteAll": true, "newTimberTheme": { "index": 1, "uniqueId": "16460e6b-556c-4e18-a7bf-fe9e158fd320", "themeName": "sample string 3", "themeMask": 4.0, "inclusive": true, "available": [ { "name": "sample string 1", "bit": 2.0, "uniqueId": "dd4fe98e-f4d5-4a8b-860b-ed396194d324" }, { "name": "sample string 1", "bit": 2.0, "uniqueId": "dd4fe98e-f4d5-4a8b-860b-ed396194d324" } ], "included": [ { "name": "sample string 1", "bit": 2.0, "uniqueId": "dd4fe98e-f4d5-4a8b-860b-ed396194d324" }, { "name": "sample string 1", "bit": 2.0, "uniqueId": "dd4fe98e-f4d5-4a8b-860b-ed396194d324" } ] }, "exportText": "sample string 6", "fileName": "sample string 7", "path": "sample string 8", "exportViewModel": { "success": true, "message": "sample string 2", "path": "sample string 3", "fileName": "sample string 4", "fileData": null, "fileContent": "sample string 5", "sequenceFileContent": "sample string 6", "sequenceFilePath": "sample string 7", "sequenceFileName": "sample string 8", "postProcessCL": "sample string 9", "postProcessCLPath": "sample string 10", "postProcessArgument": "sample string 11", "oneSavePrompt": true, "dockSawFiles": [ { "fileContent": "sample string 1", "filePath": "sample string 2", "fileName": "sample string 3", "fileExtension": "sample string 4" }, { "fileContent": "sample string 1", "filePath": "sample string 2", "fileName": "sample string 3", "fileExtension": "sample string 4" } ], "exportFilesPerPc": [ { "fileContent": "sample string 1", "filePath": "sample string 2", "fileName": "sample string 3", "fileExtension": "sample string 4" }, { "fileContent": "sample string 1", "filePath": "sample string 2", "fileName": "sample string 3", "fileExtension": "sample string 4" } ], "pageContentList": [ { "id": 1, "reportContent": "sample string 2", "pageNumber": 3, "reportName": "sample string 4", "pageFormat": "sample string 5", "pageOrientation": 6, "copies": 7 }, { "id": 1, "reportContent": "sample string 2", "pageNumber": 3, "reportName": "sample string 4", "pageFormat": "sample string 5", "pageOrientation": 6, "copies": 7 } ] }, "windowLock": { "isLocked": true, "lockedBy": "sample string 2" } }
application/xml, text/xml
Sample:
<TimberThemeMainViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StairBiz.Contracts.ViewModels"> <DeleteAll>true</DeleteAll> <ExportText>sample string 6</ExportText> <ExportViewModel> <DockSawFiles> <ExportFileViewModel> <FileContent>sample string 1</FileContent> <FileExtension>sample string 4</FileExtension> <FileName>sample string 3</FileName> <FilePath>sample string 2</FilePath> </ExportFileViewModel> <ExportFileViewModel> <FileContent>sample string 1</FileContent> <FileExtension>sample string 4</FileExtension> <FileName>sample string 3</FileName> <FilePath>sample string 2</FilePath> </ExportFileViewModel> </DockSawFiles> <ExportFilesPerPc> <ExportFileViewModel> <FileContent>sample string 1</FileContent> <FileExtension>sample string 4</FileExtension> <FileName>sample string 3</FileName> <FilePath>sample string 2</FilePath> </ExportFileViewModel> <ExportFileViewModel> <FileContent>sample string 1</FileContent> <FileExtension>sample string 4</FileExtension> <FileName>sample string 3</FileName> <FilePath>sample string 2</FilePath> </ExportFileViewModel> </ExportFilesPerPc> <FileContent>sample string 5</FileContent> <FileData xmlns:d3p1="http://schemas.datacontract.org/2004/07/System.IO" i:nil="true" /> <FileName>sample string 4</FileName> <Message>sample string 2</Message> <OneSavePrompt>true</OneSavePrompt> <PageContentList> <PageContentViewModel> <Copies>7</Copies> <Id>1</Id> <PageFormat>sample string 5</PageFormat> <PageNumber>3</PageNumber> <PageOrientation>6</PageOrientation> <ReportContent>sample string 2</ReportContent> <ReportName>sample string 4</ReportName> </PageContentViewModel> <PageContentViewModel> <Copies>7</Copies> <Id>1</Id> <PageFormat>sample string 5</PageFormat> <PageNumber>3</PageNumber> <PageOrientation>6</PageOrientation> <ReportContent>sample string 2</ReportContent> <ReportName>sample string 4</ReportName> </PageContentViewModel> </PageContentList> <Path>sample string 3</Path> <PostProcessArgument>sample string 11</PostProcessArgument> <PostProcessCL>sample string 9</PostProcessCL> <PostProcessCLPath>sample string 10</PostProcessCLPath> <SequenceFileContent>sample string 6</SequenceFileContent> <SequenceFileName>sample string 8</SequenceFileName> <SequenceFilePath>sample string 7</SequenceFilePath> <Success>true</Success> </ExportViewModel> <FileName>sample string 7</FileName> <Message>sample string 3</Message> <NewTimberTheme> <Available> <TimberInThemeViewModel> <Bit>2</Bit> <Name>sample string 1</Name> <UniqueId>dd4fe98e-f4d5-4a8b-860b-ed396194d324</UniqueId> </TimberInThemeViewModel> <TimberInThemeViewModel> <Bit>2</Bit> <Name>sample string 1</Name> <UniqueId>dd4fe98e-f4d5-4a8b-860b-ed396194d324</UniqueId> </TimberInThemeViewModel> </Available> <Included> <TimberInThemeViewModel> <Bit>2</Bit> <Name>sample string 1</Name> <UniqueId>dd4fe98e-f4d5-4a8b-860b-ed396194d324</UniqueId> </TimberInThemeViewModel> <TimberInThemeViewModel> <Bit>2</Bit> <Name>sample string 1</Name> <UniqueId>dd4fe98e-f4d5-4a8b-860b-ed396194d324</UniqueId> </TimberInThemeViewModel> </Included> <Inclusive>true</Inclusive> <Index>1</Index> <ThemeMask>4</ThemeMask> <ThemeName>sample string 3</ThemeName> <UniqueId>16460e6b-556c-4e18-a7bf-fe9e158fd320</UniqueId> </NewTimberTheme> <Path>sample string 8</Path> <SelectedTimberTheme> <Available> <TimberInThemeViewModel> <Bit>2</Bit> <Name>sample string 1</Name> <UniqueId>dd4fe98e-f4d5-4a8b-860b-ed396194d324</UniqueId> </TimberInThemeViewModel> <TimberInThemeViewModel> <Bit>2</Bit> <Name>sample string 1</Name> <UniqueId>dd4fe98e-f4d5-4a8b-860b-ed396194d324</UniqueId> </TimberInThemeViewModel> </Available> <Included> <TimberInThemeViewModel> <Bit>2</Bit> <Name>sample string 1</Name> <UniqueId>dd4fe98e-f4d5-4a8b-860b-ed396194d324</UniqueId> </TimberInThemeViewModel> <TimberInThemeViewModel> <Bit>2</Bit> <Name>sample string 1</Name> <UniqueId>dd4fe98e-f4d5-4a8b-860b-ed396194d324</UniqueId> </TimberInThemeViewModel> </Included> <Inclusive>true</Inclusive> <ThemeName>sample string 1</ThemeName> </SelectedTimberTheme> <SelectedTimberThemeIndex>1</SelectedTimberThemeIndex> <Success>true</Success> <TimberThemes> <TimberThemeViewModel> <Available> <TimberInThemeViewModel> <Bit>2</Bit> <Name>sample string 1</Name> <UniqueId>dd4fe98e-f4d5-4a8b-860b-ed396194d324</UniqueId> </TimberInThemeViewModel> <TimberInThemeViewModel> <Bit>2</Bit> <Name>sample string 1</Name> <UniqueId>dd4fe98e-f4d5-4a8b-860b-ed396194d324</UniqueId> </TimberInThemeViewModel> </Available> <Included> <TimberInThemeViewModel> <Bit>2</Bit> <Name>sample string 1</Name> <UniqueId>dd4fe98e-f4d5-4a8b-860b-ed396194d324</UniqueId> </TimberInThemeViewModel> <TimberInThemeViewModel> <Bit>2</Bit> <Name>sample string 1</Name> <UniqueId>dd4fe98e-f4d5-4a8b-860b-ed396194d324</UniqueId> </TimberInThemeViewModel> </Included> <Inclusive>true</Inclusive> <Index>1</Index> <ThemeMask>4</ThemeMask> <ThemeName>sample string 3</ThemeName> <UniqueId>16460e6b-556c-4e18-a7bf-fe9e158fd320</UniqueId> </TimberThemeViewModel> <TimberThemeViewModel> <Available> <TimberInThemeViewModel> <Bit>2</Bit> <Name>sample string 1</Name> <UniqueId>dd4fe98e-f4d5-4a8b-860b-ed396194d324</UniqueId> </TimberInThemeViewModel> <TimberInThemeViewModel> <Bit>2</Bit> <Name>sample string 1</Name> <UniqueId>dd4fe98e-f4d5-4a8b-860b-ed396194d324</UniqueId> </TimberInThemeViewModel> </Available> <Included> <TimberInThemeViewModel> <Bit>2</Bit> <Name>sample string 1</Name> <UniqueId>dd4fe98e-f4d5-4a8b-860b-ed396194d324</UniqueId> </TimberInThemeViewModel> <TimberInThemeViewModel> <Bit>2</Bit> <Name>sample string 1</Name> <UniqueId>dd4fe98e-f4d5-4a8b-860b-ed396194d324</UniqueId> </TimberInThemeViewModel> </Included> <Inclusive>true</Inclusive> <Index>1</Index> <ThemeMask>4</ThemeMask> <ThemeName>sample string 3</ThemeName> <UniqueId>16460e6b-556c-4e18-a7bf-fe9e158fd320</UniqueId> </TimberThemeViewModel> </TimberThemes> <UniqueId>04f1451e-efe3-4246-a397-51adcb596871</UniqueId> <WindowLock xmlns:d2p1="http://schemas.datacontract.org/2004/07/StairBiz.Contracts.GlobalCache"> <d2p1:IsLocked>true</d2p1:IsLocked> <d2p1:LockedBy>sample string 2</d2p1:LockedBy> </WindowLock> </TimberThemeMainViewModel>