GET api/CncDockSawConfig/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | string |
None. |
Body Parameters
None.
Response Information
Resource Description
CncDockSawConfigMainViewModelName | Description | Type | Additional information |
---|---|---|---|
DockSawConfigs | Collection of LookupDto |
None. |
|
CurrentConfig | CncDockSawConfigViewModel |
None. |
|
SelectedTemplateIndex | integer |
None. |
|
ConfigFieldAttributes | CncDockSawConfigFieldAttributeViewModel |
None. |
Response Formats
application/json, text/json
Sample:
{ "dockSawConfigs": [ { "id": 1, "idString": "sample string 2", "name": "sample string 3", "parentId": "sample string 4", "description": "sample string 5", "selected": true, "sortIndex": 7, "uniqueId": "356e4215-5b72-42f1-b00b-66065459332c", "parentUid": "81bf41ce-abb7-4e70-9283-f51f36118f4d" }, { "id": 1, "idString": "sample string 2", "name": "sample string 3", "parentId": "sample string 4", "description": "sample string 5", "selected": true, "sortIndex": 7, "uniqueId": "356e4215-5b72-42f1-b00b-66065459332c", "parentUid": "81bf41ce-abb7-4e70-9283-f51f36118f4d" } ], "currentConfig": { "exportTemplate": "sample string 1", "exportFolder": "sample string 2", "batchBy": "sample string 3", "fileExt": "sample string 4", "delimiter": "sample string 5", "allowAppend": true, "widthThreshold": 7 }, "selectedTemplateIndex": 1, "configFieldAttributes": { "exportTemplate_FieldAttribute": { "description": [ "sample string 1", "sample string 2" ], "referenceNumber": "sample string 1", "value": "sample string 2", "propertyName": "sample string 3", "fieldType": "sample string 4", "fieldId": 1, "lookup": [ "sample string 1", "sample string 2" ], "displayName": "sample string 5", "hasChildren": true, "category": "sample string 7", "isEditable": true, "isVisible": true, "specialSort": 9, "level": 10, "parent": 1, "isLeaf": true, "expanded": true }, "exportTemplate": "sample string 1", "exportFolder_FieldAttribute": { "description": [ "sample string 1", "sample string 2" ], "referenceNumber": "sample string 1", "value": "sample string 2", "propertyName": "sample string 3", "fieldType": "sample string 4", "fieldId": 1, "lookup": [ "sample string 1", "sample string 2" ], "displayName": "sample string 5", "hasChildren": true, "category": "sample string 7", "isEditable": true, "isVisible": true, "specialSort": 9, "level": 10, "parent": 1, "isLeaf": true, "expanded": true }, "exportFolder": "sample string 2", "batchBy_FieldAttribute": { "description": [ "sample string 1", "sample string 2" ], "referenceNumber": "sample string 1", "value": "sample string 2", "propertyName": "sample string 3", "fieldType": "sample string 4", "fieldId": 1, "lookup": [ "sample string 1", "sample string 2" ], "displayName": "sample string 5", "hasChildren": true, "category": "sample string 7", "isEditable": true, "isVisible": true, "specialSort": 9, "level": 10, "parent": 1, "isLeaf": true, "expanded": true }, "batchBy": "sample string 3", "fileExt_FieldAttribute": { "description": [ "sample string 1", "sample string 2" ], "referenceNumber": "sample string 1", "value": "sample string 2", "propertyName": "sample string 3", "fieldType": "sample string 4", "fieldId": 1, "lookup": [ "sample string 1", "sample string 2" ], "displayName": "sample string 5", "hasChildren": true, "category": "sample string 7", "isEditable": true, "isVisible": true, "specialSort": 9, "level": 10, "parent": 1, "isLeaf": true, "expanded": true }, "fileExt": "sample string 4", "delimiter_FieldAttribute": { "description": [ "sample string 1", "sample string 2" ], "referenceNumber": "sample string 1", "value": "sample string 2", "propertyName": "sample string 3", "fieldType": "sample string 4", "fieldId": 1, "lookup": [ "sample string 1", "sample string 2" ], "displayName": "sample string 5", "hasChildren": true, "category": "sample string 7", "isEditable": true, "isVisible": true, "specialSort": 9, "level": 10, "parent": 1, "isLeaf": true, "expanded": true }, "delimiter": "sample string 5", "allowAppend_FieldAttribute": { "description": [ "sample string 1", "sample string 2" ], "referenceNumber": "sample string 1", "value": "sample string 2", "propertyName": "sample string 3", "fieldType": "sample string 4", "fieldId": 1, "lookup": [ "sample string 1", "sample string 2" ], "displayName": "sample string 5", "hasChildren": true, "category": "sample string 7", "isEditable": true, "isVisible": true, "specialSort": 9, "level": 10, "parent": 1, "isLeaf": true, "expanded": true }, "allowAppend": true, "widthThreshold_FieldAttribute": { "description": [ "sample string 1", "sample string 2" ], "referenceNumber": "sample string 1", "value": "sample string 2", "propertyName": "sample string 3", "fieldType": "sample string 4", "fieldId": 1, "lookup": [ "sample string 1", "sample string 2" ], "displayName": "sample string 5", "hasChildren": true, "category": "sample string 7", "isEditable": true, "isVisible": true, "specialSort": 9, "level": 10, "parent": 1, "isLeaf": true, "expanded": true }, "widthThreshold": 7 } }
application/xml, text/xml
Sample:
<CncDockSawConfigMainViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StairBiz.Contracts.ViewModels"> <ConfigFieldAttributes> <AllowAppend>true</AllowAppend> <AllowAppend_FieldAttribute> <Category>sample string 7</Category> <Description xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </Description> <DisplayName>sample string 5</DisplayName> <FieldId>1</FieldId> <FieldType>sample string 4</FieldType> <HasChildren>true</HasChildren> <IsEditable>true</IsEditable> <IsVisible>true</IsVisible> <Lookup xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </Lookup> <PropertyName>sample string 3</PropertyName> <ReferenceNumber>sample string 1</ReferenceNumber> <SpecialSort>9</SpecialSort> <Value>sample string 2</Value> <expanded>true</expanded> <isLeaf>true</isLeaf> <level>10</level> <parent>1</parent> </AllowAppend_FieldAttribute> <BatchBy>sample string 3</BatchBy> <BatchBy_FieldAttribute> <Category>sample string 7</Category> <Description xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </Description> <DisplayName>sample string 5</DisplayName> <FieldId>1</FieldId> <FieldType>sample string 4</FieldType> <HasChildren>true</HasChildren> <IsEditable>true</IsEditable> <IsVisible>true</IsVisible> <Lookup xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </Lookup> <PropertyName>sample string 3</PropertyName> <ReferenceNumber>sample string 1</ReferenceNumber> <SpecialSort>9</SpecialSort> <Value>sample string 2</Value> <expanded>true</expanded> <isLeaf>true</isLeaf> <level>10</level> <parent>1</parent> </BatchBy_FieldAttribute> <Delimiter>sample string 5</Delimiter> <Delimiter_FieldAttribute> <Category>sample string 7</Category> <Description xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </Description> <DisplayName>sample string 5</DisplayName> <FieldId>1</FieldId> <FieldType>sample string 4</FieldType> <HasChildren>true</HasChildren> <IsEditable>true</IsEditable> <IsVisible>true</IsVisible> <Lookup xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </Lookup> <PropertyName>sample string 3</PropertyName> <ReferenceNumber>sample string 1</ReferenceNumber> <SpecialSort>9</SpecialSort> <Value>sample string 2</Value> <expanded>true</expanded> <isLeaf>true</isLeaf> <level>10</level> <parent>1</parent> </Delimiter_FieldAttribute> <ExportFolder>sample string 2</ExportFolder> <ExportFolder_FieldAttribute> <Category>sample string 7</Category> <Description xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </Description> <DisplayName>sample string 5</DisplayName> <FieldId>1</FieldId> <FieldType>sample string 4</FieldType> <HasChildren>true</HasChildren> <IsEditable>true</IsEditable> <IsVisible>true</IsVisible> <Lookup xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </Lookup> <PropertyName>sample string 3</PropertyName> <ReferenceNumber>sample string 1</ReferenceNumber> <SpecialSort>9</SpecialSort> <Value>sample string 2</Value> <expanded>true</expanded> <isLeaf>true</isLeaf> <level>10</level> <parent>1</parent> </ExportFolder_FieldAttribute> <ExportTemplate>sample string 1</ExportTemplate> <ExportTemplate_FieldAttribute> <Category>sample string 7</Category> <Description xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </Description> <DisplayName>sample string 5</DisplayName> <FieldId>1</FieldId> <FieldType>sample string 4</FieldType> <HasChildren>true</HasChildren> <IsEditable>true</IsEditable> <IsVisible>true</IsVisible> <Lookup xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </Lookup> <PropertyName>sample string 3</PropertyName> <ReferenceNumber>sample string 1</ReferenceNumber> <SpecialSort>9</SpecialSort> <Value>sample string 2</Value> <expanded>true</expanded> <isLeaf>true</isLeaf> <level>10</level> <parent>1</parent> </ExportTemplate_FieldAttribute> <FileExt>sample string 4</FileExt> <FileExt_FieldAttribute> <Category>sample string 7</Category> <Description xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </Description> <DisplayName>sample string 5</DisplayName> <FieldId>1</FieldId> <FieldType>sample string 4</FieldType> <HasChildren>true</HasChildren> <IsEditable>true</IsEditable> <IsVisible>true</IsVisible> <Lookup xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </Lookup> <PropertyName>sample string 3</PropertyName> <ReferenceNumber>sample string 1</ReferenceNumber> <SpecialSort>9</SpecialSort> <Value>sample string 2</Value> <expanded>true</expanded> <isLeaf>true</isLeaf> <level>10</level> <parent>1</parent> </FileExt_FieldAttribute> <WidthThreshold>7</WidthThreshold> <WidthThreshold_FieldAttribute> <Category>sample string 7</Category> <Description xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </Description> <DisplayName>sample string 5</DisplayName> <FieldId>1</FieldId> <FieldType>sample string 4</FieldType> <HasChildren>true</HasChildren> <IsEditable>true</IsEditable> <IsVisible>true</IsVisible> <Lookup xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </Lookup> <PropertyName>sample string 3</PropertyName> <ReferenceNumber>sample string 1</ReferenceNumber> <SpecialSort>9</SpecialSort> <Value>sample string 2</Value> <expanded>true</expanded> <isLeaf>true</isLeaf> <level>10</level> <parent>1</parent> </WidthThreshold_FieldAttribute> </ConfigFieldAttributes> <CurrentConfig> <AllowAppend>true</AllowAppend> <BatchBy>sample string 3</BatchBy> <Delimiter>sample string 5</Delimiter> <ExportFolder>sample string 2</ExportFolder> <ExportTemplate>sample string 1</ExportTemplate> <FileExt>sample string 4</FileExt> <WidthThreshold>7</WidthThreshold> </CurrentConfig> <DockSawConfigs xmlns:d2p1="http://schemas.datacontract.org/2004/07/StairBiz.Contracts.Dto"> <d2p1:LookupDto> <d2p1:_x003C_Description_x003E_k__BackingField>sample string 5</d2p1:_x003C_Description_x003E_k__BackingField> <d2p1:_x003C_IdString_x003E_k__BackingField>sample string 2</d2p1:_x003C_IdString_x003E_k__BackingField> <d2p1:_x003C_Id_x003E_k__BackingField>1</d2p1:_x003C_Id_x003E_k__BackingField> <d2p1:_x003C_Name_x003E_k__BackingField>sample string 3</d2p1:_x003C_Name_x003E_k__BackingField> <d2p1:_x003C_ParentId_x003E_k__BackingField>sample string 4</d2p1:_x003C_ParentId_x003E_k__BackingField> <d2p1:_x003C_ParentUid_x003E_k__BackingField>81bf41ce-abb7-4e70-9283-f51f36118f4d</d2p1:_x003C_ParentUid_x003E_k__BackingField> <d2p1:_x003C_Selected_x003E_k__BackingField>true</d2p1:_x003C_Selected_x003E_k__BackingField> <d2p1:_x003C_SortIndex_x003E_k__BackingField>7</d2p1:_x003C_SortIndex_x003E_k__BackingField> <d2p1:_x003C_UniqueId_x003E_k__BackingField>356e4215-5b72-42f1-b00b-66065459332c</d2p1:_x003C_UniqueId_x003E_k__BackingField> </d2p1:LookupDto> <d2p1:LookupDto> <d2p1:_x003C_Description_x003E_k__BackingField>sample string 5</d2p1:_x003C_Description_x003E_k__BackingField> <d2p1:_x003C_IdString_x003E_k__BackingField>sample string 2</d2p1:_x003C_IdString_x003E_k__BackingField> <d2p1:_x003C_Id_x003E_k__BackingField>1</d2p1:_x003C_Id_x003E_k__BackingField> <d2p1:_x003C_Name_x003E_k__BackingField>sample string 3</d2p1:_x003C_Name_x003E_k__BackingField> <d2p1:_x003C_ParentId_x003E_k__BackingField>sample string 4</d2p1:_x003C_ParentId_x003E_k__BackingField> <d2p1:_x003C_ParentUid_x003E_k__BackingField>81bf41ce-abb7-4e70-9283-f51f36118f4d</d2p1:_x003C_ParentUid_x003E_k__BackingField> <d2p1:_x003C_Selected_x003E_k__BackingField>true</d2p1:_x003C_Selected_x003E_k__BackingField> <d2p1:_x003C_SortIndex_x003E_k__BackingField>7</d2p1:_x003C_SortIndex_x003E_k__BackingField> <d2p1:_x003C_UniqueId_x003E_k__BackingField>356e4215-5b72-42f1-b00b-66065459332c</d2p1:_x003C_UniqueId_x003E_k__BackingField> </d2p1:LookupDto> </DockSawConfigs> <SelectedTemplateIndex>1</SelectedTemplateIndex> </CncDockSawConfigMainViewModel>