POST api/services/import/v1/wearpartimport/savewearparttype
Request Information
URI Parameters
None.
Body Parameters
WearpartTypeName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
UniqueKey | string |
None. |
|
Name | string |
None. |
|
Description | string |
None. |
|
BlobGuidImageTitle | string |
None. |
|
BlobGuidImageInfo | string |
None. |
|
NewImagePathTitle | string |
None. |
|
NewImagePathInfo | string |
None. |
|
ResponsibleEmail | string |
None. |
|
State | string |
None. |
|
IsCustomizable | boolean |
None. |
|
CustomCharacteristicGroups | Collection of CharacteristicGroupSettings |
None. |
|
CustomCharacteristicSettings | Collection of CharacteristicSettings |
None. |
|
ContactInformation | Collection of ContactInformation |
None. |
|
RelatedProducts | Collection of RelatedProducts |
None. |
|
CharacteristicGroups | Collection of CharacteristicGroupSettings |
None. |
|
CharacteristicSettings | Collection of CharacteristicSettings |
None. |
Request Formats
application/json, text/json
Sample:
{ "CharacteristicGroups": [ { "Id": 1, "ClassId": 2, "GroupName": "sample string 3", "ImageBlobGuid": "sample string 4", "NewImagePath": "sample string 5", "TabIndex": 6 }, { "Id": 1, "ClassId": 2, "GroupName": "sample string 3", "ImageBlobGuid": "sample string 4", "NewImagePath": "sample string 5", "TabIndex": 6 } ], "CharacteristicSettings": [ { "Id": 1, "Name": "sample string 2", "ClassId": 3, "ShowInTable": true, "TableColumnIndex": 1, "ShowAsFilter": true, "ShowAsDefaultFilter": true, "CharacteristicGroupName": "sample string 6", "MandatoryForImport": true, "MandatoryForCustomWearpart": true, "IsMainFilter": true, "IsItemTitle": true, "ShowToAnonymous": true }, { "Id": 1, "Name": "sample string 2", "ClassId": 3, "ShowInTable": true, "TableColumnIndex": 1, "ShowAsFilter": true, "ShowAsDefaultFilter": true, "CharacteristicGroupName": "sample string 6", "MandatoryForImport": true, "MandatoryForCustomWearpart": true, "IsMainFilter": true, "IsItemTitle": true, "ShowToAnonymous": true } ], "Id": 1, "UniqueKey": "sample string 2", "Name": "sample string 3", "Description": "sample string 4", "BlobGuidImageTitle": "sample string 5", "BlobGuidImageInfo": "sample string 6", "NewImagePathTitle": "sample string 7", "NewImagePathInfo": "sample string 8", "ResponsibleEmail": "sample string 9", "State": "sample string 10", "IsCustomizable": true, "CustomCharacteristicGroups": [ { "Id": 1, "ClassId": 2, "GroupName": "sample string 3", "ImageBlobGuid": "sample string 4", "NewImagePath": "sample string 5", "TabIndex": 6 }, { "Id": 1, "ClassId": 2, "GroupName": "sample string 3", "ImageBlobGuid": "sample string 4", "NewImagePath": "sample string 5", "TabIndex": 6 } ], "CustomCharacteristicSettings": [ { "Id": 1, "Name": "sample string 2", "ClassId": 3, "ShowInTable": true, "TableColumnIndex": 1, "ShowAsFilter": true, "ShowAsDefaultFilter": true, "CharacteristicGroupName": "sample string 6", "MandatoryForImport": true, "MandatoryForCustomWearpart": true, "IsMainFilter": true, "IsItemTitle": true, "ShowToAnonymous": true }, { "Id": 1, "Name": "sample string 2", "ClassId": 3, "ShowInTable": true, "TableColumnIndex": 1, "ShowAsFilter": true, "ShowAsDefaultFilter": true, "CharacteristicGroupName": "sample string 6", "MandatoryForImport": true, "MandatoryForCustomWearpart": true, "IsMainFilter": true, "IsItemTitle": true, "ShowToAnonymous": true } ], "ContactInformation": [ { "Id": 1, "ClassId": 2, "Email": "sample string 3", "LastName": "sample string 4", "FirstName": "sample string 5", "PhoneNumber": "sample string 6" }, { "Id": 1, "ClassId": 2, "Email": "sample string 3", "LastName": "sample string 4", "FirstName": "sample string 5", "PhoneNumber": "sample string 6" } ], "RelatedProducts": [ { "Id": 1, "UniqueKey": "sample string 2", "Name": "sample string 3" }, { "Id": 1, "UniqueKey": "sample string 2", "Name": "sample string 3" } ] }
application/xml, text/xml
Sample:
<WearpartType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Andritz.AES.SPC.ImportTool.DataModels.Wearpart"> <BlobGuidImageInfo>sample string 6</BlobGuidImageInfo> <BlobGuidImageTitle>sample string 5</BlobGuidImageTitle> <CharacteristicGroups> <CharacteristicGroupSettings> <ClassId>2</ClassId> <GroupName>sample string 3</GroupName> <Id>1</Id> <ImageBlobGuid>sample string 4</ImageBlobGuid> <NewImagePath>sample string 5</NewImagePath> <TabIndex>6</TabIndex> </CharacteristicGroupSettings> <CharacteristicGroupSettings> <ClassId>2</ClassId> <GroupName>sample string 3</GroupName> <Id>1</Id> <ImageBlobGuid>sample string 4</ImageBlobGuid> <NewImagePath>sample string 5</NewImagePath> <TabIndex>6</TabIndex> </CharacteristicGroupSettings> </CharacteristicGroups> <CharacteristicSettings> <CharacteristicSettings> <CharacteristicGroupName>sample string 6</CharacteristicGroupName> <ClassId>3</ClassId> <Id>1</Id> <IsItemTitle>true</IsItemTitle> <IsMainFilter>true</IsMainFilter> <MandatoryForCustomWearpart>true</MandatoryForCustomWearpart> <MandatoryForImport>true</MandatoryForImport> <Name>sample string 2</Name> <ShowAsDefaultFilter>true</ShowAsDefaultFilter> <ShowAsFilter>true</ShowAsFilter> <ShowInTable>true</ShowInTable> <ShowToAnonymous>true</ShowToAnonymous> <TableColumnIndex>1</TableColumnIndex> </CharacteristicSettings> <CharacteristicSettings> <CharacteristicGroupName>sample string 6</CharacteristicGroupName> <ClassId>3</ClassId> <Id>1</Id> <IsItemTitle>true</IsItemTitle> <IsMainFilter>true</IsMainFilter> <MandatoryForCustomWearpart>true</MandatoryForCustomWearpart> <MandatoryForImport>true</MandatoryForImport> <Name>sample string 2</Name> <ShowAsDefaultFilter>true</ShowAsDefaultFilter> <ShowAsFilter>true</ShowAsFilter> <ShowInTable>true</ShowInTable> <ShowToAnonymous>true</ShowToAnonymous> <TableColumnIndex>1</TableColumnIndex> </CharacteristicSettings> </CharacteristicSettings> <ContactInformation> <ContactInformation> <ClassId>2</ClassId> <Email>sample string 3</Email> <FirstName>sample string 5</FirstName> <Id>1</Id> <LastName>sample string 4</LastName> <PhoneNumber>sample string 6</PhoneNumber> </ContactInformation> <ContactInformation> <ClassId>2</ClassId> <Email>sample string 3</Email> <FirstName>sample string 5</FirstName> <Id>1</Id> <LastName>sample string 4</LastName> <PhoneNumber>sample string 6</PhoneNumber> </ContactInformation> </ContactInformation> <CustomCharacteristicGroups> <CharacteristicGroupSettings> <ClassId>2</ClassId> <GroupName>sample string 3</GroupName> <Id>1</Id> <ImageBlobGuid>sample string 4</ImageBlobGuid> <NewImagePath>sample string 5</NewImagePath> <TabIndex>6</TabIndex> </CharacteristicGroupSettings> <CharacteristicGroupSettings> <ClassId>2</ClassId> <GroupName>sample string 3</GroupName> <Id>1</Id> <ImageBlobGuid>sample string 4</ImageBlobGuid> <NewImagePath>sample string 5</NewImagePath> <TabIndex>6</TabIndex> </CharacteristicGroupSettings> </CustomCharacteristicGroups> <CustomCharacteristicSettings> <CharacteristicSettings> <CharacteristicGroupName>sample string 6</CharacteristicGroupName> <ClassId>3</ClassId> <Id>1</Id> <IsItemTitle>true</IsItemTitle> <IsMainFilter>true</IsMainFilter> <MandatoryForCustomWearpart>true</MandatoryForCustomWearpart> <MandatoryForImport>true</MandatoryForImport> <Name>sample string 2</Name> <ShowAsDefaultFilter>true</ShowAsDefaultFilter> <ShowAsFilter>true</ShowAsFilter> <ShowInTable>true</ShowInTable> <ShowToAnonymous>true</ShowToAnonymous> <TableColumnIndex>1</TableColumnIndex> </CharacteristicSettings> <CharacteristicSettings> <CharacteristicGroupName>sample string 6</CharacteristicGroupName> <ClassId>3</ClassId> <Id>1</Id> <IsItemTitle>true</IsItemTitle> <IsMainFilter>true</IsMainFilter> <MandatoryForCustomWearpart>true</MandatoryForCustomWearpart> <MandatoryForImport>true</MandatoryForImport> <Name>sample string 2</Name> <ShowAsDefaultFilter>true</ShowAsDefaultFilter> <ShowAsFilter>true</ShowAsFilter> <ShowInTable>true</ShowInTable> <ShowToAnonymous>true</ShowToAnonymous> <TableColumnIndex>1</TableColumnIndex> </CharacteristicSettings> </CustomCharacteristicSettings> <Description>sample string 4</Description> <Id>1</Id> <IsCustomizable>true</IsCustomizable> <Name>sample string 3</Name> <NewImagePathInfo>sample string 8</NewImagePathInfo> <NewImagePathTitle>sample string 7</NewImagePathTitle> <RelatedProducts> <RelatedProducts> <Id>1</Id> <Name>sample string 3</Name> <UniqueKey>sample string 2</UniqueKey> </RelatedProducts> <RelatedProducts> <Id>1</Id> <Name>sample string 3</Name> <UniqueKey>sample string 2</UniqueKey> </RelatedProducts> </RelatedProducts> <ResponsibleEmail>sample string 9</ResponsibleEmail> <State>sample string 10</State> <UniqueKey>sample string 2</UniqueKey> </WearpartType>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>