POST api/TimberTheme/SaveCurrentTheme
Request Information
URI Parameters
None.
Body Parameters
TimberThemeViewModelName | Description | Type | Additional information |
---|---|---|---|
Index | integer |
None. |
|
UniqueId | globally unique identifier |
None. |
|
ThemeName | string |
None. |
|
ThemeMask | decimal number |
None. |
|
Inclusive | boolean |
None. |
|
Available | Collection of TimberInThemeViewModel |
None. |
|
Included | Collection of TimberInThemeViewModel |
None. |
Request Formats
application/json, text/json
Sample:
{ "index": 1, "uniqueId": "f29e88b7-20fb-4ca4-98b0-bda2192f9ed4", "themeName": "sample string 3", "themeMask": 4.0, "inclusive": true, "available": [ { "name": "sample string 1", "bit": 2.0, "uniqueId": "9604ca69-9c3a-499c-bd7b-f72313198d7d" }, { "name": "sample string 1", "bit": 2.0, "uniqueId": "9604ca69-9c3a-499c-bd7b-f72313198d7d" } ], "included": [ { "name": "sample string 1", "bit": 2.0, "uniqueId": "9604ca69-9c3a-499c-bd7b-f72313198d7d" }, { "name": "sample string 1", "bit": 2.0, "uniqueId": "9604ca69-9c3a-499c-bd7b-f72313198d7d" } ] }
application/xml, text/xml
Sample:
<TimberThemeViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StairBiz.Contracts.ViewModels"> <Available> <TimberInThemeViewModel> <Bit>2</Bit> <Name>sample string 1</Name> <UniqueId>9604ca69-9c3a-499c-bd7b-f72313198d7d</UniqueId> </TimberInThemeViewModel> <TimberInThemeViewModel> <Bit>2</Bit> <Name>sample string 1</Name> <UniqueId>9604ca69-9c3a-499c-bd7b-f72313198d7d</UniqueId> </TimberInThemeViewModel> </Available> <Included> <TimberInThemeViewModel> <Bit>2</Bit> <Name>sample string 1</Name> <UniqueId>9604ca69-9c3a-499c-bd7b-f72313198d7d</UniqueId> </TimberInThemeViewModel> <TimberInThemeViewModel> <Bit>2</Bit> <Name>sample string 1</Name> <UniqueId>9604ca69-9c3a-499c-bd7b-f72313198d7d</UniqueId> </TimberInThemeViewModel> </Included> <Inclusive>true</Inclusive> <Index>1</Index> <ThemeMask>4</ThemeMask> <ThemeName>sample string 3</ThemeName> <UniqueId>f29e88b7-20fb-4ca4-98b0-bda2192f9ed4</UniqueId> </TimberThemeViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
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": "3cfe1f18-77b1-47c5-a7fd-55655d9cabf5", "themeName": "sample string 3", "themeMask": 4.0, "inclusive": true, "available": [ { "name": "sample string 1", "bit": 2.0, "uniqueId": "9de44592-eee6-4d07-a6cc-19b96e606169" }, { "name": "sample string 1", "bit": 2.0, "uniqueId": "9de44592-eee6-4d07-a6cc-19b96e606169" } ], "included": [ { "name": "sample string 1", "bit": 2.0, "uniqueId": "9de44592-eee6-4d07-a6cc-19b96e606169" }, { "name": "sample string 1", "bit": 2.0, "uniqueId": "9de44592-eee6-4d07-a6cc-19b96e606169" } ] }, { "index": 1, "uniqueId": "3cfe1f18-77b1-47c5-a7fd-55655d9cabf5", "themeName": "sample string 3", "themeMask": 4.0, "inclusive": true, "available": [ { "name": "sample string 1", "bit": 2.0, "uniqueId": "9de44592-eee6-4d07-a6cc-19b96e606169" }, { "name": "sample string 1", "bit": 2.0, "uniqueId": "9de44592-eee6-4d07-a6cc-19b96e606169" } ], "included": [ { "name": "sample string 1", "bit": 2.0, "uniqueId": "9de44592-eee6-4d07-a6cc-19b96e606169" }, { "name": "sample string 1", "bit": 2.0, "uniqueId": "9de44592-eee6-4d07-a6cc-19b96e606169" } ] } ], "selectedTimberThemeIndex": 1, "selectedTimberTheme": { "themeName": "sample string 1", "inclusive": true, "available": [ { "name": "sample string 1", "bit": 2.0, "uniqueId": "9de44592-eee6-4d07-a6cc-19b96e606169" }, { "name": "sample string 1", "bit": 2.0, "uniqueId": "9de44592-eee6-4d07-a6cc-19b96e606169" } ], "included": [ { "name": "sample string 1", "bit": 2.0, "uniqueId": "9de44592-eee6-4d07-a6cc-19b96e606169" }, { "name": "sample string 1", "bit": 2.0, "uniqueId": "9de44592-eee6-4d07-a6cc-19b96e606169" } ] }, "success": true, "message": "sample string 3", "uniqueId": "55ed6269-cf49-4465-b473-315ffd1f8f39", "deleteAll": true, "newTimberTheme": { "index": 1, "uniqueId": "3cfe1f18-77b1-47c5-a7fd-55655d9cabf5", "themeName": "sample string 3", "themeMask": 4.0, "inclusive": true, "available": [ { "name": "sample string 1", "bit": 2.0, "uniqueId": "9de44592-eee6-4d07-a6cc-19b96e606169" }, { "name": "sample string 1", "bit": 2.0, "uniqueId": "9de44592-eee6-4d07-a6cc-19b96e606169" } ], "included": [ { "name": "sample string 1", "bit": 2.0, "uniqueId": "9de44592-eee6-4d07-a6cc-19b96e606169" }, { "name": "sample string 1", "bit": 2.0, "uniqueId": "9de44592-eee6-4d07-a6cc-19b96e606169" } ] }, "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>9de44592-eee6-4d07-a6cc-19b96e606169</UniqueId> </TimberInThemeViewModel> <TimberInThemeViewModel> <Bit>2</Bit> <Name>sample string 1</Name> <UniqueId>9de44592-eee6-4d07-a6cc-19b96e606169</UniqueId> </TimberInThemeViewModel> </Available> <Included> <TimberInThemeViewModel> <Bit>2</Bit> <Name>sample string 1</Name> <UniqueId>9de44592-eee6-4d07-a6cc-19b96e606169</UniqueId> </TimberInThemeViewModel> <TimberInThemeViewModel> <Bit>2</Bit> <Name>sample string 1</Name> <UniqueId>9de44592-eee6-4d07-a6cc-19b96e606169</UniqueId> </TimberInThemeViewModel> </Included> <Inclusive>true</Inclusive> <Index>1</Index> <ThemeMask>4</ThemeMask> <ThemeName>sample string 3</ThemeName> <UniqueId>3cfe1f18-77b1-47c5-a7fd-55655d9cabf5</UniqueId> </NewTimberTheme> <Path>sample string 8</Path> <SelectedTimberTheme> <Available> <TimberInThemeViewModel> <Bit>2</Bit> <Name>sample string 1</Name> <UniqueId>9de44592-eee6-4d07-a6cc-19b96e606169</UniqueId> </TimberInThemeViewModel> <TimberInThemeViewModel> <Bit>2</Bit> <Name>sample string 1</Name> <UniqueId>9de44592-eee6-4d07-a6cc-19b96e606169</UniqueId> </TimberInThemeViewModel> </Available> <Included> <TimberInThemeViewModel> <Bit>2</Bit> <Name>sample string 1</Name> <UniqueId>9de44592-eee6-4d07-a6cc-19b96e606169</UniqueId> </TimberInThemeViewModel> <TimberInThemeViewModel> <Bit>2</Bit> <Name>sample string 1</Name> <UniqueId>9de44592-eee6-4d07-a6cc-19b96e606169</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>9de44592-eee6-4d07-a6cc-19b96e606169</UniqueId> </TimberInThemeViewModel> <TimberInThemeViewModel> <Bit>2</Bit> <Name>sample string 1</Name> <UniqueId>9de44592-eee6-4d07-a6cc-19b96e606169</UniqueId> </TimberInThemeViewModel> </Available> <Included> <TimberInThemeViewModel> <Bit>2</Bit> <Name>sample string 1</Name> <UniqueId>9de44592-eee6-4d07-a6cc-19b96e606169</UniqueId> </TimberInThemeViewModel> <TimberInThemeViewModel> <Bit>2</Bit> <Name>sample string 1</Name> <UniqueId>9de44592-eee6-4d07-a6cc-19b96e606169</UniqueId> </TimberInThemeViewModel> </Included> <Inclusive>true</Inclusive> <Index>1</Index> <ThemeMask>4</ThemeMask> <ThemeName>sample string 3</ThemeName> <UniqueId>3cfe1f18-77b1-47c5-a7fd-55655d9cabf5</UniqueId> </TimberThemeViewModel> <TimberThemeViewModel> <Available> <TimberInThemeViewModel> <Bit>2</Bit> <Name>sample string 1</Name> <UniqueId>9de44592-eee6-4d07-a6cc-19b96e606169</UniqueId> </TimberInThemeViewModel> <TimberInThemeViewModel> <Bit>2</Bit> <Name>sample string 1</Name> <UniqueId>9de44592-eee6-4d07-a6cc-19b96e606169</UniqueId> </TimberInThemeViewModel> </Available> <Included> <TimberInThemeViewModel> <Bit>2</Bit> <Name>sample string 1</Name> <UniqueId>9de44592-eee6-4d07-a6cc-19b96e606169</UniqueId> </TimberInThemeViewModel> <TimberInThemeViewModel> <Bit>2</Bit> <Name>sample string 1</Name> <UniqueId>9de44592-eee6-4d07-a6cc-19b96e606169</UniqueId> </TimberInThemeViewModel> </Included> <Inclusive>true</Inclusive> <Index>1</Index> <ThemeMask>4</ThemeMask> <ThemeName>sample string 3</ThemeName> <UniqueId>3cfe1f18-77b1-47c5-a7fd-55655d9cabf5</UniqueId> </TimberThemeViewModel> </TimberThemes> <UniqueId>55ed6269-cf49-4465-b473-315ffd1f8f39</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>