POST api/TimberTheme/SaveCurrentTheme
Request Information
URI Parameters
None.
Body Parameters
TimberThemeViewModel| Name | 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": "8033b65e-02ec-419e-99cf-69e9cf042392",
"themeName": "sample string 3",
"themeMask": 4.0,
"inclusive": true,
"available": [
{
"name": "sample string 1",
"bit": 2.0,
"uniqueId": "eaf041f0-f1b0-4cb9-9166-d9ccbb1f84b9"
},
{
"name": "sample string 1",
"bit": 2.0,
"uniqueId": "eaf041f0-f1b0-4cb9-9166-d9ccbb1f84b9"
}
],
"included": [
{
"name": "sample string 1",
"bit": 2.0,
"uniqueId": "eaf041f0-f1b0-4cb9-9166-d9ccbb1f84b9"
},
{
"name": "sample string 1",
"bit": 2.0,
"uniqueId": "eaf041f0-f1b0-4cb9-9166-d9ccbb1f84b9"
}
]
}
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>eaf041f0-f1b0-4cb9-9166-d9ccbb1f84b9</UniqueId>
</TimberInThemeViewModel>
<TimberInThemeViewModel>
<Bit>2</Bit>
<Name>sample string 1</Name>
<UniqueId>eaf041f0-f1b0-4cb9-9166-d9ccbb1f84b9</UniqueId>
</TimberInThemeViewModel>
</Available>
<Included>
<TimberInThemeViewModel>
<Bit>2</Bit>
<Name>sample string 1</Name>
<UniqueId>eaf041f0-f1b0-4cb9-9166-d9ccbb1f84b9</UniqueId>
</TimberInThemeViewModel>
<TimberInThemeViewModel>
<Bit>2</Bit>
<Name>sample string 1</Name>
<UniqueId>eaf041f0-f1b0-4cb9-9166-d9ccbb1f84b9</UniqueId>
</TimberInThemeViewModel>
</Included>
<Inclusive>true</Inclusive>
<Index>1</Index>
<ThemeMask>4</ThemeMask>
<ThemeName>sample string 3</ThemeName>
<UniqueId>8033b65e-02ec-419e-99cf-69e9cf042392</UniqueId>
</TimberThemeViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
TimberThemeMainViewModel| Name | 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": "1228d866-f9ea-4e8d-8d6e-0f819db9baa4",
"themeName": "sample string 3",
"themeMask": 4.0,
"inclusive": true,
"available": [
{
"name": "sample string 1",
"bit": 2.0,
"uniqueId": "f0a25cee-a7ea-4e65-bbcc-cff842fb180d"
},
{
"name": "sample string 1",
"bit": 2.0,
"uniqueId": "f0a25cee-a7ea-4e65-bbcc-cff842fb180d"
}
],
"included": [
{
"name": "sample string 1",
"bit": 2.0,
"uniqueId": "f0a25cee-a7ea-4e65-bbcc-cff842fb180d"
},
{
"name": "sample string 1",
"bit": 2.0,
"uniqueId": "f0a25cee-a7ea-4e65-bbcc-cff842fb180d"
}
]
},
{
"index": 1,
"uniqueId": "1228d866-f9ea-4e8d-8d6e-0f819db9baa4",
"themeName": "sample string 3",
"themeMask": 4.0,
"inclusive": true,
"available": [
{
"name": "sample string 1",
"bit": 2.0,
"uniqueId": "f0a25cee-a7ea-4e65-bbcc-cff842fb180d"
},
{
"name": "sample string 1",
"bit": 2.0,
"uniqueId": "f0a25cee-a7ea-4e65-bbcc-cff842fb180d"
}
],
"included": [
{
"name": "sample string 1",
"bit": 2.0,
"uniqueId": "f0a25cee-a7ea-4e65-bbcc-cff842fb180d"
},
{
"name": "sample string 1",
"bit": 2.0,
"uniqueId": "f0a25cee-a7ea-4e65-bbcc-cff842fb180d"
}
]
}
],
"selectedTimberThemeIndex": 1,
"selectedTimberTheme": {
"themeName": "sample string 1",
"inclusive": true,
"available": [
{
"name": "sample string 1",
"bit": 2.0,
"uniqueId": "f0a25cee-a7ea-4e65-bbcc-cff842fb180d"
},
{
"name": "sample string 1",
"bit": 2.0,
"uniqueId": "f0a25cee-a7ea-4e65-bbcc-cff842fb180d"
}
],
"included": [
{
"name": "sample string 1",
"bit": 2.0,
"uniqueId": "f0a25cee-a7ea-4e65-bbcc-cff842fb180d"
},
{
"name": "sample string 1",
"bit": 2.0,
"uniqueId": "f0a25cee-a7ea-4e65-bbcc-cff842fb180d"
}
]
},
"success": true,
"message": "sample string 3",
"uniqueId": "a8c39947-2657-469e-9a97-e474d96f3b22",
"deleteAll": true,
"newTimberTheme": {
"index": 1,
"uniqueId": "1228d866-f9ea-4e8d-8d6e-0f819db9baa4",
"themeName": "sample string 3",
"themeMask": 4.0,
"inclusive": true,
"available": [
{
"name": "sample string 1",
"bit": 2.0,
"uniqueId": "f0a25cee-a7ea-4e65-bbcc-cff842fb180d"
},
{
"name": "sample string 1",
"bit": 2.0,
"uniqueId": "f0a25cee-a7ea-4e65-bbcc-cff842fb180d"
}
],
"included": [
{
"name": "sample string 1",
"bit": 2.0,
"uniqueId": "f0a25cee-a7ea-4e65-bbcc-cff842fb180d"
},
{
"name": "sample string 1",
"bit": 2.0,
"uniqueId": "f0a25cee-a7ea-4e65-bbcc-cff842fb180d"
}
]
},
"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
}
],
"exportType": 13
},
"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>
<ExportType>13</ExportType>
<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>f0a25cee-a7ea-4e65-bbcc-cff842fb180d</UniqueId>
</TimberInThemeViewModel>
<TimberInThemeViewModel>
<Bit>2</Bit>
<Name>sample string 1</Name>
<UniqueId>f0a25cee-a7ea-4e65-bbcc-cff842fb180d</UniqueId>
</TimberInThemeViewModel>
</Available>
<Included>
<TimberInThemeViewModel>
<Bit>2</Bit>
<Name>sample string 1</Name>
<UniqueId>f0a25cee-a7ea-4e65-bbcc-cff842fb180d</UniqueId>
</TimberInThemeViewModel>
<TimberInThemeViewModel>
<Bit>2</Bit>
<Name>sample string 1</Name>
<UniqueId>f0a25cee-a7ea-4e65-bbcc-cff842fb180d</UniqueId>
</TimberInThemeViewModel>
</Included>
<Inclusive>true</Inclusive>
<Index>1</Index>
<ThemeMask>4</ThemeMask>
<ThemeName>sample string 3</ThemeName>
<UniqueId>1228d866-f9ea-4e8d-8d6e-0f819db9baa4</UniqueId>
</NewTimberTheme>
<Path>sample string 8</Path>
<SelectedTimberTheme>
<Available>
<TimberInThemeViewModel>
<Bit>2</Bit>
<Name>sample string 1</Name>
<UniqueId>f0a25cee-a7ea-4e65-bbcc-cff842fb180d</UniqueId>
</TimberInThemeViewModel>
<TimberInThemeViewModel>
<Bit>2</Bit>
<Name>sample string 1</Name>
<UniqueId>f0a25cee-a7ea-4e65-bbcc-cff842fb180d</UniqueId>
</TimberInThemeViewModel>
</Available>
<Included>
<TimberInThemeViewModel>
<Bit>2</Bit>
<Name>sample string 1</Name>
<UniqueId>f0a25cee-a7ea-4e65-bbcc-cff842fb180d</UniqueId>
</TimberInThemeViewModel>
<TimberInThemeViewModel>
<Bit>2</Bit>
<Name>sample string 1</Name>
<UniqueId>f0a25cee-a7ea-4e65-bbcc-cff842fb180d</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>f0a25cee-a7ea-4e65-bbcc-cff842fb180d</UniqueId>
</TimberInThemeViewModel>
<TimberInThemeViewModel>
<Bit>2</Bit>
<Name>sample string 1</Name>
<UniqueId>f0a25cee-a7ea-4e65-bbcc-cff842fb180d</UniqueId>
</TimberInThemeViewModel>
</Available>
<Included>
<TimberInThemeViewModel>
<Bit>2</Bit>
<Name>sample string 1</Name>
<UniqueId>f0a25cee-a7ea-4e65-bbcc-cff842fb180d</UniqueId>
</TimberInThemeViewModel>
<TimberInThemeViewModel>
<Bit>2</Bit>
<Name>sample string 1</Name>
<UniqueId>f0a25cee-a7ea-4e65-bbcc-cff842fb180d</UniqueId>
</TimberInThemeViewModel>
</Included>
<Inclusive>true</Inclusive>
<Index>1</Index>
<ThemeMask>4</ThemeMask>
<ThemeName>sample string 3</ThemeName>
<UniqueId>1228d866-f9ea-4e8d-8d6e-0f819db9baa4</UniqueId>
</TimberThemeViewModel>
<TimberThemeViewModel>
<Available>
<TimberInThemeViewModel>
<Bit>2</Bit>
<Name>sample string 1</Name>
<UniqueId>f0a25cee-a7ea-4e65-bbcc-cff842fb180d</UniqueId>
</TimberInThemeViewModel>
<TimberInThemeViewModel>
<Bit>2</Bit>
<Name>sample string 1</Name>
<UniqueId>f0a25cee-a7ea-4e65-bbcc-cff842fb180d</UniqueId>
</TimberInThemeViewModel>
</Available>
<Included>
<TimberInThemeViewModel>
<Bit>2</Bit>
<Name>sample string 1</Name>
<UniqueId>f0a25cee-a7ea-4e65-bbcc-cff842fb180d</UniqueId>
</TimberInThemeViewModel>
<TimberInThemeViewModel>
<Bit>2</Bit>
<Name>sample string 1</Name>
<UniqueId>f0a25cee-a7ea-4e65-bbcc-cff842fb180d</UniqueId>
</TimberInThemeViewModel>
</Included>
<Inclusive>true</Inclusive>
<Index>1</Index>
<ThemeMask>4</ThemeMask>
<ThemeName>sample string 3</ThemeName>
<UniqueId>1228d866-f9ea-4e8d-8d6e-0f819db9baa4</UniqueId>
</TimberThemeViewModel>
</TimberThemes>
<UniqueId>a8c39947-2657-469e-9a97-e474d96f3b22</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>