GET/api/gateway/v2/wizardpolygon/get

Get an existing wizard Polygon.

Query Parameters

id*string

The unique identifier of the Polygon to retrieve.

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/api/gateway/v2/wizardpolygon/get?id=string"
{  "id": "string",  "wizardId": 0,  "wizardName": "string",  "isValid": true,  "polygonDescription": "string",  "modelId": "string",  "leadTime": 0.1,  "dimensions": {    "width": {      "value": 0,      "grossValue": 0,      "correction": 0,      "minValue": 0,      "maxValue": 0,      "measurementTypeSettingId": 0    },    "height": {      "value": 0,      "grossValue": 0,      "correction": 0,      "minValue": 0,      "maxValue": 0,      "measurementTypeSettingId": 0    }  },  "prices": {    "discountAmount": 0.1,    "priceGroups": [      {        "code": "string",        "description": "string",        "displayOrder": 0,        "elements": [          {            "code": "string",            "materialId": 0,            "supplierCode": "string",            "description": "string",            "purchasePrice": {              "unitPurchasePrice": 0,              "totalPurchasePrice": 0            },            "quantity": 0.1,            "totalPrice": 0.1,            "totalPriceBeforePromotion": 0.1,            "unit": "string",            "unitPrice": 0.1,            "unitPriceBeforePromotion": 0.1,            "totalPriceExclVat": 0.1,            "unitPriceExclVat": 0.1,            "vatAmount": 0.1,            "vatPercentage": 0.1          }        ]      }    ],    "promotions": [      {        "code": "string",        "description": "string",        "priceDiscount": 0.1,        "reference": "string",        "validUntil": "2019-08-24T14:15:22Z",        "priceDiscountExclVat": 0.1,        "attributes": {          "property1": "string",          "property2": "string"        }      }    ],    "totalPrice": 0.1,    "totalPriceBeforePromotions": 0.1,    "totalPurchasePrice": 0.1  },  "steps": [    {      "name": "string",      "wizardStepId": 0,      "kind": "Property",      "description": "string",      "displayOrder": 0,      "code": "string",      "items": [        {          "wizardStepItemId": 0,          "name": "string",          "description": "string",          "image": "string",          "kind": "Property",          "categoryLink": {            "id": 0,            "categoryLinkMaterial": {              "materialCode": "string",              "supplierCode": "string",              "materialId": 0,              "materialDescription": "string",              "materialColor": "string",              "materialRemarks": "string",              "materialComposition": "string",              "materialSalePrice": 0,              "saleQuantity": 0,              "calcQuantity": 0,              "calcQuantityNet": 0,              "saleUnit": "string",              "supplierId": 0,              "supplierSbnKey": 0,              "price": {                "discountAmount": 0.1,                "priceGroups": [                  {                    "code": "string",                    "description": "string",                    "displayOrder": 0,                    "elements": [                      {                        "code": "string",                        "materialId": 0,                        "supplierCode": "string",                        "description": "string",                        "purchasePrice": {                          "unitPurchasePrice": 0,                          "totalPurchasePrice": 0                        },                        "quantity": 0.1,                        "totalPrice": 0.1,                        "totalPriceBeforePromotion": 0.1,                        "unit": "string",                        "unitPrice": 0.1,                        "unitPriceBeforePromotion": 0.1,                        "totalPriceExclVat": 0.1,                        "unitPriceExclVat": 0.1,                        "vatAmount": 0.1,                        "vatPercentage": 0.1                      }                    ]                  }                ],                "promotions": [                  {                    "code": "string",                    "description": "string",                    "priceDiscount": 0.1,                    "reference": "string",                    "validUntil": "2019-08-24T14:15:22Z",                    "priceDiscountExclVat": 0.1,                    "attributes": {                      "property1": "string",                      "property2": "string"                    }                  }                ],                "totalPrice": 0.1,                "totalPriceBeforePromotions": 0.1,                "totalPurchasePrice": 0.1              },              "properties": [                {                  "id": 0,                  "controlType": "Text",                  "customControlCode": "string",                  "dataType": 0,                  "valueDataType": "None",                  "defaultControlType": "Text",                  "description": "string",                  "displayLabel": "string",                  "displayOrder": 0,                  "displaySuffix": "string",                  "hasDynamicDescription": true,                  "interfaceKey": "string",                  "isModified": true,                  "isModifiedByApp": true,                  "isReadonly": true,                  "isRequired": true,                  "isVisible": true,                  "isAvailableBeforeCalculation": true,                  "listValues": [                    {                      "description": "string",                      "imageUrl": "string",                      "interfaceKey": "string",                      "skills": "string",                      "remarks": "string",                      "value": "string",                      "isDisabled": true,                      "priceDifference": 0,                      "price": 0,                      "categoryLinkPropertyId": 0,                      "contentBlockId": "string"                    }                  ],                  "propertyId": 0,                  "remarks": "string",                  "value": "string",                  "validation": {                    "min": null,                    "max": null,                    "precision": 0,                    "step": null,                    "isValid": true                  },                  "imageUrl": "string",                  "explanation": "string"                }              ],              "messages": [                {                  "context": "None",                  "contextReference": "string",                  "kind": "Information",                  "scope": "None",                  "text": "string",                  "origin": "Default"                }              ],              "redistributionInfo": "string"            },            "categoryMaterialOptionFilter": 0,            "categoryMaterialOptionInterfaceKeys": [              "string"            ],            "childCategoryDescription": "string",            "childCategoryId": 0,            "description": "string",            "imageUrl": "string",            "interfaceKey": "string",            "isEnabled": true,            "isMainCategory": true,            "parentCategoryId": 0,            "quantityDescription": "string",            "remarks": "string",            "requiredLevel": "None",            "options": [              "None"            ]          },          "customCode": "string",          "categoryExtraCode": "string",          "contentBlockId": "string",          "option": {            "id": "string",            "label": "string",            "value": "string",            "dataType": "None",            "controlType": "Text",            "defaultControlType": "Text",            "customControlCode": "string",            "isRequired": true,            "isVisible": true,            "displaySuffix": "string",            "isReadonly": true,            "description": "string",            "imageUrl": "string",            "values": [              {                "label": "string",                "value": "string",                "imageUrl": "string",                "isDisabled": true,                "priceDifference": 0,                "price": 0,                "contentBlockId": "string",                "description": "string"              }            ],            "validation": {              "min": null,              "max": null,              "precision": 0,              "step": null,              "isValid": true            },            "propertyDescription": "string",            "explanation": "string"          },          "appliedExtras": [            {              "id": "string",              "materialId": 0,              "materialCategoryId": 0,              "categoryExtraId": 0,              "quantity": 0.1,              "description": "string",              "priceElement": {                "code": "string",                "materialId": 0,                "supplierCode": "string",                "description": "string",                "purchasePrice": {                  "unitPurchasePrice": 0,                  "totalPurchasePrice": 0                },                "quantity": 0.1,                "totalPrice": 0.1,                "totalPriceBeforePromotion": 0.1,                "unit": "string",                "unitPrice": 0.1,                "unitPriceBeforePromotion": 0.1,                "totalPriceExclVat": 0.1,                "unitPriceExclVat": 0.1,                "vatAmount": 0.1,                "vatPercentage": 0.1              }            }          ],          "children": [            {              "wizardStepItemId": 0,              "name": "string",              "description": "string",              "image": "string",              "kind": "Property",              "categoryLink": {                "id": 0,                "categoryLinkMaterial": {                  "materialCode": "string",                  "supplierCode": "string",                  "materialId": 0,                  "materialDescription": "string",                  "materialColor": "string",                  "materialRemarks": "string",                  "materialComposition": "string",                  "materialSalePrice": 0,                  "saleQuantity": 0,                  "calcQuantity": 0,                  "calcQuantityNet": 0,                  "saleUnit": "string",                  "supplierId": 0,                  "supplierSbnKey": 0,                  "price": {                    "discountAmount": 0.1,                    "priceGroups": [                      {                        "code": "string",                        "description": "string",                        "displayOrder": 0,                        "elements": [                          {                            "code": "string",                            "materialId": 0,                            "supplierCode": "string",                            "description": "string",                            "purchasePrice": {},                            "quantity": 0.1,                            "totalPrice": 0.1,                            "totalPriceBeforePromotion": 0.1,                            "unit": "string",                            "unitPrice": 0.1,                            "unitPriceBeforePromotion": 0.1,                            "totalPriceExclVat": 0.1,                            "unitPriceExclVat": 0.1,                            "vatAmount": 0.1,                            "vatPercentage": 0.1                          }                        ]                      }                    ],                    "promotions": [                      {                        "code": "string",                        "description": "string",                        "priceDiscount": 0.1,                        "reference": "string",                        "validUntil": "2019-08-24T14:15:22Z",                        "priceDiscountExclVat": 0.1,                        "attributes": {                          "property1": "string",                          "property2": "string"                        }                      }                    ],                    "totalPrice": 0.1,                    "totalPriceBeforePromotions": 0.1,                    "totalPurchasePrice": 0.1                  },                  "properties": [                    {                      "id": 0,                      "controlType": "Text",                      "customControlCode": "string",                      "dataType": 0,                      "valueDataType": "None",                      "defaultControlType": "Text",                      "description": "string",                      "displayLabel": "string",                      "displayOrder": 0,                      "displaySuffix": "string",                      "hasDynamicDescription": true,                      "interfaceKey": "string",                      "isModified": true,                      "isModifiedByApp": true,                      "isReadonly": true,                      "isRequired": true,                      "isVisible": true,                      "isAvailableBeforeCalculation": true,                      "listValues": [                        {                          "description": "string",                          "imageUrl": "string",                          "interfaceKey": "string",                          "skills": "string",                          "remarks": "string",                          "value": "string",                          "isDisabled": true,                          "priceDifference": 0,                          "price": 0,                          "categoryLinkPropertyId": 0,                          "contentBlockId": "string"                        }                      ],                      "propertyId": 0,                      "remarks": "string",                      "value": "string",                      "validation": {                        "min": null,                        "max": null,                        "precision": 0,                        "step": null,                        "isValid": true                      },                      "imageUrl": "string",                      "explanation": "string"                    }                  ],                  "messages": [                    {                      "context": "None",                      "contextReference": "string",                      "kind": "Information",                      "scope": "None",                      "text": "string",                      "origin": "Default"                    }                  ],                  "redistributionInfo": "string"                },                "categoryMaterialOptionFilter": 0,                "categoryMaterialOptionInterfaceKeys": [                  "string"                ],                "childCategoryDescription": "string",                "childCategoryId": 0,                "description": "string",                "imageUrl": "string",                "interfaceKey": "string",                "isEnabled": true,                "isMainCategory": true,                "parentCategoryId": 0,                "quantityDescription": "string",                "remarks": "string",                "requiredLevel": "None",                "options": [                  "None"                ]              },              "customCode": "string",              "categoryExtraCode": "string",              "contentBlockId": "string",              "option": {                "id": "string",                "label": "string",                "value": "string",                "dataType": "None",                "controlType": "Text",                "defaultControlType": "Text",                "customControlCode": "string",                "isRequired": true,                "isVisible": true,                "displaySuffix": "string",                "isReadonly": true,                "description": "string",                "imageUrl": "string",                "values": [                  {                    "label": "string",                    "value": "string",                    "imageUrl": "string",                    "isDisabled": true,                    "priceDifference": 0,                    "price": 0,                    "contentBlockId": "string",                    "description": "string"                  }                ],                "validation": {                  "min": null,                  "max": null,                  "precision": 0,                  "step": null,                  "isValid": true                },                "propertyDescription": "string",                "explanation": "string"              },              "appliedExtras": [                {                  "id": "string",                  "materialId": 0,                  "materialCategoryId": 0,                  "categoryExtraId": 0,                  "quantity": 0.1,                  "description": "string",                  "priceElement": {                    "code": "string",                    "materialId": 0,                    "supplierCode": "string",                    "description": "string",                    "purchasePrice": {                      "unitPurchasePrice": 0,                      "totalPurchasePrice": 0                    },                    "quantity": 0.1,                    "totalPrice": 0.1,                    "totalPriceBeforePromotion": 0.1,                    "unit": "string",                    "unitPrice": 0.1,                    "unitPriceBeforePromotion": 0.1,                    "totalPriceExclVat": 0.1,                    "unitPriceExclVat": 0.1,                    "vatAmount": 0.1,                    "vatPercentage": 0.1                  }                }              ],              "children": [],              "messages": [                {                  "context": "None",                  "contextReference": "string",                  "kind": "Information",                  "scope": "None",                  "text": "string",                  "origin": "Default"                }              ],              "isValid": true            }          ],          "messages": [            {              "context": "None",              "contextReference": "string",              "kind": "Information",              "scope": "None",              "text": "string",              "origin": "Default"            }          ],          "isValid": true        }      ],      "messages": [        {          "context": "None",          "contextReference": "string",          "kind": "Information",          "scope": "None",          "text": "string",          "origin": "Default"        }      ],      "isValid": true,      "isEnabled": true    }  ],  "attributes": {    "property1": "string",    "property2": "string"  },  "state": "New",  "messages": [    {      "context": "None",      "contextReference": "string",      "kind": "Information",      "scope": "None",      "text": "string",      "origin": "Default"    }  ],  "materials": [    {      "categoryLinkId": 0,      "interfaceKey": "string",      "isMainMaterial": true,      "material": {        "id": 0,        "attachments": [          {            "kind": "Pdf",            "path": "string",            "pathKind": "Relative",            "content": "string"          }        ],        "categoryDescription": "string",        "categoryId": 0,        "code": "string",        "color": "string",        "colorDescription": "string",        "composition": "string",        "description": "string",        "eanCode": "string",        "extraFieldValues": [          {            "displayOrder": 0,            "extraField": 0,            "extraFieldName": "string",            "extraFieldNameResource": "string",            "image": "string",            "value": "string",            "valueResource": "string"          }        ],        "height": 0,        "imageUrl": "string",        "isWage": true,        "leadTime": 0,        "length": 0,        "materialOptionValues": [          {            "description": "string",            "value": 0,            "interfaceKey": "string"          }        ],        "materialGroups": [          {            "id": 0,            "code": "string",            "description": "string",            "children": [              {                "id": 0,                "code": "string",                "description": "string",                "children": []              }            ]          }        ],        "materialKind": {          "description": "string",          "value": 0,          "interfaceKey": "string"        },        "materialStyle": {          "description": "string",          "value": 0,          "interfaceKey": "string"        },        "patternLength": 0,        "patternWidth": 0,        "promotionPrice": 0,        "remarks": "string",        "salePrice": 0,        "saleUnit": "Millimeters",        "shrinkTolerance": 0,        "supplierCode": "string",        "supplierId": 0,        "supplierSbnKey": 0,        "unit": "Millimeters",        "validModelIds": [          "string"        ],        "washingSymbols": "string",        "weight": 0,        "width": 0      }    }  ]}
{  "type": "string",  "title": "string",  "status": 0,  "detail": "string",  "instance": "string",  "extensions": {    "property1": null,    "property2": null  },  "errors": {    "property1": [      "string"    ],    "property2": [      "string"    ]  },  "property1": null,  "property2": null}
{  "type": "string",  "title": "string",  "status": 0,  "detail": "string",  "instance": "string",  "extensions": {    "property1": null,    "property2": null  },  "property1": null,  "property2": null}
POST/api/gateway/v2/wizardpolygon/create

Create a wizard Polygon. A wizard Polygon is a Polygon that is not part of a Project and should always be moved to a Project when it needs to be ordered.

Request Body

application/json

Options for the Polygon to create.

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/api/gateway/v2/wizardpolygon/create" \  -H "Content-Type: application/json" \  -d '{}'
{  "id": "string",  "wizardId": 0,  "wizardName": "string",  "isValid": true,  "polygonDescription": "string",  "modelId": "string",  "leadTime": 0.1,  "dimensions": {    "width": {      "value": 0,      "grossValue": 0,      "correction": 0,      "minValue": 0,      "maxValue": 0,      "measurementTypeSettingId": 0    },    "height": {      "value": 0,      "grossValue": 0,      "correction": 0,      "minValue": 0,      "maxValue": 0,      "measurementTypeSettingId": 0    }  },  "prices": {    "discountAmount": 0.1,    "priceGroups": [      {        "code": "string",        "description": "string",        "displayOrder": 0,        "elements": [          {            "code": "string",            "materialId": 0,            "supplierCode": "string",            "description": "string",            "purchasePrice": {              "unitPurchasePrice": 0,              "totalPurchasePrice": 0            },            "quantity": 0.1,            "totalPrice": 0.1,            "totalPriceBeforePromotion": 0.1,            "unit": "string",            "unitPrice": 0.1,            "unitPriceBeforePromotion": 0.1,            "totalPriceExclVat": 0.1,            "unitPriceExclVat": 0.1,            "vatAmount": 0.1,            "vatPercentage": 0.1          }        ]      }    ],    "promotions": [      {        "code": "string",        "description": "string",        "priceDiscount": 0.1,        "reference": "string",        "validUntil": "2019-08-24T14:15:22Z",        "priceDiscountExclVat": 0.1,        "attributes": {          "property1": "string",          "property2": "string"        }      }    ],    "totalPrice": 0.1,    "totalPriceBeforePromotions": 0.1,    "totalPurchasePrice": 0.1  },  "steps": [    {      "name": "string",      "wizardStepId": 0,      "kind": "Property",      "description": "string",      "displayOrder": 0,      "code": "string",      "items": [        {          "wizardStepItemId": 0,          "name": "string",          "description": "string",          "image": "string",          "kind": "Property",          "categoryLink": {            "id": 0,            "categoryLinkMaterial": {              "materialCode": "string",              "supplierCode": "string",              "materialId": 0,              "materialDescription": "string",              "materialColor": "string",              "materialRemarks": "string",              "materialComposition": "string",              "materialSalePrice": 0,              "saleQuantity": 0,              "calcQuantity": 0,              "calcQuantityNet": 0,              "saleUnit": "string",              "supplierId": 0,              "supplierSbnKey": 0,              "price": {                "discountAmount": 0.1,                "priceGroups": [                  {                    "code": "string",                    "description": "string",                    "displayOrder": 0,                    "elements": [                      {                        "code": "string",                        "materialId": 0,                        "supplierCode": "string",                        "description": "string",                        "purchasePrice": {                          "unitPurchasePrice": 0,                          "totalPurchasePrice": 0                        },                        "quantity": 0.1,                        "totalPrice": 0.1,                        "totalPriceBeforePromotion": 0.1,                        "unit": "string",                        "unitPrice": 0.1,                        "unitPriceBeforePromotion": 0.1,                        "totalPriceExclVat": 0.1,                        "unitPriceExclVat": 0.1,                        "vatAmount": 0.1,                        "vatPercentage": 0.1                      }                    ]                  }                ],                "promotions": [                  {                    "code": "string",                    "description": "string",                    "priceDiscount": 0.1,                    "reference": "string",                    "validUntil": "2019-08-24T14:15:22Z",                    "priceDiscountExclVat": 0.1,                    "attributes": {                      "property1": "string",                      "property2": "string"                    }                  }                ],                "totalPrice": 0.1,                "totalPriceBeforePromotions": 0.1,                "totalPurchasePrice": 0.1              },              "properties": [                {                  "id": 0,                  "controlType": "Text",                  "customControlCode": "string",                  "dataType": 0,                  "valueDataType": "None",                  "defaultControlType": "Text",                  "description": "string",                  "displayLabel": "string",                  "displayOrder": 0,                  "displaySuffix": "string",                  "hasDynamicDescription": true,                  "interfaceKey": "string",                  "isModified": true,                  "isModifiedByApp": true,                  "isReadonly": true,                  "isRequired": true,                  "isVisible": true,                  "isAvailableBeforeCalculation": true,                  "listValues": [                    {                      "description": "string",                      "imageUrl": "string",                      "interfaceKey": "string",                      "skills": "string",                      "remarks": "string",                      "value": "string",                      "isDisabled": true,                      "priceDifference": 0,                      "price": 0,                      "categoryLinkPropertyId": 0,                      "contentBlockId": "string"                    }                  ],                  "propertyId": 0,                  "remarks": "string",                  "value": "string",                  "validation": {                    "min": null,                    "max": null,                    "precision": 0,                    "step": null,                    "isValid": true                  },                  "imageUrl": "string",                  "explanation": "string"                }              ],              "messages": [                {                  "context": "None",                  "contextReference": "string",                  "kind": "Information",                  "scope": "None",                  "text": "string",                  "origin": "Default"                }              ],              "redistributionInfo": "string"            },            "categoryMaterialOptionFilter": 0,            "categoryMaterialOptionInterfaceKeys": [              "string"            ],            "childCategoryDescription": "string",            "childCategoryId": 0,            "description": "string",            "imageUrl": "string",            "interfaceKey": "string",            "isEnabled": true,            "isMainCategory": true,            "parentCategoryId": 0,            "quantityDescription": "string",            "remarks": "string",            "requiredLevel": "None",            "options": [              "None"            ]          },          "customCode": "string",          "categoryExtraCode": "string",          "contentBlockId": "string",          "option": {            "id": "string",            "label": "string",            "value": "string",            "dataType": "None",            "controlType": "Text",            "defaultControlType": "Text",            "customControlCode": "string",            "isRequired": true,            "isVisible": true,            "displaySuffix": "string",            "isReadonly": true,            "description": "string",            "imageUrl": "string",            "values": [              {                "label": "string",                "value": "string",                "imageUrl": "string",                "isDisabled": true,                "priceDifference": 0,                "price": 0,                "contentBlockId": "string",                "description": "string"              }            ],            "validation": {              "min": null,              "max": null,              "precision": 0,              "step": null,              "isValid": true            },            "propertyDescription": "string",            "explanation": "string"          },          "appliedExtras": [            {              "id": "string",              "materialId": 0,              "materialCategoryId": 0,              "categoryExtraId": 0,              "quantity": 0.1,              "description": "string",              "priceElement": {                "code": "string",                "materialId": 0,                "supplierCode": "string",                "description": "string",                "purchasePrice": {                  "unitPurchasePrice": 0,                  "totalPurchasePrice": 0                },                "quantity": 0.1,                "totalPrice": 0.1,                "totalPriceBeforePromotion": 0.1,                "unit": "string",                "unitPrice": 0.1,                "unitPriceBeforePromotion": 0.1,                "totalPriceExclVat": 0.1,                "unitPriceExclVat": 0.1,                "vatAmount": 0.1,                "vatPercentage": 0.1              }            }          ],          "children": [            {              "wizardStepItemId": 0,              "name": "string",              "description": "string",              "image": "string",              "kind": "Property",              "categoryLink": {                "id": 0,                "categoryLinkMaterial": {                  "materialCode": "string",                  "supplierCode": "string",                  "materialId": 0,                  "materialDescription": "string",                  "materialColor": "string",                  "materialRemarks": "string",                  "materialComposition": "string",                  "materialSalePrice": 0,                  "saleQuantity": 0,                  "calcQuantity": 0,                  "calcQuantityNet": 0,                  "saleUnit": "string",                  "supplierId": 0,                  "supplierSbnKey": 0,                  "price": {                    "discountAmount": 0.1,                    "priceGroups": [                      {                        "code": "string",                        "description": "string",                        "displayOrder": 0,                        "elements": [                          {                            "code": "string",                            "materialId": 0,                            "supplierCode": "string",                            "description": "string",                            "purchasePrice": {},                            "quantity": 0.1,                            "totalPrice": 0.1,                            "totalPriceBeforePromotion": 0.1,                            "unit": "string",                            "unitPrice": 0.1,                            "unitPriceBeforePromotion": 0.1,                            "totalPriceExclVat": 0.1,                            "unitPriceExclVat": 0.1,                            "vatAmount": 0.1,                            "vatPercentage": 0.1                          }                        ]                      }                    ],                    "promotions": [                      {                        "code": "string",                        "description": "string",                        "priceDiscount": 0.1,                        "reference": "string",                        "validUntil": "2019-08-24T14:15:22Z",                        "priceDiscountExclVat": 0.1,                        "attributes": {                          "property1": "string",                          "property2": "string"                        }                      }                    ],                    "totalPrice": 0.1,                    "totalPriceBeforePromotions": 0.1,                    "totalPurchasePrice": 0.1                  },                  "properties": [                    {                      "id": 0,                      "controlType": "Text",                      "customControlCode": "string",                      "dataType": 0,                      "valueDataType": "None",                      "defaultControlType": "Text",                      "description": "string",                      "displayLabel": "string",                      "displayOrder": 0,                      "displaySuffix": "string",                      "hasDynamicDescription": true,                      "interfaceKey": "string",                      "isModified": true,                      "isModifiedByApp": true,                      "isReadonly": true,                      "isRequired": true,                      "isVisible": true,                      "isAvailableBeforeCalculation": true,                      "listValues": [                        {                          "description": "string",                          "imageUrl": "string",                          "interfaceKey": "string",                          "skills": "string",                          "remarks": "string",                          "value": "string",                          "isDisabled": true,                          "priceDifference": 0,                          "price": 0,                          "categoryLinkPropertyId": 0,                          "contentBlockId": "string"                        }                      ],                      "propertyId": 0,                      "remarks": "string",                      "value": "string",                      "validation": {                        "min": null,                        "max": null,                        "precision": 0,                        "step": null,                        "isValid": true                      },                      "imageUrl": "string",                      "explanation": "string"                    }                  ],                  "messages": [                    {                      "context": "None",                      "contextReference": "string",                      "kind": "Information",                      "scope": "None",                      "text": "string",                      "origin": "Default"                    }                  ],                  "redistributionInfo": "string"                },                "categoryMaterialOptionFilter": 0,                "categoryMaterialOptionInterfaceKeys": [                  "string"                ],                "childCategoryDescription": "string",                "childCategoryId": 0,                "description": "string",                "imageUrl": "string",                "interfaceKey": "string",                "isEnabled": true,                "isMainCategory": true,                "parentCategoryId": 0,                "quantityDescription": "string",                "remarks": "string",                "requiredLevel": "None",                "options": [                  "None"                ]              },              "customCode": "string",              "categoryExtraCode": "string",              "contentBlockId": "string",              "option": {                "id": "string",                "label": "string",                "value": "string",                "dataType": "None",                "controlType": "Text",                "defaultControlType": "Text",                "customControlCode": "string",                "isRequired": true,                "isVisible": true,                "displaySuffix": "string",                "isReadonly": true,                "description": "string",                "imageUrl": "string",                "values": [                  {                    "label": "string",                    "value": "string",                    "imageUrl": "string",                    "isDisabled": true,                    "priceDifference": 0,                    "price": 0,                    "contentBlockId": "string",                    "description": "string"                  }                ],                "validation": {                  "min": null,                  "max": null,                  "precision": 0,                  "step": null,                  "isValid": true                },                "propertyDescription": "string",                "explanation": "string"              },              "appliedExtras": [                {                  "id": "string",                  "materialId": 0,                  "materialCategoryId": 0,                  "categoryExtraId": 0,                  "quantity": 0.1,                  "description": "string",                  "priceElement": {                    "code": "string",                    "materialId": 0,                    "supplierCode": "string",                    "description": "string",                    "purchasePrice": {                      "unitPurchasePrice": 0,                      "totalPurchasePrice": 0                    },                    "quantity": 0.1,                    "totalPrice": 0.1,                    "totalPriceBeforePromotion": 0.1,                    "unit": "string",                    "unitPrice": 0.1,                    "unitPriceBeforePromotion": 0.1,                    "totalPriceExclVat": 0.1,                    "unitPriceExclVat": 0.1,                    "vatAmount": 0.1,                    "vatPercentage": 0.1                  }                }              ],              "children": [],              "messages": [                {                  "context": "None",                  "contextReference": "string",                  "kind": "Information",                  "scope": "None",                  "text": "string",                  "origin": "Default"                }              ],              "isValid": true            }          ],          "messages": [            {              "context": "None",              "contextReference": "string",              "kind": "Information",              "scope": "None",              "text": "string",              "origin": "Default"            }          ],          "isValid": true        }      ],      "messages": [        {          "context": "None",          "contextReference": "string",          "kind": "Information",          "scope": "None",          "text": "string",          "origin": "Default"        }      ],      "isValid": true,      "isEnabled": true    }  ],  "attributes": {    "property1": "string",    "property2": "string"  },  "state": "New",  "messages": [    {      "context": "None",      "contextReference": "string",      "kind": "Information",      "scope": "None",      "text": "string",      "origin": "Default"    }  ],  "materials": [    {      "categoryLinkId": 0,      "interfaceKey": "string",      "isMainMaterial": true,      "material": {        "id": 0,        "attachments": [          {            "kind": "Pdf",            "path": "string",            "pathKind": "Relative",            "content": "string"          }        ],        "categoryDescription": "string",        "categoryId": 0,        "code": "string",        "color": "string",        "colorDescription": "string",        "composition": "string",        "description": "string",        "eanCode": "string",        "extraFieldValues": [          {            "displayOrder": 0,            "extraField": 0,            "extraFieldName": "string",            "extraFieldNameResource": "string",            "image": "string",            "value": "string",            "valueResource": "string"          }        ],        "height": 0,        "imageUrl": "string",        "isWage": true,        "leadTime": 0,        "length": 0,        "materialOptionValues": [          {            "description": "string",            "value": 0,            "interfaceKey": "string"          }        ],        "materialGroups": [          {            "id": 0,            "code": "string",            "description": "string",            "children": [              {                "id": 0,                "code": "string",                "description": "string",                "children": []              }            ]          }        ],        "materialKind": {          "description": "string",          "value": 0,          "interfaceKey": "string"        },        "materialStyle": {          "description": "string",          "value": 0,          "interfaceKey": "string"        },        "patternLength": 0,        "patternWidth": 0,        "promotionPrice": 0,        "remarks": "string",        "salePrice": 0,        "saleUnit": "Millimeters",        "shrinkTolerance": 0,        "supplierCode": "string",        "supplierId": 0,        "supplierSbnKey": 0,        "unit": "Millimeters",        "validModelIds": [          "string"        ],        "washingSymbols": "string",        "weight": 0,        "width": 0      }    }  ]}
{  "type": "string",  "title": "string",  "status": 0,  "detail": "string",  "instance": "string",  "extensions": {    "property1": null,    "property2": null  },  "errors": {    "property1": [      "string"    ],    "property2": [      "string"    ]  },  "property1": null,  "property2": null}
{  "type": "string",  "title": "string",  "status": 0,  "detail": "string",  "instance": "string",  "extensions": {    "property1": null,    "property2": null  },  "property1": null,  "property2": null}
POST/api/gateway/v2/wizardpolygon/canceledit

Cancel the Editing state of a polygon. This call reverts the snapshot created when the state was set to Editing.

Request Body

application/json

Options for which Polygon to cancel the edit for.

TypeScript Definitions

Use the request body type in TypeScript.

Contains information for which Polygon the edit should be cancelled.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/api/gateway/v2/wizardpolygon/canceledit" \  -H "Content-Type: application/json" \  -d '{    "polygonId": "string"  }'
{  "id": "string",  "wizardId": 0,  "wizardName": "string",  "isValid": true,  "polygonDescription": "string",  "modelId": "string",  "leadTime": 0.1,  "dimensions": {    "width": {      "value": 0,      "grossValue": 0,      "correction": 0,      "minValue": 0,      "maxValue": 0,      "measurementTypeSettingId": 0    },    "height": {      "value": 0,      "grossValue": 0,      "correction": 0,      "minValue": 0,      "maxValue": 0,      "measurementTypeSettingId": 0    }  },  "prices": {    "discountAmount": 0.1,    "priceGroups": [      {        "code": "string",        "description": "string",        "displayOrder": 0,        "elements": [          {            "code": "string",            "materialId": 0,            "supplierCode": "string",            "description": "string",            "purchasePrice": {              "unitPurchasePrice": 0,              "totalPurchasePrice": 0            },            "quantity": 0.1,            "totalPrice": 0.1,            "totalPriceBeforePromotion": 0.1,            "unit": "string",            "unitPrice": 0.1,            "unitPriceBeforePromotion": 0.1,            "totalPriceExclVat": 0.1,            "unitPriceExclVat": 0.1,            "vatAmount": 0.1,            "vatPercentage": 0.1          }        ]      }    ],    "promotions": [      {        "code": "string",        "description": "string",        "priceDiscount": 0.1,        "reference": "string",        "validUntil": "2019-08-24T14:15:22Z",        "priceDiscountExclVat": 0.1,        "attributes": {          "property1": "string",          "property2": "string"        }      }    ],    "totalPrice": 0.1,    "totalPriceBeforePromotions": 0.1,    "totalPurchasePrice": 0.1  },  "steps": [    {      "name": "string",      "wizardStepId": 0,      "kind": "Property",      "description": "string",      "displayOrder": 0,      "code": "string",      "items": [        {          "wizardStepItemId": 0,          "name": "string",          "description": "string",          "image": "string",          "kind": "Property",          "categoryLink": {            "id": 0,            "categoryLinkMaterial": {              "materialCode": "string",              "supplierCode": "string",              "materialId": 0,              "materialDescription": "string",              "materialColor": "string",              "materialRemarks": "string",              "materialComposition": "string",              "materialSalePrice": 0,              "saleQuantity": 0,              "calcQuantity": 0,              "calcQuantityNet": 0,              "saleUnit": "string",              "supplierId": 0,              "supplierSbnKey": 0,              "price": {                "discountAmount": 0.1,                "priceGroups": [                  {                    "code": "string",                    "description": "string",                    "displayOrder": 0,                    "elements": [                      {                        "code": "string",                        "materialId": 0,                        "supplierCode": "string",                        "description": "string",                        "purchasePrice": {                          "unitPurchasePrice": 0,                          "totalPurchasePrice": 0                        },                        "quantity": 0.1,                        "totalPrice": 0.1,                        "totalPriceBeforePromotion": 0.1,                        "unit": "string",                        "unitPrice": 0.1,                        "unitPriceBeforePromotion": 0.1,                        "totalPriceExclVat": 0.1,                        "unitPriceExclVat": 0.1,                        "vatAmount": 0.1,                        "vatPercentage": 0.1                      }                    ]                  }                ],                "promotions": [                  {                    "code": "string",                    "description": "string",                    "priceDiscount": 0.1,                    "reference": "string",                    "validUntil": "2019-08-24T14:15:22Z",                    "priceDiscountExclVat": 0.1,                    "attributes": {                      "property1": "string",                      "property2": "string"                    }                  }                ],                "totalPrice": 0.1,                "totalPriceBeforePromotions": 0.1,                "totalPurchasePrice": 0.1              },              "properties": [                {                  "id": 0,                  "controlType": "Text",                  "customControlCode": "string",                  "dataType": 0,                  "valueDataType": "None",                  "defaultControlType": "Text",                  "description": "string",                  "displayLabel": "string",                  "displayOrder": 0,                  "displaySuffix": "string",                  "hasDynamicDescription": true,                  "interfaceKey": "string",                  "isModified": true,                  "isModifiedByApp": true,                  "isReadonly": true,                  "isRequired": true,                  "isVisible": true,                  "isAvailableBeforeCalculation": true,                  "listValues": [                    {                      "description": "string",                      "imageUrl": "string",                      "interfaceKey": "string",                      "skills": "string",                      "remarks": "string",                      "value": "string",                      "isDisabled": true,                      "priceDifference": 0,                      "price": 0,                      "categoryLinkPropertyId": 0,                      "contentBlockId": "string"                    }                  ],                  "propertyId": 0,                  "remarks": "string",                  "value": "string",                  "validation": {                    "min": null,                    "max": null,                    "precision": 0,                    "step": null,                    "isValid": true                  },                  "imageUrl": "string",                  "explanation": "string"                }              ],              "messages": [                {                  "context": "None",                  "contextReference": "string",                  "kind": "Information",                  "scope": "None",                  "text": "string",                  "origin": "Default"                }              ],              "redistributionInfo": "string"            },            "categoryMaterialOptionFilter": 0,            "categoryMaterialOptionInterfaceKeys": [              "string"            ],            "childCategoryDescription": "string",            "childCategoryId": 0,            "description": "string",            "imageUrl": "string",            "interfaceKey": "string",            "isEnabled": true,            "isMainCategory": true,            "parentCategoryId": 0,            "quantityDescription": "string",            "remarks": "string",            "requiredLevel": "None",            "options": [              "None"            ]          },          "customCode": "string",          "categoryExtraCode": "string",          "contentBlockId": "string",          "option": {            "id": "string",            "label": "string",            "value": "string",            "dataType": "None",            "controlType": "Text",            "defaultControlType": "Text",            "customControlCode": "string",            "isRequired": true,            "isVisible": true,            "displaySuffix": "string",            "isReadonly": true,            "description": "string",            "imageUrl": "string",            "values": [              {                "label": "string",                "value": "string",                "imageUrl": "string",                "isDisabled": true,                "priceDifference": 0,                "price": 0,                "contentBlockId": "string",                "description": "string"              }            ],            "validation": {              "min": null,              "max": null,              "precision": 0,              "step": null,              "isValid": true            },            "propertyDescription": "string",            "explanation": "string"          },          "appliedExtras": [            {              "id": "string",              "materialId": 0,              "materialCategoryId": 0,              "categoryExtraId": 0,              "quantity": 0.1,              "description": "string",              "priceElement": {                "code": "string",                "materialId": 0,                "supplierCode": "string",                "description": "string",                "purchasePrice": {                  "unitPurchasePrice": 0,                  "totalPurchasePrice": 0                },                "quantity": 0.1,                "totalPrice": 0.1,                "totalPriceBeforePromotion": 0.1,                "unit": "string",                "unitPrice": 0.1,                "unitPriceBeforePromotion": 0.1,                "totalPriceExclVat": 0.1,                "unitPriceExclVat": 0.1,                "vatAmount": 0.1,                "vatPercentage": 0.1              }            }          ],          "children": [            {              "wizardStepItemId": 0,              "name": "string",              "description": "string",              "image": "string",              "kind": "Property",              "categoryLink": {                "id": 0,                "categoryLinkMaterial": {                  "materialCode": "string",                  "supplierCode": "string",                  "materialId": 0,                  "materialDescription": "string",                  "materialColor": "string",                  "materialRemarks": "string",                  "materialComposition": "string",                  "materialSalePrice": 0,                  "saleQuantity": 0,                  "calcQuantity": 0,                  "calcQuantityNet": 0,                  "saleUnit": "string",                  "supplierId": 0,                  "supplierSbnKey": 0,                  "price": {                    "discountAmount": 0.1,                    "priceGroups": [                      {                        "code": "string",                        "description": "string",                        "displayOrder": 0,                        "elements": [                          {                            "code": "string",                            "materialId": 0,                            "supplierCode": "string",                            "description": "string",                            "purchasePrice": {},                            "quantity": 0.1,                            "totalPrice": 0.1,                            "totalPriceBeforePromotion": 0.1,                            "unit": "string",                            "unitPrice": 0.1,                            "unitPriceBeforePromotion": 0.1,                            "totalPriceExclVat": 0.1,                            "unitPriceExclVat": 0.1,                            "vatAmount": 0.1,                            "vatPercentage": 0.1                          }                        ]                      }                    ],                    "promotions": [                      {                        "code": "string",                        "description": "string",                        "priceDiscount": 0.1,                        "reference": "string",                        "validUntil": "2019-08-24T14:15:22Z",                        "priceDiscountExclVat": 0.1,                        "attributes": {                          "property1": "string",                          "property2": "string"                        }                      }                    ],                    "totalPrice": 0.1,                    "totalPriceBeforePromotions": 0.1,                    "totalPurchasePrice": 0.1                  },                  "properties": [                    {                      "id": 0,                      "controlType": "Text",                      "customControlCode": "string",                      "dataType": 0,                      "valueDataType": "None",                      "defaultControlType": "Text",                      "description": "string",                      "displayLabel": "string",                      "displayOrder": 0,                      "displaySuffix": "string",                      "hasDynamicDescription": true,                      "interfaceKey": "string",                      "isModified": true,                      "isModifiedByApp": true,                      "isReadonly": true,                      "isRequired": true,                      "isVisible": true,                      "isAvailableBeforeCalculation": true,                      "listValues": [                        {                          "description": "string",                          "imageUrl": "string",                          "interfaceKey": "string",                          "skills": "string",                          "remarks": "string",                          "value": "string",                          "isDisabled": true,                          "priceDifference": 0,                          "price": 0,                          "categoryLinkPropertyId": 0,                          "contentBlockId": "string"                        }                      ],                      "propertyId": 0,                      "remarks": "string",                      "value": "string",                      "validation": {                        "min": null,                        "max": null,                        "precision": 0,                        "step": null,                        "isValid": true                      },                      "imageUrl": "string",                      "explanation": "string"                    }                  ],                  "messages": [                    {                      "context": "None",                      "contextReference": "string",                      "kind": "Information",                      "scope": "None",                      "text": "string",                      "origin": "Default"                    }                  ],                  "redistributionInfo": "string"                },                "categoryMaterialOptionFilter": 0,                "categoryMaterialOptionInterfaceKeys": [                  "string"                ],                "childCategoryDescription": "string",                "childCategoryId": 0,                "description": "string",                "imageUrl": "string",                "interfaceKey": "string",                "isEnabled": true,                "isMainCategory": true,                "parentCategoryId": 0,                "quantityDescription": "string",                "remarks": "string",                "requiredLevel": "None",                "options": [                  "None"                ]              },              "customCode": "string",              "categoryExtraCode": "string",              "contentBlockId": "string",              "option": {                "id": "string",                "label": "string",                "value": "string",                "dataType": "None",                "controlType": "Text",                "defaultControlType": "Text",                "customControlCode": "string",                "isRequired": true,                "isVisible": true,                "displaySuffix": "string",                "isReadonly": true,                "description": "string",                "imageUrl": "string",                "values": [                  {                    "label": "string",                    "value": "string",                    "imageUrl": "string",                    "isDisabled": true,                    "priceDifference": 0,                    "price": 0,                    "contentBlockId": "string",                    "description": "string"                  }                ],                "validation": {                  "min": null,                  "max": null,                  "precision": 0,                  "step": null,                  "isValid": true                },                "propertyDescription": "string",                "explanation": "string"              },              "appliedExtras": [                {                  "id": "string",                  "materialId": 0,                  "materialCategoryId": 0,                  "categoryExtraId": 0,                  "quantity": 0.1,                  "description": "string",                  "priceElement": {                    "code": "string",                    "materialId": 0,                    "supplierCode": "string",                    "description": "string",                    "purchasePrice": {                      "unitPurchasePrice": 0,                      "totalPurchasePrice": 0                    },                    "quantity": 0.1,                    "totalPrice": 0.1,                    "totalPriceBeforePromotion": 0.1,                    "unit": "string",                    "unitPrice": 0.1,                    "unitPriceBeforePromotion": 0.1,                    "totalPriceExclVat": 0.1,                    "unitPriceExclVat": 0.1,                    "vatAmount": 0.1,                    "vatPercentage": 0.1                  }                }              ],              "children": [],              "messages": [                {                  "context": "None",                  "contextReference": "string",                  "kind": "Information",                  "scope": "None",                  "text": "string",                  "origin": "Default"                }              ],              "isValid": true            }          ],          "messages": [            {              "context": "None",              "contextReference": "string",              "kind": "Information",              "scope": "None",              "text": "string",              "origin": "Default"            }          ],          "isValid": true        }      ],      "messages": [        {          "context": "None",          "contextReference": "string",          "kind": "Information",          "scope": "None",          "text": "string",          "origin": "Default"        }      ],      "isValid": true,      "isEnabled": true    }  ],  "attributes": {    "property1": "string",    "property2": "string"  },  "state": "New",  "messages": [    {      "context": "None",      "contextReference": "string",      "kind": "Information",      "scope": "None",      "text": "string",      "origin": "Default"    }  ],  "materials": [    {      "categoryLinkId": 0,      "interfaceKey": "string",      "isMainMaterial": true,      "material": {        "id": 0,        "attachments": [          {            "kind": "Pdf",            "path": "string",            "pathKind": "Relative",            "content": "string"          }        ],        "categoryDescription": "string",        "categoryId": 0,        "code": "string",        "color": "string",        "colorDescription": "string",        "composition": "string",        "description": "string",        "eanCode": "string",        "extraFieldValues": [          {            "displayOrder": 0,            "extraField": 0,            "extraFieldName": "string",            "extraFieldNameResource": "string",            "image": "string",            "value": "string",            "valueResource": "string"          }        ],        "height": 0,        "imageUrl": "string",        "isWage": true,        "leadTime": 0,        "length": 0,        "materialOptionValues": [          {            "description": "string",            "value": 0,            "interfaceKey": "string"          }        ],        "materialGroups": [          {            "id": 0,            "code": "string",            "description": "string",            "children": [              {                "id": 0,                "code": "string",                "description": "string",                "children": []              }            ]          }        ],        "materialKind": {          "description": "string",          "value": 0,          "interfaceKey": "string"        },        "materialStyle": {          "description": "string",          "value": 0,          "interfaceKey": "string"        },        "patternLength": 0,        "patternWidth": 0,        "promotionPrice": 0,        "remarks": "string",        "salePrice": 0,        "saleUnit": "Millimeters",        "shrinkTolerance": 0,        "supplierCode": "string",        "supplierId": 0,        "supplierSbnKey": 0,        "unit": "Millimeters",        "validModelIds": [          "string"        ],        "washingSymbols": "string",        "weight": 0,        "width": 0      }    }  ]}
{  "type": "string",  "title": "string",  "status": 0,  "detail": "string",  "instance": "string",  "extensions": {    "property1": null,    "property2": null  },  "errors": {    "property1": [      "string"    ],    "property2": [      "string"    ]  },  "property1": null,  "property2": null}
{  "type": "string",  "title": "string",  "status": 0,  "detail": "string",  "instance": "string",  "extensions": {    "property1": null,    "property2": null  },  "property1": null,  "property2": null}
POST/api/gateway/v2/wizardpolygon/complete

Set the state of a Polygon to Complete.

Request Body

application/json

Options for which Polygon to complete.

TypeScript Definitions

Use the request body type in TypeScript.

Contains information for which Polygon the state should be set to Completed.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/api/gateway/v2/wizardpolygon/complete" \  -H "Content-Type: application/json" \  -d '{    "polygonId": "string"  }'
{  "id": "string",  "wizardId": 0,  "wizardName": "string",  "isValid": true,  "polygonDescription": "string",  "modelId": "string",  "leadTime": 0.1,  "dimensions": {    "width": {      "value": 0,      "grossValue": 0,      "correction": 0,      "minValue": 0,      "maxValue": 0,      "measurementTypeSettingId": 0    },    "height": {      "value": 0,      "grossValue": 0,      "correction": 0,      "minValue": 0,      "maxValue": 0,      "measurementTypeSettingId": 0    }  },  "prices": {    "discountAmount": 0.1,    "priceGroups": [      {        "code": "string",        "description": "string",        "displayOrder": 0,        "elements": [          {            "code": "string",            "materialId": 0,            "supplierCode": "string",            "description": "string",            "purchasePrice": {              "unitPurchasePrice": 0,              "totalPurchasePrice": 0            },            "quantity": 0.1,            "totalPrice": 0.1,            "totalPriceBeforePromotion": 0.1,            "unit": "string",            "unitPrice": 0.1,            "unitPriceBeforePromotion": 0.1,            "totalPriceExclVat": 0.1,            "unitPriceExclVat": 0.1,            "vatAmount": 0.1,            "vatPercentage": 0.1          }        ]      }    ],    "promotions": [      {        "code": "string",        "description": "string",        "priceDiscount": 0.1,        "reference": "string",        "validUntil": "2019-08-24T14:15:22Z",        "priceDiscountExclVat": 0.1,        "attributes": {          "property1": "string",          "property2": "string"        }      }    ],    "totalPrice": 0.1,    "totalPriceBeforePromotions": 0.1,    "totalPurchasePrice": 0.1  },  "steps": [    {      "name": "string",      "wizardStepId": 0,      "kind": "Property",      "description": "string",      "displayOrder": 0,      "code": "string",      "items": [        {          "wizardStepItemId": 0,          "name": "string",          "description": "string",          "image": "string",          "kind": "Property",          "categoryLink": {            "id": 0,            "categoryLinkMaterial": {              "materialCode": "string",              "supplierCode": "string",              "materialId": 0,              "materialDescription": "string",              "materialColor": "string",              "materialRemarks": "string",              "materialComposition": "string",              "materialSalePrice": 0,              "saleQuantity": 0,              "calcQuantity": 0,              "calcQuantityNet": 0,              "saleUnit": "string",              "supplierId": 0,              "supplierSbnKey": 0,              "price": {                "discountAmount": 0.1,                "priceGroups": [                  {                    "code": "string",                    "description": "string",                    "displayOrder": 0,                    "elements": [                      {                        "code": "string",                        "materialId": 0,                        "supplierCode": "string",                        "description": "string",                        "purchasePrice": {                          "unitPurchasePrice": 0,                          "totalPurchasePrice": 0                        },                        "quantity": 0.1,                        "totalPrice": 0.1,                        "totalPriceBeforePromotion": 0.1,                        "unit": "string",                        "unitPrice": 0.1,                        "unitPriceBeforePromotion": 0.1,                        "totalPriceExclVat": 0.1,                        "unitPriceExclVat": 0.1,                        "vatAmount": 0.1,                        "vatPercentage": 0.1                      }                    ]                  }                ],                "promotions": [                  {                    "code": "string",                    "description": "string",                    "priceDiscount": 0.1,                    "reference": "string",                    "validUntil": "2019-08-24T14:15:22Z",                    "priceDiscountExclVat": 0.1,                    "attributes": {                      "property1": "string",                      "property2": "string"                    }                  }                ],                "totalPrice": 0.1,                "totalPriceBeforePromotions": 0.1,                "totalPurchasePrice": 0.1              },              "properties": [                {                  "id": 0,                  "controlType": "Text",                  "customControlCode": "string",                  "dataType": 0,                  "valueDataType": "None",                  "defaultControlType": "Text",                  "description": "string",                  "displayLabel": "string",                  "displayOrder": 0,                  "displaySuffix": "string",                  "hasDynamicDescription": true,                  "interfaceKey": "string",                  "isModified": true,                  "isModifiedByApp": true,                  "isReadonly": true,                  "isRequired": true,                  "isVisible": true,                  "isAvailableBeforeCalculation": true,                  "listValues": [                    {                      "description": "string",                      "imageUrl": "string",                      "interfaceKey": "string",                      "skills": "string",                      "remarks": "string",                      "value": "string",                      "isDisabled": true,                      "priceDifference": 0,                      "price": 0,                      "categoryLinkPropertyId": 0,                      "contentBlockId": "string"                    }                  ],                  "propertyId": 0,                  "remarks": "string",                  "value": "string",                  "validation": {                    "min": null,                    "max": null,                    "precision": 0,                    "step": null,                    "isValid": true                  },                  "imageUrl": "string",                  "explanation": "string"                }              ],              "messages": [                {                  "context": "None",                  "contextReference": "string",                  "kind": "Information",                  "scope": "None",                  "text": "string",                  "origin": "Default"                }              ],              "redistributionInfo": "string"            },            "categoryMaterialOptionFilter": 0,            "categoryMaterialOptionInterfaceKeys": [              "string"            ],            "childCategoryDescription": "string",            "childCategoryId": 0,            "description": "string",            "imageUrl": "string",            "interfaceKey": "string",            "isEnabled": true,            "isMainCategory": true,            "parentCategoryId": 0,            "quantityDescription": "string",            "remarks": "string",            "requiredLevel": "None",            "options": [              "None"            ]          },          "customCode": "string",          "categoryExtraCode": "string",          "contentBlockId": "string",          "option": {            "id": "string",            "label": "string",            "value": "string",            "dataType": "None",            "controlType": "Text",            "defaultControlType": "Text",            "customControlCode": "string",            "isRequired": true,            "isVisible": true,            "displaySuffix": "string",            "isReadonly": true,            "description": "string",            "imageUrl": "string",            "values": [              {                "label": "string",                "value": "string",                "imageUrl": "string",                "isDisabled": true,                "priceDifference": 0,                "price": 0,                "contentBlockId": "string",                "description": "string"              }            ],            "validation": {              "min": null,              "max": null,              "precision": 0,              "step": null,              "isValid": true            },            "propertyDescription": "string",            "explanation": "string"          },          "appliedExtras": [            {              "id": "string",              "materialId": 0,              "materialCategoryId": 0,              "categoryExtraId": 0,              "quantity": 0.1,              "description": "string",              "priceElement": {                "code": "string",                "materialId": 0,                "supplierCode": "string",                "description": "string",                "purchasePrice": {                  "unitPurchasePrice": 0,                  "totalPurchasePrice": 0                },                "quantity": 0.1,                "totalPrice": 0.1,                "totalPriceBeforePromotion": 0.1,                "unit": "string",                "unitPrice": 0.1,                "unitPriceBeforePromotion": 0.1,                "totalPriceExclVat": 0.1,                "unitPriceExclVat": 0.1,                "vatAmount": 0.1,                "vatPercentage": 0.1              }            }          ],          "children": [            {              "wizardStepItemId": 0,              "name": "string",              "description": "string",              "image": "string",              "kind": "Property",              "categoryLink": {                "id": 0,                "categoryLinkMaterial": {                  "materialCode": "string",                  "supplierCode": "string",                  "materialId": 0,                  "materialDescription": "string",                  "materialColor": "string",                  "materialRemarks": "string",                  "materialComposition": "string",                  "materialSalePrice": 0,                  "saleQuantity": 0,                  "calcQuantity": 0,                  "calcQuantityNet": 0,                  "saleUnit": "string",                  "supplierId": 0,                  "supplierSbnKey": 0,                  "price": {                    "discountAmount": 0.1,                    "priceGroups": [                      {                        "code": "string",                        "description": "string",                        "displayOrder": 0,                        "elements": [                          {                            "code": "string",                            "materialId": 0,                            "supplierCode": "string",                            "description": "string",                            "purchasePrice": {},                            "quantity": 0.1,                            "totalPrice": 0.1,                            "totalPriceBeforePromotion": 0.1,                            "unit": "string",                            "unitPrice": 0.1,                            "unitPriceBeforePromotion": 0.1,                            "totalPriceExclVat": 0.1,                            "unitPriceExclVat": 0.1,                            "vatAmount": 0.1,                            "vatPercentage": 0.1                          }                        ]                      }                    ],                    "promotions": [                      {                        "code": "string",                        "description": "string",                        "priceDiscount": 0.1,                        "reference": "string",                        "validUntil": "2019-08-24T14:15:22Z",                        "priceDiscountExclVat": 0.1,                        "attributes": {                          "property1": "string",                          "property2": "string"                        }                      }                    ],                    "totalPrice": 0.1,                    "totalPriceBeforePromotions": 0.1,                    "totalPurchasePrice": 0.1                  },                  "properties": [                    {                      "id": 0,                      "controlType": "Text",                      "customControlCode": "string",                      "dataType": 0,                      "valueDataType": "None",                      "defaultControlType": "Text",                      "description": "string",                      "displayLabel": "string",                      "displayOrder": 0,                      "displaySuffix": "string",                      "hasDynamicDescription": true,                      "interfaceKey": "string",                      "isModified": true,                      "isModifiedByApp": true,                      "isReadonly": true,                      "isRequired": true,                      "isVisible": true,                      "isAvailableBeforeCalculation": true,                      "listValues": [                        {                          "description": "string",                          "imageUrl": "string",                          "interfaceKey": "string",                          "skills": "string",                          "remarks": "string",                          "value": "string",                          "isDisabled": true,                          "priceDifference": 0,                          "price": 0,                          "categoryLinkPropertyId": 0,                          "contentBlockId": "string"                        }                      ],                      "propertyId": 0,                      "remarks": "string",                      "value": "string",                      "validation": {                        "min": null,                        "max": null,                        "precision": 0,                        "step": null,                        "isValid": true                      },                      "imageUrl": "string",                      "explanation": "string"                    }                  ],                  "messages": [                    {                      "context": "None",                      "contextReference": "string",                      "kind": "Information",                      "scope": "None",                      "text": "string",                      "origin": "Default"                    }                  ],                  "redistributionInfo": "string"                },                "categoryMaterialOptionFilter": 0,                "categoryMaterialOptionInterfaceKeys": [                  "string"                ],                "childCategoryDescription": "string",                "childCategoryId": 0,                "description": "string",                "imageUrl": "string",                "interfaceKey": "string",                "isEnabled": true,                "isMainCategory": true,                "parentCategoryId": 0,                "quantityDescription": "string",                "remarks": "string",                "requiredLevel": "None",                "options": [                  "None"                ]              },              "customCode": "string",              "categoryExtraCode": "string",              "contentBlockId": "string",              "option": {                "id": "string",                "label": "string",                "value": "string",                "dataType": "None",                "controlType": "Text",                "defaultControlType": "Text",                "customControlCode": "string",                "isRequired": true,                "isVisible": true,                "displaySuffix": "string",                "isReadonly": true,                "description": "string",                "imageUrl": "string",                "values": [                  {                    "label": "string",                    "value": "string",                    "imageUrl": "string",                    "isDisabled": true,                    "priceDifference": 0,                    "price": 0,                    "contentBlockId": "string",                    "description": "string"                  }                ],                "validation": {                  "min": null,                  "max": null,                  "precision": 0,                  "step": null,                  "isValid": true                },                "propertyDescription": "string",                "explanation": "string"              },              "appliedExtras": [                {                  "id": "string",                  "materialId": 0,                  "materialCategoryId": 0,                  "categoryExtraId": 0,                  "quantity": 0.1,                  "description": "string",                  "priceElement": {                    "code": "string",                    "materialId": 0,                    "supplierCode": "string",                    "description": "string",                    "purchasePrice": {                      "unitPurchasePrice": 0,                      "totalPurchasePrice": 0                    },                    "quantity": 0.1,                    "totalPrice": 0.1,                    "totalPriceBeforePromotion": 0.1,                    "unit": "string",                    "unitPrice": 0.1,                    "unitPriceBeforePromotion": 0.1,                    "totalPriceExclVat": 0.1,                    "unitPriceExclVat": 0.1,                    "vatAmount": 0.1,                    "vatPercentage": 0.1                  }                }              ],              "children": [],              "messages": [                {                  "context": "None",                  "contextReference": "string",                  "kind": "Information",                  "scope": "None",                  "text": "string",                  "origin": "Default"                }              ],              "isValid": true            }          ],          "messages": [            {              "context": "None",              "contextReference": "string",              "kind": "Information",              "scope": "None",              "text": "string",              "origin": "Default"            }          ],          "isValid": true        }      ],      "messages": [        {          "context": "None",          "contextReference": "string",          "kind": "Information",          "scope": "None",          "text": "string",          "origin": "Default"        }      ],      "isValid": true,      "isEnabled": true    }  ],  "attributes": {    "property1": "string",    "property2": "string"  },  "state": "New",  "messages": [    {      "context": "None",      "contextReference": "string",      "kind": "Information",      "scope": "None",      "text": "string",      "origin": "Default"    }  ],  "materials": [    {      "categoryLinkId": 0,      "interfaceKey": "string",      "isMainMaterial": true,      "material": {        "id": 0,        "attachments": [          {            "kind": "Pdf",            "path": "string",            "pathKind": "Relative",            "content": "string"          }        ],        "categoryDescription": "string",        "categoryId": 0,        "code": "string",        "color": "string",        "colorDescription": "string",        "composition": "string",        "description": "string",        "eanCode": "string",        "extraFieldValues": [          {            "displayOrder": 0,            "extraField": 0,            "extraFieldName": "string",            "extraFieldNameResource": "string",            "image": "string",            "value": "string",            "valueResource": "string"          }        ],        "height": 0,        "imageUrl": "string",        "isWage": true,        "leadTime": 0,        "length": 0,        "materialOptionValues": [          {            "description": "string",            "value": 0,            "interfaceKey": "string"          }        ],        "materialGroups": [          {            "id": 0,            "code": "string",            "description": "string",            "children": [              {                "id": 0,                "code": "string",                "description": "string",                "children": []              }            ]          }        ],        "materialKind": {          "description": "string",          "value": 0,          "interfaceKey": "string"        },        "materialStyle": {          "description": "string",          "value": 0,          "interfaceKey": "string"        },        "patternLength": 0,        "patternWidth": 0,        "promotionPrice": 0,        "remarks": "string",        "salePrice": 0,        "saleUnit": "Millimeters",        "shrinkTolerance": 0,        "supplierCode": "string",        "supplierId": 0,        "supplierSbnKey": 0,        "unit": "Millimeters",        "validModelIds": [          "string"        ],        "washingSymbols": "string",        "weight": 0,        "width": 0      }    }  ]}
{  "type": "string",  "title": "string",  "status": 0,  "detail": "string",  "instance": "string",  "extensions": {    "property1": null,    "property2": null  },  "errors": {    "property1": [      "string"    ],    "property2": [      "string"    ]  },  "property1": null,  "property2": null}
{  "type": "string",  "title": "string",  "status": 0,  "detail": "string",  "instance": "string",  "extensions": {    "property1": null,    "property2": null  },  "property1": null,  "property2": null}
POST/api/gateway/v2/wizardpolygon/copy

Copy a wizard Polygon.

Request Body

application/json

Options for which Polygon to copy, with optional dimensions and description.

TypeScript Definitions

Use the request body type in TypeScript.

Contains the information that is needed for copying a polygon within the same Project.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/api/gateway/v2/wizardpolygon/copy" \  -H "Content-Type: application/json" \  -d '{    "polygonId": "string"  }'
{  "id": "string",  "wizardId": 0,  "wizardName": "string",  "isValid": true,  "polygonDescription": "string",  "modelId": "string",  "leadTime": 0.1,  "dimensions": {    "width": {      "value": 0,      "grossValue": 0,      "correction": 0,      "minValue": 0,      "maxValue": 0,      "measurementTypeSettingId": 0    },    "height": {      "value": 0,      "grossValue": 0,      "correction": 0,      "minValue": 0,      "maxValue": 0,      "measurementTypeSettingId": 0    }  },  "prices": {    "discountAmount": 0.1,    "priceGroups": [      {        "code": "string",        "description": "string",        "displayOrder": 0,        "elements": [          {            "code": "string",            "materialId": 0,            "supplierCode": "string",            "description": "string",            "purchasePrice": {              "unitPurchasePrice": 0,              "totalPurchasePrice": 0            },            "quantity": 0.1,            "totalPrice": 0.1,            "totalPriceBeforePromotion": 0.1,            "unit": "string",            "unitPrice": 0.1,            "unitPriceBeforePromotion": 0.1,            "totalPriceExclVat": 0.1,            "unitPriceExclVat": 0.1,            "vatAmount": 0.1,            "vatPercentage": 0.1          }        ]      }    ],    "promotions": [      {        "code": "string",        "description": "string",        "priceDiscount": 0.1,        "reference": "string",        "validUntil": "2019-08-24T14:15:22Z",        "priceDiscountExclVat": 0.1,        "attributes": {          "property1": "string",          "property2": "string"        }      }    ],    "totalPrice": 0.1,    "totalPriceBeforePromotions": 0.1,    "totalPurchasePrice": 0.1  },  "steps": [    {      "name": "string",      "wizardStepId": 0,      "kind": "Property",      "description": "string",      "displayOrder": 0,      "code": "string",      "items": [        {          "wizardStepItemId": 0,          "name": "string",          "description": "string",          "image": "string",          "kind": "Property",          "categoryLink": {            "id": 0,            "categoryLinkMaterial": {              "materialCode": "string",              "supplierCode": "string",              "materialId": 0,              "materialDescription": "string",              "materialColor": "string",              "materialRemarks": "string",              "materialComposition": "string",              "materialSalePrice": 0,              "saleQuantity": 0,              "calcQuantity": 0,              "calcQuantityNet": 0,              "saleUnit": "string",              "supplierId": 0,              "supplierSbnKey": 0,              "price": {                "discountAmount": 0.1,                "priceGroups": [                  {                    "code": "string",                    "description": "string",                    "displayOrder": 0,                    "elements": [                      {                        "code": "string",                        "materialId": 0,                        "supplierCode": "string",                        "description": "string",                        "purchasePrice": {                          "unitPurchasePrice": 0,                          "totalPurchasePrice": 0                        },                        "quantity": 0.1,                        "totalPrice": 0.1,                        "totalPriceBeforePromotion": 0.1,                        "unit": "string",                        "unitPrice": 0.1,                        "unitPriceBeforePromotion": 0.1,                        "totalPriceExclVat": 0.1,                        "unitPriceExclVat": 0.1,                        "vatAmount": 0.1,                        "vatPercentage": 0.1                      }                    ]                  }                ],                "promotions": [                  {                    "code": "string",                    "description": "string",                    "priceDiscount": 0.1,                    "reference": "string",                    "validUntil": "2019-08-24T14:15:22Z",                    "priceDiscountExclVat": 0.1,                    "attributes": {                      "property1": "string",                      "property2": "string"                    }                  }                ],                "totalPrice": 0.1,                "totalPriceBeforePromotions": 0.1,                "totalPurchasePrice": 0.1              },              "properties": [                {                  "id": 0,                  "controlType": "Text",                  "customControlCode": "string",                  "dataType": 0,                  "valueDataType": "None",                  "defaultControlType": "Text",                  "description": "string",                  "displayLabel": "string",                  "displayOrder": 0,                  "displaySuffix": "string",                  "hasDynamicDescription": true,                  "interfaceKey": "string",                  "isModified": true,                  "isModifiedByApp": true,                  "isReadonly": true,                  "isRequired": true,                  "isVisible": true,                  "isAvailableBeforeCalculation": true,                  "listValues": [                    {                      "description": "string",                      "imageUrl": "string",                      "interfaceKey": "string",                      "skills": "string",                      "remarks": "string",                      "value": "string",                      "isDisabled": true,                      "priceDifference": 0,                      "price": 0,                      "categoryLinkPropertyId": 0,                      "contentBlockId": "string"                    }                  ],                  "propertyId": 0,                  "remarks": "string",                  "value": "string",                  "validation": {                    "min": null,                    "max": null,                    "precision": 0,                    "step": null,                    "isValid": true                  },                  "imageUrl": "string",                  "explanation": "string"                }              ],              "messages": [                {                  "context": "None",                  "contextReference": "string",                  "kind": "Information",                  "scope": "None",                  "text": "string",                  "origin": "Default"                }              ],              "redistributionInfo": "string"            },            "categoryMaterialOptionFilter": 0,            "categoryMaterialOptionInterfaceKeys": [              "string"            ],            "childCategoryDescription": "string",            "childCategoryId": 0,            "description": "string",            "imageUrl": "string",            "interfaceKey": "string",            "isEnabled": true,            "isMainCategory": true,            "parentCategoryId": 0,            "quantityDescription": "string",            "remarks": "string",            "requiredLevel": "None",            "options": [              "None"            ]          },          "customCode": "string",          "categoryExtraCode": "string",          "contentBlockId": "string",          "option": {            "id": "string",            "label": "string",            "value": "string",            "dataType": "None",            "controlType": "Text",            "defaultControlType": "Text",            "customControlCode": "string",            "isRequired": true,            "isVisible": true,            "displaySuffix": "string",            "isReadonly": true,            "description": "string",            "imageUrl": "string",            "values": [              {                "label": "string",                "value": "string",                "imageUrl": "string",                "isDisabled": true,                "priceDifference": 0,                "price": 0,                "contentBlockId": "string",                "description": "string"              }            ],            "validation": {              "min": null,              "max": null,              "precision": 0,              "step": null,              "isValid": true            },            "propertyDescription": "string",            "explanation": "string"          },          "appliedExtras": [            {              "id": "string",              "materialId": 0,              "materialCategoryId": 0,              "categoryExtraId": 0,              "quantity": 0.1,              "description": "string",              "priceElement": {                "code": "string",                "materialId": 0,                "supplierCode": "string",                "description": "string",                "purchasePrice": {                  "unitPurchasePrice": 0,                  "totalPurchasePrice": 0                },                "quantity": 0.1,                "totalPrice": 0.1,                "totalPriceBeforePromotion": 0.1,                "unit": "string",                "unitPrice": 0.1,                "unitPriceBeforePromotion": 0.1,                "totalPriceExclVat": 0.1,                "unitPriceExclVat": 0.1,                "vatAmount": 0.1,                "vatPercentage": 0.1              }            }          ],          "children": [            {              "wizardStepItemId": 0,              "name": "string",              "description": "string",              "image": "string",              "kind": "Property",              "categoryLink": {                "id": 0,                "categoryLinkMaterial": {                  "materialCode": "string",                  "supplierCode": "string",                  "materialId": 0,                  "materialDescription": "string",                  "materialColor": "string",                  "materialRemarks": "string",                  "materialComposition": "string",                  "materialSalePrice": 0,                  "saleQuantity": 0,                  "calcQuantity": 0,                  "calcQuantityNet": 0,                  "saleUnit": "string",                  "supplierId": 0,                  "supplierSbnKey": 0,                  "price": {                    "discountAmount": 0.1,                    "priceGroups": [                      {                        "code": "string",                        "description": "string",                        "displayOrder": 0,                        "elements": [                          {                            "code": "string",                            "materialId": 0,                            "supplierCode": "string",                            "description": "string",                            "purchasePrice": {},                            "quantity": 0.1,                            "totalPrice": 0.1,                            "totalPriceBeforePromotion": 0.1,                            "unit": "string",                            "unitPrice": 0.1,                            "unitPriceBeforePromotion": 0.1,                            "totalPriceExclVat": 0.1,                            "unitPriceExclVat": 0.1,                            "vatAmount": 0.1,                            "vatPercentage": 0.1                          }                        ]                      }                    ],                    "promotions": [                      {                        "code": "string",                        "description": "string",                        "priceDiscount": 0.1,                        "reference": "string",                        "validUntil": "2019-08-24T14:15:22Z",                        "priceDiscountExclVat": 0.1,                        "attributes": {                          "property1": "string",                          "property2": "string"                        }                      }                    ],                    "totalPrice": 0.1,                    "totalPriceBeforePromotions": 0.1,                    "totalPurchasePrice": 0.1                  },                  "properties": [                    {                      "id": 0,                      "controlType": "Text",                      "customControlCode": "string",                      "dataType": 0,                      "valueDataType": "None",                      "defaultControlType": "Text",                      "description": "string",                      "displayLabel": "string",                      "displayOrder": 0,                      "displaySuffix": "string",                      "hasDynamicDescription": true,                      "interfaceKey": "string",                      "isModified": true,                      "isModifiedByApp": true,                      "isReadonly": true,                      "isRequired": true,                      "isVisible": true,                      "isAvailableBeforeCalculation": true,                      "listValues": [                        {                          "description": "string",                          "imageUrl": "string",                          "interfaceKey": "string",                          "skills": "string",                          "remarks": "string",                          "value": "string",                          "isDisabled": true,                          "priceDifference": 0,                          "price": 0,                          "categoryLinkPropertyId": 0,                          "contentBlockId": "string"                        }                      ],                      "propertyId": 0,                      "remarks": "string",                      "value": "string",                      "validation": {                        "min": null,                        "max": null,                        "precision": 0,                        "step": null,                        "isValid": true                      },                      "imageUrl": "string",                      "explanation": "string"                    }                  ],                  "messages": [                    {                      "context": "None",                      "contextReference": "string",                      "kind": "Information",                      "scope": "None",                      "text": "string",                      "origin": "Default"                    }                  ],                  "redistributionInfo": "string"                },                "categoryMaterialOptionFilter": 0,                "categoryMaterialOptionInterfaceKeys": [                  "string"                ],                "childCategoryDescription": "string",                "childCategoryId": 0,                "description": "string",                "imageUrl": "string",                "interfaceKey": "string",                "isEnabled": true,                "isMainCategory": true,                "parentCategoryId": 0,                "quantityDescription": "string",                "remarks": "string",                "requiredLevel": "None",                "options": [                  "None"                ]              },              "customCode": "string",              "categoryExtraCode": "string",              "contentBlockId": "string",              "option": {                "id": "string",                "label": "string",                "value": "string",                "dataType": "None",                "controlType": "Text",                "defaultControlType": "Text",                "customControlCode": "string",                "isRequired": true,                "isVisible": true,                "displaySuffix": "string",                "isReadonly": true,                "description": "string",                "imageUrl": "string",                "values": [                  {                    "label": "string",                    "value": "string",                    "imageUrl": "string",                    "isDisabled": true,                    "priceDifference": 0,                    "price": 0,                    "contentBlockId": "string",                    "description": "string"                  }                ],                "validation": {                  "min": null,                  "max": null,                  "precision": 0,                  "step": null,                  "isValid": true                },                "propertyDescription": "string",                "explanation": "string"              },              "appliedExtras": [                {                  "id": "string",                  "materialId": 0,                  "materialCategoryId": 0,                  "categoryExtraId": 0,                  "quantity": 0.1,                  "description": "string",                  "priceElement": {                    "code": "string",                    "materialId": 0,                    "supplierCode": "string",                    "description": "string",                    "purchasePrice": {                      "unitPurchasePrice": 0,                      "totalPurchasePrice": 0                    },                    "quantity": 0.1,                    "totalPrice": 0.1,                    "totalPriceBeforePromotion": 0.1,                    "unit": "string",                    "unitPrice": 0.1,                    "unitPriceBeforePromotion": 0.1,                    "totalPriceExclVat": 0.1,                    "unitPriceExclVat": 0.1,                    "vatAmount": 0.1,                    "vatPercentage": 0.1                  }                }              ],              "children": [],              "messages": [                {                  "context": "None",                  "contextReference": "string",                  "kind": "Information",                  "scope": "None",                  "text": "string",                  "origin": "Default"                }              ],              "isValid": true            }          ],          "messages": [            {              "context": "None",              "contextReference": "string",              "kind": "Information",              "scope": "None",              "text": "string",              "origin": "Default"            }          ],          "isValid": true        }      ],      "messages": [        {          "context": "None",          "contextReference": "string",          "kind": "Information",          "scope": "None",          "text": "string",          "origin": "Default"        }      ],      "isValid": true,      "isEnabled": true    }  ],  "attributes": {    "property1": "string",    "property2": "string"  },  "state": "New",  "messages": [    {      "context": "None",      "contextReference": "string",      "kind": "Information",      "scope": "None",      "text": "string",      "origin": "Default"    }  ],  "materials": [    {      "categoryLinkId": 0,      "interfaceKey": "string",      "isMainMaterial": true,      "material": {        "id": 0,        "attachments": [          {            "kind": "Pdf",            "path": "string",            "pathKind": "Relative",            "content": "string"          }        ],        "categoryDescription": "string",        "categoryId": 0,        "code": "string",        "color": "string",        "colorDescription": "string",        "composition": "string",        "description": "string",        "eanCode": "string",        "extraFieldValues": [          {            "displayOrder": 0,            "extraField": 0,            "extraFieldName": "string",            "extraFieldNameResource": "string",            "image": "string",            "value": "string",            "valueResource": "string"          }        ],        "height": 0,        "imageUrl": "string",        "isWage": true,        "leadTime": 0,        "length": 0,        "materialOptionValues": [          {            "description": "string",            "value": 0,            "interfaceKey": "string"          }        ],        "materialGroups": [          {            "id": 0,            "code": "string",            "description": "string",            "children": [              {                "id": 0,                "code": "string",                "description": "string",                "children": []              }            ]          }        ],        "materialKind": {          "description": "string",          "value": 0,          "interfaceKey": "string"        },        "materialStyle": {          "description": "string",          "value": 0,          "interfaceKey": "string"        },        "patternLength": 0,        "patternWidth": 0,        "promotionPrice": 0,        "remarks": "string",        "salePrice": 0,        "saleUnit": "Millimeters",        "shrinkTolerance": 0,        "supplierCode": "string",        "supplierId": 0,        "supplierSbnKey": 0,        "unit": "Millimeters",        "validModelIds": [          "string"        ],        "washingSymbols": "string",        "weight": 0,        "width": 0      }    }  ]}
{  "type": "string",  "title": "string",  "status": 0,  "detail": "string",  "instance": "string",  "extensions": {    "property1": null,    "property2": null  },  "errors": {    "property1": [      "string"    ],    "property2": [      "string"    ]  },  "property1": null,  "property2": null}
{  "type": "string",  "title": "string",  "status": 0,  "detail": "string",  "instance": "string",  "extensions": {    "property1": null,    "property2": null  },  "property1": null,  "property2": null}
POST/api/gateway/v2/wizardpolygon/edit

Set the state of a Polygon to Editing. This call creates a snapshot of the Project. When the Edit is cancelled or a Project/Get is called, the Project is reverted to this snapshot.

Request Body

application/json

Options for which Polygon to edit.

TypeScript Definitions

Use the request body type in TypeScript.

Contains information for which Polygon the state should be set to Editing.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/api/gateway/v2/wizardpolygon/edit" \  -H "Content-Type: application/json" \  -d '{    "polygonId": "string"  }'
{  "id": "string",  "wizardId": 0,  "wizardName": "string",  "isValid": true,  "polygonDescription": "string",  "modelId": "string",  "leadTime": 0.1,  "dimensions": {    "width": {      "value": 0,      "grossValue": 0,      "correction": 0,      "minValue": 0,      "maxValue": 0,      "measurementTypeSettingId": 0    },    "height": {      "value": 0,      "grossValue": 0,      "correction": 0,      "minValue": 0,      "maxValue": 0,      "measurementTypeSettingId": 0    }  },  "prices": {    "discountAmount": 0.1,    "priceGroups": [      {        "code": "string",        "description": "string",        "displayOrder": 0,        "elements": [          {            "code": "string",            "materialId": 0,            "supplierCode": "string",            "description": "string",            "purchasePrice": {              "unitPurchasePrice": 0,              "totalPurchasePrice": 0            },            "quantity": 0.1,            "totalPrice": 0.1,            "totalPriceBeforePromotion": 0.1,            "unit": "string",            "unitPrice": 0.1,            "unitPriceBeforePromotion": 0.1,            "totalPriceExclVat": 0.1,            "unitPriceExclVat": 0.1,            "vatAmount": 0.1,            "vatPercentage": 0.1          }        ]      }    ],    "promotions": [      {        "code": "string",        "description": "string",        "priceDiscount": 0.1,        "reference": "string",        "validUntil": "2019-08-24T14:15:22Z",        "priceDiscountExclVat": 0.1,        "attributes": {          "property1": "string",          "property2": "string"        }      }    ],    "totalPrice": 0.1,    "totalPriceBeforePromotions": 0.1,    "totalPurchasePrice": 0.1  },  "steps": [    {      "name": "string",      "wizardStepId": 0,      "kind": "Property",      "description": "string",      "displayOrder": 0,      "code": "string",      "items": [        {          "wizardStepItemId": 0,          "name": "string",          "description": "string",          "image": "string",          "kind": "Property",          "categoryLink": {            "id": 0,            "categoryLinkMaterial": {              "materialCode": "string",              "supplierCode": "string",              "materialId": 0,              "materialDescription": "string",              "materialColor": "string",              "materialRemarks": "string",              "materialComposition": "string",              "materialSalePrice": 0,              "saleQuantity": 0,              "calcQuantity": 0,              "calcQuantityNet": 0,              "saleUnit": "string",              "supplierId": 0,              "supplierSbnKey": 0,              "price": {                "discountAmount": 0.1,                "priceGroups": [                  {                    "code": "string",                    "description": "string",                    "displayOrder": 0,                    "elements": [                      {                        "code": "string",                        "materialId": 0,                        "supplierCode": "string",                        "description": "string",                        "purchasePrice": {                          "unitPurchasePrice": 0,                          "totalPurchasePrice": 0                        },                        "quantity": 0.1,                        "totalPrice": 0.1,                        "totalPriceBeforePromotion": 0.1,                        "unit": "string",                        "unitPrice": 0.1,                        "unitPriceBeforePromotion": 0.1,                        "totalPriceExclVat": 0.1,                        "unitPriceExclVat": 0.1,                        "vatAmount": 0.1,                        "vatPercentage": 0.1                      }                    ]                  }                ],                "promotions": [                  {                    "code": "string",                    "description": "string",                    "priceDiscount": 0.1,                    "reference": "string",                    "validUntil": "2019-08-24T14:15:22Z",                    "priceDiscountExclVat": 0.1,                    "attributes": {                      "property1": "string",                      "property2": "string"                    }                  }                ],                "totalPrice": 0.1,                "totalPriceBeforePromotions": 0.1,                "totalPurchasePrice": 0.1              },              "properties": [                {                  "id": 0,                  "controlType": "Text",                  "customControlCode": "string",                  "dataType": 0,                  "valueDataType": "None",                  "defaultControlType": "Text",                  "description": "string",                  "displayLabel": "string",                  "displayOrder": 0,                  "displaySuffix": "string",                  "hasDynamicDescription": true,                  "interfaceKey": "string",                  "isModified": true,                  "isModifiedByApp": true,                  "isReadonly": true,                  "isRequired": true,                  "isVisible": true,                  "isAvailableBeforeCalculation": true,                  "listValues": [                    {                      "description": "string",                      "imageUrl": "string",                      "interfaceKey": "string",                      "skills": "string",                      "remarks": "string",                      "value": "string",                      "isDisabled": true,                      "priceDifference": 0,                      "price": 0,                      "categoryLinkPropertyId": 0,                      "contentBlockId": "string"                    }                  ],                  "propertyId": 0,                  "remarks": "string",                  "value": "string",                  "validation": {                    "min": null,                    "max": null,                    "precision": 0,                    "step": null,                    "isValid": true                  },                  "imageUrl": "string",                  "explanation": "string"                }              ],              "messages": [                {                  "context": "None",                  "contextReference": "string",                  "kind": "Information",                  "scope": "None",                  "text": "string",                  "origin": "Default"                }              ],              "redistributionInfo": "string"            },            "categoryMaterialOptionFilter": 0,            "categoryMaterialOptionInterfaceKeys": [              "string"            ],            "childCategoryDescription": "string",            "childCategoryId": 0,            "description": "string",            "imageUrl": "string",            "interfaceKey": "string",            "isEnabled": true,            "isMainCategory": true,            "parentCategoryId": 0,            "quantityDescription": "string",            "remarks": "string",            "requiredLevel": "None",            "options": [              "None"            ]          },          "customCode": "string",          "categoryExtraCode": "string",          "contentBlockId": "string",          "option": {            "id": "string",            "label": "string",            "value": "string",            "dataType": "None",            "controlType": "Text",            "defaultControlType": "Text",            "customControlCode": "string",            "isRequired": true,            "isVisible": true,            "displaySuffix": "string",            "isReadonly": true,            "description": "string",            "imageUrl": "string",            "values": [              {                "label": "string",                "value": "string",                "imageUrl": "string",                "isDisabled": true,                "priceDifference": 0,                "price": 0,                "contentBlockId": "string",                "description": "string"              }            ],            "validation": {              "min": null,              "max": null,              "precision": 0,              "step": null,              "isValid": true            },            "propertyDescription": "string",            "explanation": "string"          },          "appliedExtras": [            {              "id": "string",              "materialId": 0,              "materialCategoryId": 0,              "categoryExtraId": 0,              "quantity": 0.1,              "description": "string",              "priceElement": {                "code": "string",                "materialId": 0,                "supplierCode": "string",                "description": "string",                "purchasePrice": {                  "unitPurchasePrice": 0,                  "totalPurchasePrice": 0                },                "quantity": 0.1,                "totalPrice": 0.1,                "totalPriceBeforePromotion": 0.1,                "unit": "string",                "unitPrice": 0.1,                "unitPriceBeforePromotion": 0.1,                "totalPriceExclVat": 0.1,                "unitPriceExclVat": 0.1,                "vatAmount": 0.1,                "vatPercentage": 0.1              }            }          ],          "children": [            {              "wizardStepItemId": 0,              "name": "string",              "description": "string",              "image": "string",              "kind": "Property",              "categoryLink": {                "id": 0,                "categoryLinkMaterial": {                  "materialCode": "string",                  "supplierCode": "string",                  "materialId": 0,                  "materialDescription": "string",                  "materialColor": "string",                  "materialRemarks": "string",                  "materialComposition": "string",                  "materialSalePrice": 0,                  "saleQuantity": 0,                  "calcQuantity": 0,                  "calcQuantityNet": 0,                  "saleUnit": "string",                  "supplierId": 0,                  "supplierSbnKey": 0,                  "price": {                    "discountAmount": 0.1,                    "priceGroups": [                      {                        "code": "string",                        "description": "string",                        "displayOrder": 0,                        "elements": [                          {                            "code": "string",                            "materialId": 0,                            "supplierCode": "string",                            "description": "string",                            "purchasePrice": {},                            "quantity": 0.1,                            "totalPrice": 0.1,                            "totalPriceBeforePromotion": 0.1,                            "unit": "string",                            "unitPrice": 0.1,                            "unitPriceBeforePromotion": 0.1,                            "totalPriceExclVat": 0.1,                            "unitPriceExclVat": 0.1,                            "vatAmount": 0.1,                            "vatPercentage": 0.1                          }                        ]                      }                    ],                    "promotions": [                      {                        "code": "string",                        "description": "string",                        "priceDiscount": 0.1,                        "reference": "string",                        "validUntil": "2019-08-24T14:15:22Z",                        "priceDiscountExclVat": 0.1,                        "attributes": {                          "property1": "string",                          "property2": "string"                        }                      }                    ],                    "totalPrice": 0.1,                    "totalPriceBeforePromotions": 0.1,                    "totalPurchasePrice": 0.1                  },                  "properties": [                    {                      "id": 0,                      "controlType": "Text",                      "customControlCode": "string",                      "dataType": 0,                      "valueDataType": "None",                      "defaultControlType": "Text",                      "description": "string",                      "displayLabel": "string",                      "displayOrder": 0,                      "displaySuffix": "string",                      "hasDynamicDescription": true,                      "interfaceKey": "string",                      "isModified": true,                      "isModifiedByApp": true,                      "isReadonly": true,                      "isRequired": true,                      "isVisible": true,                      "isAvailableBeforeCalculation": true,                      "listValues": [                        {                          "description": "string",                          "imageUrl": "string",                          "interfaceKey": "string",                          "skills": "string",                          "remarks": "string",                          "value": "string",                          "isDisabled": true,                          "priceDifference": 0,                          "price": 0,                          "categoryLinkPropertyId": 0,                          "contentBlockId": "string"                        }                      ],                      "propertyId": 0,                      "remarks": "string",                      "value": "string",                      "validation": {                        "min": null,                        "max": null,                        "precision": 0,                        "step": null,                        "isValid": true                      },                      "imageUrl": "string",                      "explanation": "string"                    }                  ],                  "messages": [                    {                      "context": "None",                      "contextReference": "string",                      "kind": "Information",                      "scope": "None",                      "text": "string",                      "origin": "Default"                    }                  ],                  "redistributionInfo": "string"                },                "categoryMaterialOptionFilter": 0,                "categoryMaterialOptionInterfaceKeys": [                  "string"                ],                "childCategoryDescription": "string",                "childCategoryId": 0,                "description": "string",                "imageUrl": "string",                "interfaceKey": "string",                "isEnabled": true,                "isMainCategory": true,                "parentCategoryId": 0,                "quantityDescription": "string",                "remarks": "string",                "requiredLevel": "None",                "options": [                  "None"                ]              },              "customCode": "string",              "categoryExtraCode": "string",              "contentBlockId": "string",              "option": {                "id": "string",                "label": "string",                "value": "string",                "dataType": "None",                "controlType": "Text",                "defaultControlType": "Text",                "customControlCode": "string",                "isRequired": true,                "isVisible": true,                "displaySuffix": "string",                "isReadonly": true,                "description": "string",                "imageUrl": "string",                "values": [                  {                    "label": "string",                    "value": "string",                    "imageUrl": "string",                    "isDisabled": true,                    "priceDifference": 0,                    "price": 0,                    "contentBlockId": "string",                    "description": "string"                  }                ],                "validation": {                  "min": null,                  "max": null,                  "precision": 0,                  "step": null,                  "isValid": true                },                "propertyDescription": "string",                "explanation": "string"              },              "appliedExtras": [                {                  "id": "string",                  "materialId": 0,                  "materialCategoryId": 0,                  "categoryExtraId": 0,                  "quantity": 0.1,                  "description": "string",                  "priceElement": {                    "code": "string",                    "materialId": 0,                    "supplierCode": "string",                    "description": "string",                    "purchasePrice": {                      "unitPurchasePrice": 0,                      "totalPurchasePrice": 0                    },                    "quantity": 0.1,                    "totalPrice": 0.1,                    "totalPriceBeforePromotion": 0.1,                    "unit": "string",                    "unitPrice": 0.1,                    "unitPriceBeforePromotion": 0.1,                    "totalPriceExclVat": 0.1,                    "unitPriceExclVat": 0.1,                    "vatAmount": 0.1,                    "vatPercentage": 0.1                  }                }              ],              "children": [],              "messages": [                {                  "context": "None",                  "contextReference": "string",                  "kind": "Information",                  "scope": "None",                  "text": "string",                  "origin": "Default"                }              ],              "isValid": true            }          ],          "messages": [            {              "context": "None",              "contextReference": "string",              "kind": "Information",              "scope": "None",              "text": "string",              "origin": "Default"            }          ],          "isValid": true        }      ],      "messages": [        {          "context": "None",          "contextReference": "string",          "kind": "Information",          "scope": "None",          "text": "string",          "origin": "Default"        }      ],      "isValid": true,      "isEnabled": true    }  ],  "attributes": {    "property1": "string",    "property2": "string"  },  "state": "New",  "messages": [    {      "context": "None",      "contextReference": "string",      "kind": "Information",      "scope": "None",      "text": "string",      "origin": "Default"    }  ],  "materials": [    {      "categoryLinkId": 0,      "interfaceKey": "string",      "isMainMaterial": true,      "material": {        "id": 0,        "attachments": [          {            "kind": "Pdf",            "path": "string",            "pathKind": "Relative",            "content": "string"          }        ],        "categoryDescription": "string",        "categoryId": 0,        "code": "string",        "color": "string",        "colorDescription": "string",        "composition": "string",        "description": "string",        "eanCode": "string",        "extraFieldValues": [          {            "displayOrder": 0,            "extraField": 0,            "extraFieldName": "string",            "extraFieldNameResource": "string",            "image": "string",            "value": "string",            "valueResource": "string"          }        ],        "height": 0,        "imageUrl": "string",        "isWage": true,        "leadTime": 0,        "length": 0,        "materialOptionValues": [          {            "description": "string",            "value": 0,            "interfaceKey": "string"          }        ],        "materialGroups": [          {            "id": 0,            "code": "string",            "description": "string",            "children": [              {                "id": 0,                "code": "string",                "description": "string",                "children": []              }            ]          }        ],        "materialKind": {          "description": "string",          "value": 0,          "interfaceKey": "string"        },        "materialStyle": {          "description": "string",          "value": 0,          "interfaceKey": "string"        },        "patternLength": 0,        "patternWidth": 0,        "promotionPrice": 0,        "remarks": "string",        "salePrice": 0,        "saleUnit": "Millimeters",        "shrinkTolerance": 0,        "supplierCode": "string",        "supplierId": 0,        "supplierSbnKey": 0,        "unit": "Millimeters",        "validModelIds": [          "string"        ],        "washingSymbols": "string",        "weight": 0,        "width": 0      }    }  ]}
{  "type": "string",  "title": "string",  "status": 0,  "detail": "string",  "instance": "string",  "extensions": {    "property1": null,    "property2": null  },  "errors": {    "property1": [      "string"    ],    "property2": [      "string"    ]  },  "property1": null,  "property2": null}
{  "type": "string",  "title": "string",  "status": 0,  "detail": "string",  "instance": "string",  "extensions": {    "property1": null,    "property2": null  },  "property1": null,  "property2": null}
POST/api/gateway/v2/wizardpolygon/removematerial

Remove one of the Materials of a Polygon

Request Body

application/json

Options for which CategoryLink the Material should be removed.

TypeScript Definitions

Use the request body type in TypeScript.

Contains the information that is needed to remove a material from a polygon.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/api/gateway/v2/wizardpolygon/removematerial" \  -H "Content-Type: application/json" \  -d '{}'
{  "id": "string",  "wizardId": 0,  "wizardName": "string",  "isValid": true,  "polygonDescription": "string",  "modelId": "string",  "leadTime": 0.1,  "dimensions": {    "width": {      "value": 0,      "grossValue": 0,      "correction": 0,      "minValue": 0,      "maxValue": 0,      "measurementTypeSettingId": 0    },    "height": {      "value": 0,      "grossValue": 0,      "correction": 0,      "minValue": 0,      "maxValue": 0,      "measurementTypeSettingId": 0    }  },  "prices": {    "discountAmount": 0.1,    "priceGroups": [      {        "code": "string",        "description": "string",        "displayOrder": 0,        "elements": [          {            "code": "string",            "materialId": 0,            "supplierCode": "string",            "description": "string",            "purchasePrice": {              "unitPurchasePrice": 0,              "totalPurchasePrice": 0            },            "quantity": 0.1,            "totalPrice": 0.1,            "totalPriceBeforePromotion": 0.1,            "unit": "string",            "unitPrice": 0.1,            "unitPriceBeforePromotion": 0.1,            "totalPriceExclVat": 0.1,            "unitPriceExclVat": 0.1,            "vatAmount": 0.1,            "vatPercentage": 0.1          }        ]      }    ],    "promotions": [      {        "code": "string",        "description": "string",        "priceDiscount": 0.1,        "reference": "string",        "validUntil": "2019-08-24T14:15:22Z",        "priceDiscountExclVat": 0.1,        "attributes": {          "property1": "string",          "property2": "string"        }      }    ],    "totalPrice": 0.1,    "totalPriceBeforePromotions": 0.1,    "totalPurchasePrice": 0.1  },  "steps": [    {      "name": "string",      "wizardStepId": 0,      "kind": "Property",      "description": "string",      "displayOrder": 0,      "code": "string",      "items": [        {          "wizardStepItemId": 0,          "name": "string",          "description": "string",          "image": "string",          "kind": "Property",          "categoryLink": {            "id": 0,            "categoryLinkMaterial": {              "materialCode": "string",              "supplierCode": "string",              "materialId": 0,              "materialDescription": "string",              "materialColor": "string",              "materialRemarks": "string",              "materialComposition": "string",              "materialSalePrice": 0,              "saleQuantity": 0,              "calcQuantity": 0,              "calcQuantityNet": 0,              "saleUnit": "string",              "supplierId": 0,              "supplierSbnKey": 0,              "price": {                "discountAmount": 0.1,                "priceGroups": [                  {                    "code": "string",                    "description": "string",                    "displayOrder": 0,                    "elements": [                      {                        "code": "string",                        "materialId": 0,                        "supplierCode": "string",                        "description": "string",                        "purchasePrice": {                          "unitPurchasePrice": 0,                          "totalPurchasePrice": 0                        },                        "quantity": 0.1,                        "totalPrice": 0.1,                        "totalPriceBeforePromotion": 0.1,                        "unit": "string",                        "unitPrice": 0.1,                        "unitPriceBeforePromotion": 0.1,                        "totalPriceExclVat": 0.1,                        "unitPriceExclVat": 0.1,                        "vatAmount": 0.1,                        "vatPercentage": 0.1                      }                    ]                  }                ],                "promotions": [                  {                    "code": "string",                    "description": "string",                    "priceDiscount": 0.1,                    "reference": "string",                    "validUntil": "2019-08-24T14:15:22Z",                    "priceDiscountExclVat": 0.1,                    "attributes": {                      "property1": "string",                      "property2": "string"                    }                  }                ],                "totalPrice": 0.1,                "totalPriceBeforePromotions": 0.1,                "totalPurchasePrice": 0.1              },              "properties": [                {                  "id": 0,                  "controlType": "Text",                  "customControlCode": "string",                  "dataType": 0,                  "valueDataType": "None",                  "defaultControlType": "Text",                  "description": "string",                  "displayLabel": "string",                  "displayOrder": 0,                  "displaySuffix": "string",                  "hasDynamicDescription": true,                  "interfaceKey": "string",                  "isModified": true,                  "isModifiedByApp": true,                  "isReadonly": true,                  "isRequired": true,                  "isVisible": true,                  "isAvailableBeforeCalculation": true,                  "listValues": [                    {                      "description": "string",                      "imageUrl": "string",                      "interfaceKey": "string",                      "skills": "string",                      "remarks": "string",                      "value": "string",                      "isDisabled": true,                      "priceDifference": 0,                      "price": 0,                      "categoryLinkPropertyId": 0,                      "contentBlockId": "string"                    }                  ],                  "propertyId": 0,                  "remarks": "string",                  "value": "string",                  "validation": {                    "min": null,                    "max": null,                    "precision": 0,                    "step": null,                    "isValid": true                  },                  "imageUrl": "string",                  "explanation": "string"                }              ],              "messages": [                {                  "context": "None",                  "contextReference": "string",                  "kind": "Information",                  "scope": "None",                  "text": "string",                  "origin": "Default"                }              ],              "redistributionInfo": "string"            },            "categoryMaterialOptionFilter": 0,            "categoryMaterialOptionInterfaceKeys": [              "string"            ],            "childCategoryDescription": "string",            "childCategoryId": 0,            "description": "string",            "imageUrl": "string",            "interfaceKey": "string",            "isEnabled": true,            "isMainCategory": true,            "parentCategoryId": 0,            "quantityDescription": "string",            "remarks": "string",            "requiredLevel": "None",            "options": [              "None"            ]          },          "customCode": "string",          "categoryExtraCode": "string",          "contentBlockId": "string",          "option": {            "id": "string",            "label": "string",            "value": "string",            "dataType": "None",            "controlType": "Text",            "defaultControlType": "Text",            "customControlCode": "string",            "isRequired": true,            "isVisible": true,            "displaySuffix": "string",            "isReadonly": true,            "description": "string",            "imageUrl": "string",            "values": [              {                "label": "string",                "value": "string",                "imageUrl": "string",                "isDisabled": true,                "priceDifference": 0,                "price": 0,                "contentBlockId": "string",                "description": "string"              }            ],            "validation": {              "min": null,              "max": null,              "precision": 0,              "step": null,              "isValid": true            },            "propertyDescription": "string",            "explanation": "string"          },          "appliedExtras": [            {              "id": "string",              "materialId": 0,              "materialCategoryId": 0,              "categoryExtraId": 0,              "quantity": 0.1,              "description": "string",              "priceElement": {                "code": "string",                "materialId": 0,                "supplierCode": "string",                "description": "string",                "purchasePrice": {                  "unitPurchasePrice": 0,                  "totalPurchasePrice": 0                },                "quantity": 0.1,                "totalPrice": 0.1,                "totalPriceBeforePromotion": 0.1,                "unit": "string",                "unitPrice": 0.1,                "unitPriceBeforePromotion": 0.1,                "totalPriceExclVat": 0.1,                "unitPriceExclVat": 0.1,                "vatAmount": 0.1,                "vatPercentage": 0.1              }            }          ],          "children": [            {              "wizardStepItemId": 0,              "name": "string",              "description": "string",              "image": "string",              "kind": "Property",              "categoryLink": {                "id": 0,                "categoryLinkMaterial": {                  "materialCode": "string",                  "supplierCode": "string",                  "materialId": 0,                  "materialDescription": "string",                  "materialColor": "string",                  "materialRemarks": "string",                  "materialComposition": "string",                  "materialSalePrice": 0,                  "saleQuantity": 0,                  "calcQuantity": 0,                  "calcQuantityNet": 0,                  "saleUnit": "string",                  "supplierId": 0,                  "supplierSbnKey": 0,                  "price": {                    "discountAmount": 0.1,                    "priceGroups": [                      {                        "code": "string",                        "description": "string",                        "displayOrder": 0,                        "elements": [                          {                            "code": "string",                            "materialId": 0,                            "supplierCode": "string",                            "description": "string",                            "purchasePrice": {},                            "quantity": 0.1,                            "totalPrice": 0.1,                            "totalPriceBeforePromotion": 0.1,                            "unit": "string",                            "unitPrice": 0.1,                            "unitPriceBeforePromotion": 0.1,                            "totalPriceExclVat": 0.1,                            "unitPriceExclVat": 0.1,                            "vatAmount": 0.1,                            "vatPercentage": 0.1                          }                        ]                      }                    ],                    "promotions": [                      {                        "code": "string",                        "description": "string",                        "priceDiscount": 0.1,                        "reference": "string",                        "validUntil": "2019-08-24T14:15:22Z",                        "priceDiscountExclVat": 0.1,                        "attributes": {                          "property1": "string",                          "property2": "string"                        }                      }                    ],                    "totalPrice": 0.1,                    "totalPriceBeforePromotions": 0.1,                    "totalPurchasePrice": 0.1                  },                  "properties": [                    {                      "id": 0,                      "controlType": "Text",                      "customControlCode": "string",                      "dataType": 0,                      "valueDataType": "None",                      "defaultControlType": "Text",                      "description": "string",                      "displayLabel": "string",                      "displayOrder": 0,                      "displaySuffix": "string",                      "hasDynamicDescription": true,                      "interfaceKey": "string",                      "isModified": true,                      "isModifiedByApp": true,                      "isReadonly": true,                      "isRequired": true,                      "isVisible": true,                      "isAvailableBeforeCalculation": true,                      "listValues": [                        {                          "description": "string",                          "imageUrl": "string",                          "interfaceKey": "string",                          "skills": "string",                          "remarks": "string",                          "value": "string",                          "isDisabled": true,                          "priceDifference": 0,                          "price": 0,                          "categoryLinkPropertyId": 0,                          "contentBlockId": "string"                        }                      ],                      "propertyId": 0,                      "remarks": "string",                      "value": "string",                      "validation": {                        "min": null,                        "max": null,                        "precision": 0,                        "step": null,                        "isValid": true                      },                      "imageUrl": "string",                      "explanation": "string"                    }                  ],                  "messages": [                    {                      "context": "None",                      "contextReference": "string",                      "kind": "Information",                      "scope": "None",                      "text": "string",                      "origin": "Default"                    }                  ],                  "redistributionInfo": "string"                },                "categoryMaterialOptionFilter": 0,                "categoryMaterialOptionInterfaceKeys": [                  "string"                ],                "childCategoryDescription": "string",                "childCategoryId": 0,                "description": "string",                "imageUrl": "string",                "interfaceKey": "string",                "isEnabled": true,                "isMainCategory": true,                "parentCategoryId": 0,                "quantityDescription": "string",                "remarks": "string",                "requiredLevel": "None",                "options": [                  "None"                ]              },              "customCode": "string",              "categoryExtraCode": "string",              "contentBlockId": "string",              "option": {                "id": "string",                "label": "string",                "value": "string",                "dataType": "None",                "controlType": "Text",                "defaultControlType": "Text",                "customControlCode": "string",                "isRequired": true,                "isVisible": true,                "displaySuffix": "string",                "isReadonly": true,                "description": "string",                "imageUrl": "string",                "values": [                  {                    "label": "string",                    "value": "string",                    "imageUrl": "string",                    "isDisabled": true,                    "priceDifference": 0,                    "price": 0,                    "contentBlockId": "string",                    "description": "string"                  }                ],                "validation": {                  "min": null,                  "max": null,                  "precision": 0,                  "step": null,                  "isValid": true                },                "propertyDescription": "string",                "explanation": "string"              },              "appliedExtras": [                {                  "id": "string",                  "materialId": 0,                  "materialCategoryId": 0,                  "categoryExtraId": 0,                  "quantity": 0.1,                  "description": "string",                  "priceElement": {                    "code": "string",                    "materialId": 0,                    "supplierCode": "string",                    "description": "string",                    "purchasePrice": {                      "unitPurchasePrice": 0,                      "totalPurchasePrice": 0                    },                    "quantity": 0.1,                    "totalPrice": 0.1,                    "totalPriceBeforePromotion": 0.1,                    "unit": "string",                    "unitPrice": 0.1,                    "unitPriceBeforePromotion": 0.1,                    "totalPriceExclVat": 0.1,                    "unitPriceExclVat": 0.1,                    "vatAmount": 0.1,                    "vatPercentage": 0.1                  }                }              ],              "children": [],              "messages": [                {                  "context": "None",                  "contextReference": "string",                  "kind": "Information",                  "scope": "None",                  "text": "string",                  "origin": "Default"                }              ],              "isValid": true            }          ],          "messages": [            {              "context": "None",              "contextReference": "string",              "kind": "Information",              "scope": "None",              "text": "string",              "origin": "Default"            }          ],          "isValid": true        }      ],      "messages": [        {          "context": "None",          "contextReference": "string",          "kind": "Information",          "scope": "None",          "text": "string",          "origin": "Default"        }      ],      "isValid": true,      "isEnabled": true    }  ],  "attributes": {    "property1": "string",    "property2": "string"  },  "state": "New",  "messages": [    {      "context": "None",      "contextReference": "string",      "kind": "Information",      "scope": "None",      "text": "string",      "origin": "Default"    }  ],  "materials": [    {      "categoryLinkId": 0,      "interfaceKey": "string",      "isMainMaterial": true,      "material": {        "id": 0,        "attachments": [          {            "kind": "Pdf",            "path": "string",            "pathKind": "Relative",            "content": "string"          }        ],        "categoryDescription": "string",        "categoryId": 0,        "code": "string",        "color": "string",        "colorDescription": "string",        "composition": "string",        "description": "string",        "eanCode": "string",        "extraFieldValues": [          {            "displayOrder": 0,            "extraField": 0,            "extraFieldName": "string",            "extraFieldNameResource": "string",            "image": "string",            "value": "string",            "valueResource": "string"          }        ],        "height": 0,        "imageUrl": "string",        "isWage": true,        "leadTime": 0,        "length": 0,        "materialOptionValues": [          {            "description": "string",            "value": 0,            "interfaceKey": "string"          }        ],        "materialGroups": [          {            "id": 0,            "code": "string",            "description": "string",            "children": [              {                "id": 0,                "code": "string",                "description": "string",                "children": []              }            ]          }        ],        "materialKind": {          "description": "string",          "value": 0,          "interfaceKey": "string"        },        "materialStyle": {          "description": "string",          "value": 0,          "interfaceKey": "string"        },        "patternLength": 0,        "patternWidth": 0,        "promotionPrice": 0,        "remarks": "string",        "salePrice": 0,        "saleUnit": "Millimeters",        "shrinkTolerance": 0,        "supplierCode": "string",        "supplierId": 0,        "supplierSbnKey": 0,        "unit": "Millimeters",        "validModelIds": [          "string"        ],        "washingSymbols": "string",        "weight": 0,        "width": 0      }    }  ]}
{  "type": "string",  "title": "string",  "status": 0,  "detail": "string",  "instance": "string",  "extensions": {    "property1": null,    "property2": null  },  "errors": {    "property1": [      "string"    ],    "property2": [      "string"    ]  },  "property1": null,  "property2": null}
{  "type": "string",  "title": "string",  "status": 0,  "detail": "string",  "instance": "string",  "extensions": {    "property1": null,    "property2": null  },  "property1": null,  "property2": null}
POST/api/gateway/v2/wizardpolygon/setattributes

Replaces the polygon attributes with the specified string key-value pairs.

Request Body

application/json

Options to set the Polygon attributes.

TypeScript Definitions

Use the request body type in TypeScript.

Contains information to set the attributes for the specified polygon.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/api/gateway/v2/wizardpolygon/setattributes" \  -H "Content-Type: application/json" \  -d '{    "polygonId": "string",    "attributes": {      "property1": "string",      "property2": "string"    }  }'
{  "id": "string",  "wizardId": 0,  "wizardName": "string",  "isValid": true,  "polygonDescription": "string",  "modelId": "string",  "leadTime": 0.1,  "dimensions": {    "width": {      "value": 0,      "grossValue": 0,      "correction": 0,      "minValue": 0,      "maxValue": 0,      "measurementTypeSettingId": 0    },    "height": {      "value": 0,      "grossValue": 0,      "correction": 0,      "minValue": 0,      "maxValue": 0,      "measurementTypeSettingId": 0    }  },  "prices": {    "discountAmount": 0.1,    "priceGroups": [      {        "code": "string",        "description": "string",        "displayOrder": 0,        "elements": [          {            "code": "string",            "materialId": 0,            "supplierCode": "string",            "description": "string",            "purchasePrice": {              "unitPurchasePrice": 0,              "totalPurchasePrice": 0            },            "quantity": 0.1,            "totalPrice": 0.1,            "totalPriceBeforePromotion": 0.1,            "unit": "string",            "unitPrice": 0.1,            "unitPriceBeforePromotion": 0.1,            "totalPriceExclVat": 0.1,            "unitPriceExclVat": 0.1,            "vatAmount": 0.1,            "vatPercentage": 0.1          }        ]      }    ],    "promotions": [      {        "code": "string",        "description": "string",        "priceDiscount": 0.1,        "reference": "string",        "validUntil": "2019-08-24T14:15:22Z",        "priceDiscountExclVat": 0.1,        "attributes": {          "property1": "string",          "property2": "string"        }      }    ],    "totalPrice": 0.1,    "totalPriceBeforePromotions": 0.1,    "totalPurchasePrice": 0.1  },  "steps": [    {      "name": "string",      "wizardStepId": 0,      "kind": "Property",      "description": "string",      "displayOrder": 0,      "code": "string",      "items": [        {          "wizardStepItemId": 0,          "name": "string",          "description": "string",          "image": "string",          "kind": "Property",          "categoryLink": {            "id": 0,            "categoryLinkMaterial": {              "materialCode": "string",              "supplierCode": "string",              "materialId": 0,              "materialDescription": "string",              "materialColor": "string",              "materialRemarks": "string",              "materialComposition": "string",              "materialSalePrice": 0,              "saleQuantity": 0,              "calcQuantity": 0,              "calcQuantityNet": 0,              "saleUnit": "string",              "supplierId": 0,              "supplierSbnKey": 0,              "price": {                "discountAmount": 0.1,                "priceGroups": [                  {                    "code": "string",                    "description": "string",                    "displayOrder": 0,                    "elements": [                      {                        "code": "string",                        "materialId": 0,                        "supplierCode": "string",                        "description": "string",                        "purchasePrice": {                          "unitPurchasePrice": 0,                          "totalPurchasePrice": 0                        },                        "quantity": 0.1,                        "totalPrice": 0.1,                        "totalPriceBeforePromotion": 0.1,                        "unit": "string",                        "unitPrice": 0.1,                        "unitPriceBeforePromotion": 0.1,                        "totalPriceExclVat": 0.1,                        "unitPriceExclVat": 0.1,                        "vatAmount": 0.1,                        "vatPercentage": 0.1                      }                    ]                  }                ],                "promotions": [                  {                    "code": "string",                    "description": "string",                    "priceDiscount": 0.1,                    "reference": "string",                    "validUntil": "2019-08-24T14:15:22Z",                    "priceDiscountExclVat": 0.1,                    "attributes": {                      "property1": "string",                      "property2": "string"                    }                  }                ],                "totalPrice": 0.1,                "totalPriceBeforePromotions": 0.1,                "totalPurchasePrice": 0.1              },              "properties": [                {                  "id": 0,                  "controlType": "Text",                  "customControlCode": "string",                  "dataType": 0,                  "valueDataType": "None",                  "defaultControlType": "Text",                  "description": "string",                  "displayLabel": "string",                  "displayOrder": 0,                  "displaySuffix": "string",                  "hasDynamicDescription": true,                  "interfaceKey": "string",                  "isModified": true,                  "isModifiedByApp": true,                  "isReadonly": true,                  "isRequired": true,                  "isVisible": true,                  "isAvailableBeforeCalculation": true,                  "listValues": [                    {                      "description": "string",                      "imageUrl": "string",                      "interfaceKey": "string",                      "skills": "string",                      "remarks": "string",                      "value": "string",                      "isDisabled": true,                      "priceDifference": 0,                      "price": 0,                      "categoryLinkPropertyId": 0,                      "contentBlockId": "string"                    }                  ],                  "propertyId": 0,                  "remarks": "string",                  "value": "string",                  "validation": {                    "min": null,                    "max": null,                    "precision": 0,                    "step": null,                    "isValid": true                  },                  "imageUrl": "string",                  "explanation": "string"                }              ],              "messages": [                {                  "context": "None",                  "contextReference": "string",                  "kind": "Information",                  "scope": "None",                  "text": "string",                  "origin": "Default"                }              ],              "redistributionInfo": "string"            },            "categoryMaterialOptionFilter": 0,            "categoryMaterialOptionInterfaceKeys": [              "string"            ],            "childCategoryDescription": "string",            "childCategoryId": 0,            "description": "string",            "imageUrl": "string",            "interfaceKey": "string",            "isEnabled": true,            "isMainCategory": true,            "parentCategoryId": 0,            "quantityDescription": "string",            "remarks": "string",            "requiredLevel": "None",            "options": [              "None"            ]          },          "customCode": "string",          "categoryExtraCode": "string",          "contentBlockId": "string",          "option": {            "id": "string",            "label": "string",            "value": "string",            "dataType": "None",            "controlType": "Text",            "defaultControlType": "Text",            "customControlCode": "string",            "isRequired": true,            "isVisible": true,            "displaySuffix": "string",            "isReadonly": true,            "description": "string",            "imageUrl": "string",            "values": [              {                "label": "string",                "value": "string",                "imageUrl": "string",                "isDisabled": true,                "priceDifference": 0,                "price": 0,                "contentBlockId": "string",                "description": "string"              }            ],            "validation": {              "min": null,              "max": null,              "precision": 0,              "step": null,              "isValid": true            },            "propertyDescription": "string",            "explanation": "string"          },          "appliedExtras": [            {              "id": "string",              "materialId": 0,              "materialCategoryId": 0,              "categoryExtraId": 0,              "quantity": 0.1,              "description": "string",              "priceElement": {                "code": "string",                "materialId": 0,                "supplierCode": "string",                "description": "string",                "purchasePrice": {                  "unitPurchasePrice": 0,                  "totalPurchasePrice": 0                },                "quantity": 0.1,                "totalPrice": 0.1,                "totalPriceBeforePromotion": 0.1,                "unit": "string",                "unitPrice": 0.1,                "unitPriceBeforePromotion": 0.1,                "totalPriceExclVat": 0.1,                "unitPriceExclVat": 0.1,                "vatAmount": 0.1,                "vatPercentage": 0.1              }            }          ],          "children": [            {              "wizardStepItemId": 0,              "name": "string",              "description": "string",              "image": "string",              "kind": "Property",              "categoryLink": {                "id": 0,                "categoryLinkMaterial": {                  "materialCode": "string",                  "supplierCode": "string",                  "materialId": 0,                  "materialDescription": "string",                  "materialColor": "string",                  "materialRemarks": "string",                  "materialComposition": "string",                  "materialSalePrice": 0,                  "saleQuantity": 0,                  "calcQuantity": 0,                  "calcQuantityNet": 0,                  "saleUnit": "string",                  "supplierId": 0,                  "supplierSbnKey": 0,                  "price": {                    "discountAmount": 0.1,                    "priceGroups": [                      {                        "code": "string",                        "description": "string",                        "displayOrder": 0,                        "elements": [                          {                            "code": "string",                            "materialId": 0,                            "supplierCode": "string",                            "description": "string",                            "purchasePrice": {},                            "quantity": 0.1,                            "totalPrice": 0.1,                            "totalPriceBeforePromotion": 0.1,                            "unit": "string",                            "unitPrice": 0.1,                            "unitPriceBeforePromotion": 0.1,                            "totalPriceExclVat": 0.1,                            "unitPriceExclVat": 0.1,                            "vatAmount": 0.1,                            "vatPercentage": 0.1                          }                        ]                      }                    ],                    "promotions": [                      {                        "code": "string",                        "description": "string",                        "priceDiscount": 0.1,                        "reference": "string",                        "validUntil": "2019-08-24T14:15:22Z",                        "priceDiscountExclVat": 0.1,                        "attributes": {                          "property1": "string",                          "property2": "string"                        }                      }                    ],                    "totalPrice": 0.1,                    "totalPriceBeforePromotions": 0.1,                    "totalPurchasePrice": 0.1                  },                  "properties": [                    {                      "id": 0,                      "controlType": "Text",                      "customControlCode": "string",                      "dataType": 0,                      "valueDataType": "None",                      "defaultControlType": "Text",                      "description": "string",                      "displayLabel": "string",                      "displayOrder": 0,                      "displaySuffix": "string",                      "hasDynamicDescription": true,                      "interfaceKey": "string",                      "isModified": true,                      "isModifiedByApp": true,                      "isReadonly": true,                      "isRequired": true,                      "isVisible": true,                      "isAvailableBeforeCalculation": true,                      "listValues": [                        {                          "description": "string",                          "imageUrl": "string",                          "interfaceKey": "string",                          "skills": "string",                          "remarks": "string",                          "value": "string",                          "isDisabled": true,                          "priceDifference": 0,                          "price": 0,                          "categoryLinkPropertyId": 0,                          "contentBlockId": "string"                        }                      ],                      "propertyId": 0,                      "remarks": "string",                      "value": "string",                      "validation": {                        "min": null,                        "max": null,                        "precision": 0,                        "step": null,                        "isValid": true                      },                      "imageUrl": "string",                      "explanation": "string"                    }                  ],                  "messages": [                    {                      "context": "None",                      "contextReference": "string",                      "kind": "Information",                      "scope": "None",                      "text": "string",                      "origin": "Default"                    }                  ],                  "redistributionInfo": "string"                },                "categoryMaterialOptionFilter": 0,                "categoryMaterialOptionInterfaceKeys": [                  "string"                ],                "childCategoryDescription": "string",                "childCategoryId": 0,                "description": "string",                "imageUrl": "string",                "interfaceKey": "string",                "isEnabled": true,                "isMainCategory": true,                "parentCategoryId": 0,                "quantityDescription": "string",                "remarks": "string",                "requiredLevel": "None",                "options": [                  "None"                ]              },              "customCode": "string",              "categoryExtraCode": "string",              "contentBlockId": "string",              "option": {                "id": "string",                "label": "string",                "value": "string",                "dataType": "None",                "controlType": "Text",                "defaultControlType": "Text",                "customControlCode": "string",                "isRequired": true,                "isVisible": true,                "displaySuffix": "string",                "isReadonly": true,                "description": "string",                "imageUrl": "string",                "values": [                  {                    "label": "string",                    "value": "string",                    "imageUrl": "string",                    "isDisabled": true,                    "priceDifference": 0,                    "price": 0,                    "contentBlockId": "string",                    "description": "string"                  }                ],                "validation": {                  "min": null,                  "max": null,                  "precision": 0,                  "step": null,                  "isValid": true                },                "propertyDescription": "string",                "explanation": "string"              },              "appliedExtras": [                {                  "id": "string",                  "materialId": 0,                  "materialCategoryId": 0,                  "categoryExtraId": 0,                  "quantity": 0.1,                  "description": "string",                  "priceElement": {                    "code": "string",                    "materialId": 0,                    "supplierCode": "string",                    "description": "string",                    "purchasePrice": {                      "unitPurchasePrice": 0,                      "totalPurchasePrice": 0                    },                    "quantity": 0.1,                    "totalPrice": 0.1,                    "totalPriceBeforePromotion": 0.1,                    "unit": "string",                    "unitPrice": 0.1,                    "unitPriceBeforePromotion": 0.1,                    "totalPriceExclVat": 0.1,                    "unitPriceExclVat": 0.1,                    "vatAmount": 0.1,                    "vatPercentage": 0.1                  }                }              ],              "children": [],              "messages": [                {                  "context": "None",                  "contextReference": "string",                  "kind": "Information",                  "scope": "None",                  "text": "string",                  "origin": "Default"                }              ],              "isValid": true            }          ],          "messages": [            {              "context": "None",              "contextReference": "string",              "kind": "Information",              "scope": "None",              "text": "string",              "origin": "Default"            }          ],          "isValid": true        }      ],      "messages": [        {          "context": "None",          "contextReference": "string",          "kind": "Information",          "scope": "None",          "text": "string",          "origin": "Default"        }      ],      "isValid": true,      "isEnabled": true    }  ],  "attributes": {    "property1": "string",    "property2": "string"  },  "state": "New",  "messages": [    {      "context": "None",      "contextReference": "string",      "kind": "Information",      "scope": "None",      "text": "string",      "origin": "Default"    }  ],  "materials": [    {      "categoryLinkId": 0,      "interfaceKey": "string",      "isMainMaterial": true,      "material": {        "id": 0,        "attachments": [          {            "kind": "Pdf",            "path": "string",            "pathKind": "Relative",            "content": "string"          }        ],        "categoryDescription": "string",        "categoryId": 0,        "code": "string",        "color": "string",        "colorDescription": "string",        "composition": "string",        "description": "string",        "eanCode": "string",        "extraFieldValues": [          {            "displayOrder": 0,            "extraField": 0,            "extraFieldName": "string",            "extraFieldNameResource": "string",            "image": "string",            "value": "string",            "valueResource": "string"          }        ],        "height": 0,        "imageUrl": "string",        "isWage": true,        "leadTime": 0,        "length": 0,        "materialOptionValues": [          {            "description": "string",            "value": 0,            "interfaceKey": "string"          }        ],        "materialGroups": [          {            "id": 0,            "code": "string",            "description": "string",            "children": [              {                "id": 0,                "code": "string",                "description": "string",                "children": []              }            ]          }        ],        "materialKind": {          "description": "string",          "value": 0,          "interfaceKey": "string"        },        "materialStyle": {          "description": "string",          "value": 0,          "interfaceKey": "string"        },        "patternLength": 0,        "patternWidth": 0,        "promotionPrice": 0,        "remarks": "string",        "salePrice": 0,        "saleUnit": "Millimeters",        "shrinkTolerance": 0,        "supplierCode": "string",        "supplierId": 0,        "supplierSbnKey": 0,        "unit": "Millimeters",        "validModelIds": [          "string"        ],        "washingSymbols": "string",        "weight": 0,        "width": 0      }    }  ]}
{  "type": "string",  "title": "string",  "status": 0,  "detail": "string",  "instance": "string",  "extensions": {    "property1": null,    "property2": null  },  "errors": {    "property1": [      "string"    ],    "property2": [      "string"    ]  },  "property1": null,  "property2": null}
{  "type": "string",  "title": "string",  "status": 0,  "detail": "string",  "instance": "string",  "extensions": {    "property1": null,    "property2": null  },  "property1": null,  "property2": null}
POST/api/gateway/v2/wizardpolygon/addattributes

Adds polygon attributes with the specified string key-value pairs. Updates if the attribute already exists.

Request Body

application/json

Options to add the Polygon attributes.

TypeScript Definitions

Use the request body type in TypeScript.

Contains information to add the attributes for the specified polygon. Updates the attribute if it already exists.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/api/gateway/v2/wizardpolygon/addattributes" \  -H "Content-Type: application/json" \  -d '{    "polygonId": "string",    "attributes": {      "property1": "string",      "property2": "string"    }  }'
{  "id": "string",  "wizardId": 0,  "wizardName": "string",  "isValid": true,  "polygonDescription": "string",  "modelId": "string",  "leadTime": 0.1,  "dimensions": {    "width": {      "value": 0,      "grossValue": 0,      "correction": 0,      "minValue": 0,      "maxValue": 0,      "measurementTypeSettingId": 0    },    "height": {      "value": 0,      "grossValue": 0,      "correction": 0,      "minValue": 0,      "maxValue": 0,      "measurementTypeSettingId": 0    }  },  "prices": {    "discountAmount": 0.1,    "priceGroups": [      {        "code": "string",        "description": "string",        "displayOrder": 0,        "elements": [          {            "code": "string",            "materialId": 0,            "supplierCode": "string",            "description": "string",            "purchasePrice": {              "unitPurchasePrice": 0,              "totalPurchasePrice": 0            },            "quantity": 0.1,            "totalPrice": 0.1,            "totalPriceBeforePromotion": 0.1,            "unit": "string",            "unitPrice": 0.1,            "unitPriceBeforePromotion": 0.1,            "totalPriceExclVat": 0.1,            "unitPriceExclVat": 0.1,            "vatAmount": 0.1,            "vatPercentage": 0.1          }        ]      }    ],    "promotions": [      {        "code": "string",        "description": "string",        "priceDiscount": 0.1,        "reference": "string",        "validUntil": "2019-08-24T14:15:22Z",        "priceDiscountExclVat": 0.1,        "attributes": {          "property1": "string",          "property2": "string"        }      }    ],    "totalPrice": 0.1,    "totalPriceBeforePromotions": 0.1,    "totalPurchasePrice": 0.1  },  "steps": [    {      "name": "string",      "wizardStepId": 0,      "kind": "Property",      "description": "string",      "displayOrder": 0,      "code": "string",      "items": [        {          "wizardStepItemId": 0,          "name": "string",          "description": "string",          "image": "string",          "kind": "Property",          "categoryLink": {            "id": 0,            "categoryLinkMaterial": {              "materialCode": "string",              "supplierCode": "string",              "materialId": 0,              "materialDescription": "string",              "materialColor": "string",              "materialRemarks": "string",              "materialComposition": "string",              "materialSalePrice": 0,              "saleQuantity": 0,              "calcQuantity": 0,              "calcQuantityNet": 0,              "saleUnit": "string",              "supplierId": 0,              "supplierSbnKey": 0,              "price": {                "discountAmount": 0.1,                "priceGroups": [                  {                    "code": "string",                    "description": "string",                    "displayOrder": 0,                    "elements": [                      {                        "code": "string",                        "materialId": 0,                        "supplierCode": "string",                        "description": "string",                        "purchasePrice": {                          "unitPurchasePrice": 0,                          "totalPurchasePrice": 0                        },                        "quantity": 0.1,                        "totalPrice": 0.1,                        "totalPriceBeforePromotion": 0.1,                        "unit": "string",                        "unitPrice": 0.1,                        "unitPriceBeforePromotion": 0.1,                        "totalPriceExclVat": 0.1,                        "unitPriceExclVat": 0.1,                        "vatAmount": 0.1,                        "vatPercentage": 0.1                      }                    ]                  }                ],                "promotions": [                  {                    "code": "string",                    "description": "string",                    "priceDiscount": 0.1,                    "reference": "string",                    "validUntil": "2019-08-24T14:15:22Z",                    "priceDiscountExclVat": 0.1,                    "attributes": {                      "property1": "string",                      "property2": "string"                    }                  }                ],                "totalPrice": 0.1,                "totalPriceBeforePromotions": 0.1,                "totalPurchasePrice": 0.1              },              "properties": [                {                  "id": 0,                  "controlType": "Text",                  "customControlCode": "string",                  "dataType": 0,                  "valueDataType": "None",                  "defaultControlType": "Text",                  "description": "string",                  "displayLabel": "string",                  "displayOrder": 0,                  "displaySuffix": "string",                  "hasDynamicDescription": true,                  "interfaceKey": "string",                  "isModified": true,                  "isModifiedByApp": true,                  "isReadonly": true,                  "isRequired": true,                  "isVisible": true,                  "isAvailableBeforeCalculation": true,                  "listValues": [                    {                      "description": "string",                      "imageUrl": "string",                      "interfaceKey": "string",                      "skills": "string",                      "remarks": "string",                      "value": "string",                      "isDisabled": true,                      "priceDifference": 0,                      "price": 0,                      "categoryLinkPropertyId": 0,                      "contentBlockId": "string"                    }                  ],                  "propertyId": 0,                  "remarks": "string",                  "value": "string",                  "validation": {                    "min": null,                    "max": null,                    "precision": 0,                    "step": null,                    "isValid": true                  },                  "imageUrl": "string",                  "explanation": "string"                }              ],              "messages": [                {                  "context": "None",                  "contextReference": "string",                  "kind": "Information",                  "scope": "None",                  "text": "string",                  "origin": "Default"                }              ],              "redistributionInfo": "string"            },            "categoryMaterialOptionFilter": 0,            "categoryMaterialOptionInterfaceKeys": [              "string"            ],            "childCategoryDescription": "string",            "childCategoryId": 0,            "description": "string",            "imageUrl": "string",            "interfaceKey": "string",            "isEnabled": true,            "isMainCategory": true,            "parentCategoryId": 0,            "quantityDescription": "string",            "remarks": "string",            "requiredLevel": "None",            "options": [              "None"            ]          },          "customCode": "string",          "categoryExtraCode": "string",          "contentBlockId": "string",          "option": {            "id": "string",            "label": "string",            "value": "string",            "dataType": "None",            "controlType": "Text",            "defaultControlType": "Text",            "customControlCode": "string",            "isRequired": true,            "isVisible": true,            "displaySuffix": "string",            "isReadonly": true,            "description": "string",            "imageUrl": "string",            "values": [              {                "label": "string",                "value": "string",                "imageUrl": "string",                "isDisabled": true,                "priceDifference": 0,                "price": 0,                "contentBlockId": "string",                "description": "string"              }            ],            "validation": {              "min": null,              "max": null,              "precision": 0,              "step": null,              "isValid": true            },            "propertyDescription": "string",            "explanation": "string"          },          "appliedExtras": [            {              "id": "string",              "materialId": 0,              "materialCategoryId": 0,              "categoryExtraId": 0,              "quantity": 0.1,              "description": "string",              "priceElement": {                "code": "string",                "materialId": 0,                "supplierCode": "string",                "description": "string",                "purchasePrice": {                  "unitPurchasePrice": 0,                  "totalPurchasePrice": 0                },                "quantity": 0.1,                "totalPrice": 0.1,                "totalPriceBeforePromotion": 0.1,                "unit": "string",                "unitPrice": 0.1,                "unitPriceBeforePromotion": 0.1,                "totalPriceExclVat": 0.1,                "unitPriceExclVat": 0.1,                "vatAmount": 0.1,                "vatPercentage": 0.1              }            }          ],          "children": [            {              "wizardStepItemId": 0,              "name": "string",              "description": "string",              "image": "string",              "kind": "Property",              "categoryLink": {                "id": 0,                "categoryLinkMaterial": {                  "materialCode": "string",                  "supplierCode": "string",                  "materialId": 0,                  "materialDescription": "string",                  "materialColor": "string",                  "materialRemarks": "string",                  "materialComposition": "string",                  "materialSalePrice": 0,                  "saleQuantity": 0,                  "calcQuantity": 0,                  "calcQuantityNet": 0,                  "saleUnit": "string",                  "supplierId": 0,                  "supplierSbnKey": 0,                  "price": {                    "discountAmount": 0.1,                    "priceGroups": [                      {                        "code": "string",                        "description": "string",                        "displayOrder": 0,                        "elements": [                          {                            "code": "string",                            "materialId": 0,                            "supplierCode": "string",                            "description": "string",                            "purchasePrice": {},                            "quantity": 0.1,                            "totalPrice": 0.1,                            "totalPriceBeforePromotion": 0.1,                            "unit": "string",                            "unitPrice": 0.1,                            "unitPriceBeforePromotion": 0.1,                            "totalPriceExclVat": 0.1,                            "unitPriceExclVat": 0.1,                            "vatAmount": 0.1,                            "vatPercentage": 0.1                          }                        ]                      }                    ],                    "promotions": [                      {                        "code": "string",                        "description": "string",                        "priceDiscount": 0.1,                        "reference": "string",                        "validUntil": "2019-08-24T14:15:22Z",                        "priceDiscountExclVat": 0.1,                        "attributes": {                          "property1": "string",                          "property2": "string"                        }                      }                    ],                    "totalPrice": 0.1,                    "totalPriceBeforePromotions": 0.1,                    "totalPurchasePrice": 0.1                  },                  "properties": [                    {                      "id": 0,                      "controlType": "Text",                      "customControlCode": "string",                      "dataType": 0,                      "valueDataType": "None",                      "defaultControlType": "Text",                      "description": "string",                      "displayLabel": "string",                      "displayOrder": 0,                      "displaySuffix": "string",                      "hasDynamicDescription": true,                      "interfaceKey": "string",                      "isModified": true,                      "isModifiedByApp": true,                      "isReadonly": true,                      "isRequired": true,                      "isVisible": true,                      "isAvailableBeforeCalculation": true,                      "listValues": [                        {                          "description": "string",                          "imageUrl": "string",                          "interfaceKey": "string",                          "skills": "string",                          "remarks": "string",                          "value": "string",                          "isDisabled": true,                          "priceDifference": 0,                          "price": 0,                          "categoryLinkPropertyId": 0,                          "contentBlockId": "string"                        }                      ],                      "propertyId": 0,                      "remarks": "string",                      "value": "string",                      "validation": {                        "min": null,                        "max": null,                        "precision": 0,                        "step": null,                        "isValid": true                      },                      "imageUrl": "string",                      "explanation": "string"                    }                  ],                  "messages": [                    {                      "context": "None",                      "contextReference": "string",                      "kind": "Information",                      "scope": "None",                      "text": "string",                      "origin": "Default"                    }                  ],                  "redistributionInfo": "string"                },                "categoryMaterialOptionFilter": 0,                "categoryMaterialOptionInterfaceKeys": [                  "string"                ],                "childCategoryDescription": "string",                "childCategoryId": 0,                "description": "string",                "imageUrl": "string",                "interfaceKey": "string",                "isEnabled": true,                "isMainCategory": true,                "parentCategoryId": 0,                "quantityDescription": "string",                "remarks": "string",                "requiredLevel": "None",                "options": [                  "None"                ]              },              "customCode": "string",              "categoryExtraCode": "string",              "contentBlockId": "string",              "option": {                "id": "string",                "label": "string",                "value": "string",                "dataType": "None",                "controlType": "Text",                "defaultControlType": "Text",                "customControlCode": "string",                "isRequired": true,                "isVisible": true,                "displaySuffix": "string",                "isReadonly": true,                "description": "string",                "imageUrl": "string",                "values": [                  {                    "label": "string",                    "value": "string",                    "imageUrl": "string",                    "isDisabled": true,                    "priceDifference": 0,                    "price": 0,                    "contentBlockId": "string",                    "description": "string"                  }                ],                "validation": {                  "min": null,                  "max": null,                  "precision": 0,                  "step": null,                  "isValid": true                },                "propertyDescription": "string",                "explanation": "string"              },              "appliedExtras": [                {                  "id": "string",                  "materialId": 0,                  "materialCategoryId": 0,                  "categoryExtraId": 0,                  "quantity": 0.1,                  "description": "string",                  "priceElement": {                    "code": "string",                    "materialId": 0,                    "supplierCode": "string",                    "description": "string",                    "purchasePrice": {                      "unitPurchasePrice": 0,                      "totalPurchasePrice": 0                    },                    "quantity": 0.1,                    "totalPrice": 0.1,                    "totalPriceBeforePromotion": 0.1,                    "unit": "string",                    "unitPrice": 0.1,                    "unitPriceBeforePromotion": 0.1,                    "totalPriceExclVat": 0.1,                    "unitPriceExclVat": 0.1,                    "vatAmount": 0.1,                    "vatPercentage": 0.1                  }                }              ],              "children": [],              "messages": [                {                  "context": "None",                  "contextReference": "string",                  "kind": "Information",                  "scope": "None",                  "text": "string",                  "origin": "Default"                }              ],              "isValid": true            }          ],          "messages": [            {              "context": "None",              "contextReference": "string",              "kind": "Information",              "scope": "None",              "text": "string",              "origin": "Default"            }          ],          "isValid": true        }      ],      "messages": [        {          "context": "None",          "contextReference": "string",          "kind": "Information",          "scope": "None",          "text": "string",          "origin": "Default"        }      ],      "isValid": true,      "isEnabled": true    }  ],  "attributes": {    "property1": "string",    "property2": "string"  },  "state": "New",  "messages": [    {      "context": "None",      "contextReference": "string",      "kind": "Information",      "scope": "None",      "text": "string",      "origin": "Default"    }  ],  "materials": [    {      "categoryLinkId": 0,      "interfaceKey": "string",      "isMainMaterial": true,      "material": {        "id": 0,        "attachments": [          {            "kind": "Pdf",            "path": "string",            "pathKind": "Relative",            "content": "string"          }        ],        "categoryDescription": "string",        "categoryId": 0,        "code": "string",        "color": "string",        "colorDescription": "string",        "composition": "string",        "description": "string",        "eanCode": "string",        "extraFieldValues": [          {            "displayOrder": 0,            "extraField": 0,            "extraFieldName": "string",            "extraFieldNameResource": "string",            "image": "string",            "value": "string",            "valueResource": "string"          }        ],        "height": 0,        "imageUrl": "string",        "isWage": true,        "leadTime": 0,        "length": 0,        "materialOptionValues": [          {            "description": "string",            "value": 0,            "interfaceKey": "string"          }        ],        "materialGroups": [          {            "id": 0,            "code": "string",            "description": "string",            "children": [              {                "id": 0,                "code": "string",                "description": "string",                "children": []              }            ]          }        ],        "materialKind": {          "description": "string",          "value": 0,          "interfaceKey": "string"        },        "materialStyle": {          "description": "string",          "value": 0,          "interfaceKey": "string"        },        "patternLength": 0,        "patternWidth": 0,        "promotionPrice": 0,        "remarks": "string",        "salePrice": 0,        "saleUnit": "Millimeters",        "shrinkTolerance": 0,        "supplierCode": "string",        "supplierId": 0,        "supplierSbnKey": 0,        "unit": "Millimeters",        "validModelIds": [          "string"        ],        "washingSymbols": "string",        "weight": 0,        "width": 0      }    }  ]}
{  "type": "string",  "title": "string",  "status": 0,  "detail": "string",  "instance": "string",  "extensions": {    "property1": null,    "property2": null  },  "errors": {    "property1": [      "string"    ],    "property2": [      "string"    ]  },  "property1": null,  "property2": null}
{  "type": "string",  "title": "string",  "status": 0,  "detail": "string",  "instance": "string",  "extensions": {    "property1": null,    "property2": null  },  "property1": null,  "property2": null}
POST/api/gateway/v2/wizardpolygon/deleteattributes

Deletes polygon attributes with the specified string key-value pairs.

Request Body

application/json

Options to delete the Polygon attributes.

TypeScript Definitions

Use the request body type in TypeScript.

Contains information to delete the attributes for the specified polygon.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/api/gateway/v2/wizardpolygon/deleteattributes" \  -H "Content-Type: application/json" \  -d '{    "polygonId": "string",    "attributes": {      "property1": "string",      "property2": "string"    }  }'
{  "id": "string",  "wizardId": 0,  "wizardName": "string",  "isValid": true,  "polygonDescription": "string",  "modelId": "string",  "leadTime": 0.1,  "dimensions": {    "width": {      "value": 0,      "grossValue": 0,      "correction": 0,      "minValue": 0,      "maxValue": 0,      "measurementTypeSettingId": 0    },    "height": {      "value": 0,      "grossValue": 0,      "correction": 0,      "minValue": 0,      "maxValue": 0,      "measurementTypeSettingId": 0    }  },  "prices": {    "discountAmount": 0.1,    "priceGroups": [      {        "code": "string",        "description": "string",        "displayOrder": 0,        "elements": [          {            "code": "string",            "materialId": 0,            "supplierCode": "string",            "description": "string",            "purchasePrice": {              "unitPurchasePrice": 0,              "totalPurchasePrice": 0            },            "quantity": 0.1,            "totalPrice": 0.1,            "totalPriceBeforePromotion": 0.1,            "unit": "string",            "unitPrice": 0.1,            "unitPriceBeforePromotion": 0.1,            "totalPriceExclVat": 0.1,            "unitPriceExclVat": 0.1,            "vatAmount": 0.1,            "vatPercentage": 0.1          }        ]      }    ],    "promotions": [      {        "code": "string",        "description": "string",        "priceDiscount": 0.1,        "reference": "string",        "validUntil": "2019-08-24T14:15:22Z",        "priceDiscountExclVat": 0.1,        "attributes": {          "property1": "string",          "property2": "string"        }      }    ],    "totalPrice": 0.1,    "totalPriceBeforePromotions": 0.1,    "totalPurchasePrice": 0.1  },  "steps": [    {      "name": "string",      "wizardStepId": 0,      "kind": "Property",      "description": "string",      "displayOrder": 0,      "code": "string",      "items": [        {          "wizardStepItemId": 0,          "name": "string",          "description": "string",          "image": "string",          "kind": "Property",          "categoryLink": {            "id": 0,            "categoryLinkMaterial": {              "materialCode": "string",              "supplierCode": "string",              "materialId": 0,              "materialDescription": "string",              "materialColor": "string",              "materialRemarks": "string",              "materialComposition": "string",              "materialSalePrice": 0,              "saleQuantity": 0,              "calcQuantity": 0,              "calcQuantityNet": 0,              "saleUnit": "string",              "supplierId": 0,              "supplierSbnKey": 0,              "price": {                "discountAmount": 0.1,                "priceGroups": [                  {                    "code": "string",                    "description": "string",                    "displayOrder": 0,                    "elements": [                      {                        "code": "string",                        "materialId": 0,                        "supplierCode": "string",                        "description": "string",                        "purchasePrice": {                          "unitPurchasePrice": 0,                          "totalPurchasePrice": 0                        },                        "quantity": 0.1,                        "totalPrice": 0.1,                        "totalPriceBeforePromotion": 0.1,                        "unit": "string",                        "unitPrice": 0.1,                        "unitPriceBeforePromotion": 0.1,                        "totalPriceExclVat": 0.1,                        "unitPriceExclVat": 0.1,                        "vatAmount": 0.1,                        "vatPercentage": 0.1                      }                    ]                  }                ],                "promotions": [                  {                    "code": "string",                    "description": "string",                    "priceDiscount": 0.1,                    "reference": "string",                    "validUntil": "2019-08-24T14:15:22Z",                    "priceDiscountExclVat": 0.1,                    "attributes": {                      "property1": "string",                      "property2": "string"                    }                  }                ],                "totalPrice": 0.1,                "totalPriceBeforePromotions": 0.1,                "totalPurchasePrice": 0.1              },              "properties": [                {                  "id": 0,                  "controlType": "Text",                  "customControlCode": "string",                  "dataType": 0,                  "valueDataType": "None",                  "defaultControlType": "Text",                  "description": "string",                  "displayLabel": "string",                  "displayOrder": 0,                  "displaySuffix": "string",                  "hasDynamicDescription": true,                  "interfaceKey": "string",                  "isModified": true,                  "isModifiedByApp": true,                  "isReadonly": true,                  "isRequired": true,                  "isVisible": true,                  "isAvailableBeforeCalculation": true,                  "listValues": [                    {                      "description": "string",                      "imageUrl": "string",                      "interfaceKey": "string",                      "skills": "string",                      "remarks": "string",                      "value": "string",                      "isDisabled": true,                      "priceDifference": 0,                      "price": 0,                      "categoryLinkPropertyId": 0,                      "contentBlockId": "string"                    }                  ],                  "propertyId": 0,                  "remarks": "string",                  "value": "string",                  "validation": {                    "min": null,                    "max": null,                    "precision": 0,                    "step": null,                    "isValid": true                  },                  "imageUrl": "string",                  "explanation": "string"                }              ],              "messages": [                {                  "context": "None",                  "contextReference": "string",                  "kind": "Information",                  "scope": "None",                  "text": "string",                  "origin": "Default"                }              ],              "redistributionInfo": "string"            },            "categoryMaterialOptionFilter": 0,            "categoryMaterialOptionInterfaceKeys": [              "string"            ],            "childCategoryDescription": "string",            "childCategoryId": 0,            "description": "string",            "imageUrl": "string",            "interfaceKey": "string",            "isEnabled": true,            "isMainCategory": true,            "parentCategoryId": 0,            "quantityDescription": "string",            "remarks": "string",            "requiredLevel": "None",            "options": [              "None"            ]          },          "customCode": "string",          "categoryExtraCode": "string",          "contentBlockId": "string",          "option": {            "id": "string",            "label": "string",            "value": "string",            "dataType": "None",            "controlType": "Text",            "defaultControlType": "Text",            "customControlCode": "string",            "isRequired": true,            "isVisible": true,            "displaySuffix": "string",            "isReadonly": true,            "description": "string",            "imageUrl": "string",            "values": [              {                "label": "string",                "value": "string",                "imageUrl": "string",                "isDisabled": true,                "priceDifference": 0,                "price": 0,                "contentBlockId": "string",                "description": "string"              }            ],            "validation": {              "min": null,              "max": null,              "precision": 0,              "step": null,              "isValid": true            },            "propertyDescription": "string",            "explanation": "string"          },          "appliedExtras": [            {              "id": "string",              "materialId": 0,              "materialCategoryId": 0,              "categoryExtraId": 0,              "quantity": 0.1,              "description": "string",              "priceElement": {                "code": "string",                "materialId": 0,                "supplierCode": "string",                "description": "string",                "purchasePrice": {                  "unitPurchasePrice": 0,                  "totalPurchasePrice": 0                },                "quantity": 0.1,                "totalPrice": 0.1,                "totalPriceBeforePromotion": 0.1,                "unit": "string",                "unitPrice": 0.1,                "unitPriceBeforePromotion": 0.1,                "totalPriceExclVat": 0.1,                "unitPriceExclVat": 0.1,                "vatAmount": 0.1,                "vatPercentage": 0.1              }            }          ],          "children": [            {              "wizardStepItemId": 0,              "name": "string",              "description": "string",              "image": "string",              "kind": "Property",              "categoryLink": {                "id": 0,                "categoryLinkMaterial": {                  "materialCode": "string",                  "supplierCode": "string",                  "materialId": 0,                  "materialDescription": "string",                  "materialColor": "string",                  "materialRemarks": "string",                  "materialComposition": "string",                  "materialSalePrice": 0,                  "saleQuantity": 0,                  "calcQuantity": 0,                  "calcQuantityNet": 0,                  "saleUnit": "string",                  "supplierId": 0,                  "supplierSbnKey": 0,                  "price": {                    "discountAmount": 0.1,                    "priceGroups": [                      {                        "code": "string",                        "description": "string",                        "displayOrder": 0,                        "elements": [                          {                            "code": "string",                            "materialId": 0,                            "supplierCode": "string",                            "description": "string",                            "purchasePrice": {},                            "quantity": 0.1,                            "totalPrice": 0.1,                            "totalPriceBeforePromotion": 0.1,                            "unit": "string",                            "unitPrice": 0.1,                            "unitPriceBeforePromotion": 0.1,                            "totalPriceExclVat": 0.1,                            "unitPriceExclVat": 0.1,                            "vatAmount": 0.1,                            "vatPercentage": 0.1                          }                        ]                      }                    ],                    "promotions": [                      {                        "code": "string",                        "description": "string",                        "priceDiscount": 0.1,                        "reference": "string",                        "validUntil": "2019-08-24T14:15:22Z",                        "priceDiscountExclVat": 0.1,                        "attributes": {                          "property1": "string",                          "property2": "string"                        }                      }                    ],                    "totalPrice": 0.1,                    "totalPriceBeforePromotions": 0.1,                    "totalPurchasePrice": 0.1                  },                  "properties": [                    {                      "id": 0,                      "controlType": "Text",                      "customControlCode": "string",                      "dataType": 0,                      "valueDataType": "None",                      "defaultControlType": "Text",                      "description": "string",                      "displayLabel": "string",                      "displayOrder": 0,                      "displaySuffix": "string",                      "hasDynamicDescription": true,                      "interfaceKey": "string",                      "isModified": true,                      "isModifiedByApp": true,                      "isReadonly": true,                      "isRequired": true,                      "isVisible": true,                      "isAvailableBeforeCalculation": true,                      "listValues": [                        {                          "description": "string",                          "imageUrl": "string",                          "interfaceKey": "string",                          "skills": "string",                          "remarks": "string",                          "value": "string",                          "isDisabled": true,                          "priceDifference": 0,                          "price": 0,                          "categoryLinkPropertyId": 0,                          "contentBlockId": "string"                        }                      ],                      "propertyId": 0,                      "remarks": "string",                      "value": "string",                      "validation": {                        "min": null,                        "max": null,                        "precision": 0,                        "step": null,                        "isValid": true                      },                      "imageUrl": "string",                      "explanation": "string"                    }                  ],                  "messages": [                    {                      "context": "None",                      "contextReference": "string",                      "kind": "Information",                      "scope": "None",                      "text": "string",                      "origin": "Default"                    }                  ],                  "redistributionInfo": "string"                },                "categoryMaterialOptionFilter": 0,                "categoryMaterialOptionInterfaceKeys": [                  "string"                ],                "childCategoryDescription": "string",                "childCategoryId": 0,                "description": "string",                "imageUrl": "string",                "interfaceKey": "string",                "isEnabled": true,                "isMainCategory": true,                "parentCategoryId": 0,                "quantityDescription": "string",                "remarks": "string",                "requiredLevel": "None",                "options": [                  "None"                ]              },              "customCode": "string",              "categoryExtraCode": "string",              "contentBlockId": "string",              "option": {                "id": "string",                "label": "string",                "value": "string",                "dataType": "None",                "controlType": "Text",                "defaultControlType": "Text",                "customControlCode": "string",                "isRequired": true,                "isVisible": true,                "displaySuffix": "string",                "isReadonly": true,                "description": "string",                "imageUrl": "string",                "values": [                  {                    "label": "string",                    "value": "string",                    "imageUrl": "string",                    "isDisabled": true,                    "priceDifference": 0,                    "price": 0,                    "contentBlockId": "string",                    "description": "string"                  }                ],                "validation": {                  "min": null,                  "max": null,                  "precision": 0,                  "step": null,                  "isValid": true                },                "propertyDescription": "string",                "explanation": "string"              },              "appliedExtras": [                {                  "id": "string",                  "materialId": 0,                  "materialCategoryId": 0,                  "categoryExtraId": 0,                  "quantity": 0.1,                  "description": "string",                  "priceElement": {                    "code": "string",                    "materialId": 0,                    "supplierCode": "string",                    "description": "string",                    "purchasePrice": {                      "unitPurchasePrice": 0,                      "totalPurchasePrice": 0                    },                    "quantity": 0.1,                    "totalPrice": 0.1,                    "totalPriceBeforePromotion": 0.1,                    "unit": "string",                    "unitPrice": 0.1,                    "unitPriceBeforePromotion": 0.1,                    "totalPriceExclVat": 0.1,                    "unitPriceExclVat": 0.1,                    "vatAmount": 0.1,                    "vatPercentage": 0.1                  }                }              ],              "children": [],              "messages": [                {                  "context": "None",                  "contextReference": "string",                  "kind": "Information",                  "scope": "None",                  "text": "string",                  "origin": "Default"                }              ],              "isValid": true            }          ],          "messages": [            {              "context": "None",              "contextReference": "string",              "kind": "Information",              "scope": "None",              "text": "string",              "origin": "Default"            }          ],          "isValid": true        }      ],      "messages": [        {          "context": "None",          "contextReference": "string",          "kind": "Information",          "scope": "None",          "text": "string",          "origin": "Default"        }      ],      "isValid": true,      "isEnabled": true    }  ],  "attributes": {    "property1": "string",    "property2": "string"  },  "state": "New",  "messages": [    {      "context": "None",      "contextReference": "string",      "kind": "Information",      "scope": "None",      "text": "string",      "origin": "Default"    }  ],  "materials": [    {      "categoryLinkId": 0,      "interfaceKey": "string",      "isMainMaterial": true,      "material": {        "id": 0,        "attachments": [          {            "kind": "Pdf",            "path": "string",            "pathKind": "Relative",            "content": "string"          }        ],        "categoryDescription": "string",        "categoryId": 0,        "code": "string",        "color": "string",        "colorDescription": "string",        "composition": "string",        "description": "string",        "eanCode": "string",        "extraFieldValues": [          {            "displayOrder": 0,            "extraField": 0,            "extraFieldName": "string",            "extraFieldNameResource": "string",            "image": "string",            "value": "string",            "valueResource": "string"          }        ],        "height": 0,        "imageUrl": "string",        "isWage": true,        "leadTime": 0,        "length": 0,        "materialOptionValues": [          {            "description": "string",            "value": 0,            "interfaceKey": "string"          }        ],        "materialGroups": [          {            "id": 0,            "code": "string",            "description": "string",            "children": [              {                "id": 0,                "code": "string",                "description": "string",                "children": []              }            ]          }        ],        "materialKind": {          "description": "string",          "value": 0,          "interfaceKey": "string"        },        "materialStyle": {          "description": "string",          "value": 0,          "interfaceKey": "string"        },        "patternLength": 0,        "patternWidth": 0,        "promotionPrice": 0,        "remarks": "string",        "salePrice": 0,        "saleUnit": "Millimeters",        "shrinkTolerance": 0,        "supplierCode": "string",        "supplierId": 0,        "supplierSbnKey": 0,        "unit": "Millimeters",        "validModelIds": [          "string"        ],        "washingSymbols": "string",        "weight": 0,        "width": 0      }    }  ]}
{  "type": "string",  "title": "string",  "status": 0,  "detail": "string",  "instance": "string",  "extensions": {    "property1": null,    "property2": null  },  "errors": {    "property1": [      "string"    ],    "property2": [      "string"    ]  },  "property1": null,  "property2": null}
{  "type": "string",  "title": "string",  "status": 0,  "detail": "string",  "instance": "string",  "extensions": {    "property1": null,    "property2": null  },  "property1": null,  "property2": null}
POST/api/gateway/v2/wizardpolygon/setdescription

Sets the description of a polygon

Request Body

application/json

Options for the desciprion to set for this Polygon

TypeScript Definitions

Use the request body type in TypeScript.

Contains information about the description to set for a specified polygon.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/api/gateway/v2/wizardpolygon/setdescription" \  -H "Content-Type: application/json" \  -d '{    "polygonId": "string"  }'
{  "id": "string",  "wizardId": 0,  "wizardName": "string",  "isValid": true,  "polygonDescription": "string",  "modelId": "string",  "leadTime": 0.1,  "dimensions": {    "width": {      "value": 0,      "grossValue": 0,      "correction": 0,      "minValue": 0,      "maxValue": 0,      "measurementTypeSettingId": 0    },    "height": {      "value": 0,      "grossValue": 0,      "correction": 0,      "minValue": 0,      "maxValue": 0,      "measurementTypeSettingId": 0    }  },  "prices": {    "discountAmount": 0.1,    "priceGroups": [      {        "code": "string",        "description": "string",        "displayOrder": 0,        "elements": [          {            "code": "string",            "materialId": 0,            "supplierCode": "string",            "description": "string",            "purchasePrice": {              "unitPurchasePrice": 0,              "totalPurchasePrice": 0            },            "quantity": 0.1,            "totalPrice": 0.1,            "totalPriceBeforePromotion": 0.1,            "unit": "string",            "unitPrice": 0.1,            "unitPriceBeforePromotion": 0.1,            "totalPriceExclVat": 0.1,            "unitPriceExclVat": 0.1,            "vatAmount": 0.1,            "vatPercentage": 0.1          }        ]      }    ],    "promotions": [      {        "code": "string",        "description": "string",        "priceDiscount": 0.1,        "reference": "string",        "validUntil": "2019-08-24T14:15:22Z",        "priceDiscountExclVat": 0.1,        "attributes": {          "property1": "string",          "property2": "string"        }      }    ],    "totalPrice": 0.1,    "totalPriceBeforePromotions": 0.1,    "totalPurchasePrice": 0.1  },  "steps": [    {      "name": "string",      "wizardStepId": 0,      "kind": "Property",      "description": "string",      "displayOrder": 0,      "code": "string",      "items": [        {          "wizardStepItemId": 0,          "name": "string",          "description": "string",          "image": "string",          "kind": "Property",          "categoryLink": {            "id": 0,            "categoryLinkMaterial": {              "materialCode": "string",              "supplierCode": "string",              "materialId": 0,              "materialDescription": "string",              "materialColor": "string",              "materialRemarks": "string",              "materialComposition": "string",              "materialSalePrice": 0,              "saleQuantity": 0,              "calcQuantity": 0,              "calcQuantityNet": 0,              "saleUnit": "string",              "supplierId": 0,              "supplierSbnKey": 0,              "price": {                "discountAmount": 0.1,                "priceGroups": [                  {                    "code": "string",                    "description": "string",                    "displayOrder": 0,                    "elements": [                      {                        "code": "string",                        "materialId": 0,                        "supplierCode": "string",                        "description": "string",                        "purchasePrice": {                          "unitPurchasePrice": 0,                          "totalPurchasePrice": 0                        },                        "quantity": 0.1,                        "totalPrice": 0.1,                        "totalPriceBeforePromotion": 0.1,                        "unit": "string",                        "unitPrice": 0.1,                        "unitPriceBeforePromotion": 0.1,                        "totalPriceExclVat": 0.1,                        "unitPriceExclVat": 0.1,                        "vatAmount": 0.1,                        "vatPercentage": 0.1                      }                    ]                  }                ],                "promotions": [                  {                    "code": "string",                    "description": "string",                    "priceDiscount": 0.1,                    "reference": "string",                    "validUntil": "2019-08-24T14:15:22Z",                    "priceDiscountExclVat": 0.1,                    "attributes": {                      "property1": "string",                      "property2": "string"                    }                  }                ],                "totalPrice": 0.1,                "totalPriceBeforePromotions": 0.1,                "totalPurchasePrice": 0.1              },              "properties": [                {                  "id": 0,                  "controlType": "Text",                  "customControlCode": "string",                  "dataType": 0,                  "valueDataType": "None",                  "defaultControlType": "Text",                  "description": "string",                  "displayLabel": "string",                  "displayOrder": 0,                  "displaySuffix": "string",                  "hasDynamicDescription": true,                  "interfaceKey": "string",                  "isModified": true,                  "isModifiedByApp": true,                  "isReadonly": true,                  "isRequired": true,                  "isVisible": true,                  "isAvailableBeforeCalculation": true,                  "listValues": [                    {                      "description": "string",                      "imageUrl": "string",                      "interfaceKey": "string",                      "skills": "string",                      "remarks": "string",                      "value": "string",                      "isDisabled": true,                      "priceDifference": 0,                      "price": 0,                      "categoryLinkPropertyId": 0,                      "contentBlockId": "string"                    }                  ],                  "propertyId": 0,                  "remarks": "string",                  "value": "string",                  "validation": {                    "min": null,                    "max": null,                    "precision": 0,                    "step": null,                    "isValid": true                  },                  "imageUrl": "string",                  "explanation": "string"                }              ],              "messages": [                {                  "context": "None",                  "contextReference": "string",                  "kind": "Information",                  "scope": "None",                  "text": "string",                  "origin": "Default"                }              ],              "redistributionInfo": "string"            },            "categoryMaterialOptionFilter": 0,            "categoryMaterialOptionInterfaceKeys": [              "string"            ],            "childCategoryDescription": "string",            "childCategoryId": 0,            "description": "string",            "imageUrl": "string",            "interfaceKey": "string",            "isEnabled": true,            "isMainCategory": true,            "parentCategoryId": 0,            "quantityDescription": "string",            "remarks": "string",            "requiredLevel": "None",            "options": [              "None"            ]          },          "customCode": "string",          "categoryExtraCode": "string",          "contentBlockId": "string",          "option": {            "id": "string",            "label": "string",            "value": "string",            "dataType": "None",            "controlType": "Text",            "defaultControlType": "Text",            "customControlCode": "string",            "isRequired": true,            "isVisible": true,            "displaySuffix": "string",            "isReadonly": true,            "description": "string",            "imageUrl": "string",            "values": [              {                "label": "string",                "value": "string",                "imageUrl": "string",                "isDisabled": true,                "priceDifference": 0,                "price": 0,                "contentBlockId": "string",                "description": "string"              }            ],            "validation": {              "min": null,              "max": null,              "precision": 0,              "step": null,              "isValid": true            },            "propertyDescription": "string",            "explanation": "string"          },          "appliedExtras": [            {              "id": "string",              "materialId": 0,              "materialCategoryId": 0,              "categoryExtraId": 0,              "quantity": 0.1,              "description": "string",              "priceElement": {                "code": "string",                "materialId": 0,                "supplierCode": "string",                "description": "string",                "purchasePrice": {                  "unitPurchasePrice": 0,                  "totalPurchasePrice": 0                },                "quantity": 0.1,                "totalPrice": 0.1,                "totalPriceBeforePromotion": 0.1,                "unit": "string",                "unitPrice": 0.1,                "unitPriceBeforePromotion": 0.1,                "totalPriceExclVat": 0.1,                "unitPriceExclVat": 0.1,                "vatAmount": 0.1,                "vatPercentage": 0.1              }            }          ],          "children": [            {              "wizardStepItemId": 0,              "name": "string",              "description": "string",              "image": "string",              "kind": "Property",              "categoryLink": {                "id": 0,                "categoryLinkMaterial": {                  "materialCode": "string",                  "supplierCode": "string",                  "materialId": 0,                  "materialDescription": "string",                  "materialColor": "string",                  "materialRemarks": "string",                  "materialComposition": "string",                  "materialSalePrice": 0,                  "saleQuantity": 0,                  "calcQuantity": 0,                  "calcQuantityNet": 0,                  "saleUnit": "string",                  "supplierId": 0,                  "supplierSbnKey": 0,                  "price": {                    "discountAmount": 0.1,                    "priceGroups": [                      {                        "code": "string",                        "description": "string",                        "displayOrder": 0,                        "elements": [                          {                            "code": "string",                            "materialId": 0,                            "supplierCode": "string",                            "description": "string",                            "purchasePrice": {},                            "quantity": 0.1,                            "totalPrice": 0.1,                            "totalPriceBeforePromotion": 0.1,                            "unit": "string",                            "unitPrice": 0.1,                            "unitPriceBeforePromotion": 0.1,                            "totalPriceExclVat": 0.1,                            "unitPriceExclVat": 0.1,                            "vatAmount": 0.1,                            "vatPercentage": 0.1                          }                        ]                      }                    ],                    "promotions": [                      {                        "code": "string",                        "description": "string",                        "priceDiscount": 0.1,                        "reference": "string",                        "validUntil": "2019-08-24T14:15:22Z",                        "priceDiscountExclVat": 0.1,                        "attributes": {                          "property1": "string",                          "property2": "string"                        }                      }                    ],                    "totalPrice": 0.1,                    "totalPriceBeforePromotions": 0.1,                    "totalPurchasePrice": 0.1                  },                  "properties": [                    {                      "id": 0,                      "controlType": "Text",                      "customControlCode": "string",                      "dataType": 0,                      "valueDataType": "None",                      "defaultControlType": "Text",                      "description": "string",                      "displayLabel": "string",                      "displayOrder": 0,                      "displaySuffix": "string",                      "hasDynamicDescription": true,                      "interfaceKey": "string",                      "isModified": true,                      "isModifiedByApp": true,                      "isReadonly": true,                      "isRequired": true,                      "isVisible": true,                      "isAvailableBeforeCalculation": true,                      "listValues": [                        {                          "description": "string",                          "imageUrl": "string",                          "interfaceKey": "string",                          "skills": "string",                          "remarks": "string",                          "value": "string",                          "isDisabled": true,                          "priceDifference": 0,                          "price": 0,                          "categoryLinkPropertyId": 0,                          "contentBlockId": "string"                        }                      ],                      "propertyId": 0,                      "remarks": "string",                      "value": "string",                      "validation": {                        "min": null,                        "max": null,                        "precision": 0,                        "step": null,                        "isValid": true                      },                      "imageUrl": "string",                      "explanation": "string"                    }                  ],                  "messages": [                    {                      "context": "None",                      "contextReference": "string",                      "kind": "Information",                      "scope": "None",                      "text": "string",                      "origin": "Default"                    }                  ],                  "redistributionInfo": "string"                },                "categoryMaterialOptionFilter": 0,                "categoryMaterialOptionInterfaceKeys": [                  "string"                ],                "childCategoryDescription": "string",                "childCategoryId": 0,                "description": "string",                "imageUrl": "string",                "interfaceKey": "string",                "isEnabled": true,                "isMainCategory": true,                "parentCategoryId": 0,                "quantityDescription": "string",                "remarks": "string",                "requiredLevel": "None",                "options": [                  "None"                ]              },              "customCode": "string",              "categoryExtraCode": "string",              "contentBlockId": "string",              "option": {                "id": "string",                "label": "string",                "value": "string",                "dataType": "None",                "controlType": "Text",                "defaultControlType": "Text",                "customControlCode": "string",                "isRequired": true,                "isVisible": true,                "displaySuffix": "string",                "isReadonly": true,                "description": "string",                "imageUrl": "string",                "values": [                  {                    "label": "string",                    "value": "string",                    "imageUrl": "string",                    "isDisabled": true,                    "priceDifference": 0,                    "price": 0,                    "contentBlockId": "string",                    "description": "string"                  }                ],                "validation": {                  "min": null,                  "max": null,                  "precision": 0,                  "step": null,                  "isValid": true                },                "propertyDescription": "string",                "explanation": "string"              },              "appliedExtras": [                {                  "id": "string",                  "materialId": 0,                  "materialCategoryId": 0,                  "categoryExtraId": 0,                  "quantity": 0.1,                  "description": "string",                  "priceElement": {                    "code": "string",                    "materialId": 0,                    "supplierCode": "string",                    "description": "string",                    "purchasePrice": {                      "unitPurchasePrice": 0,                      "totalPurchasePrice": 0                    },                    "quantity": 0.1,                    "totalPrice": 0.1,                    "totalPriceBeforePromotion": 0.1,                    "unit": "string",                    "unitPrice": 0.1,                    "unitPriceBeforePromotion": 0.1,                    "totalPriceExclVat": 0.1,                    "unitPriceExclVat": 0.1,                    "vatAmount": 0.1,                    "vatPercentage": 0.1                  }                }              ],              "children": [],              "messages": [                {                  "context": "None",                  "contextReference": "string",                  "kind": "Information",                  "scope": "None",                  "text": "string",                  "origin": "Default"                }              ],              "isValid": true            }          ],          "messages": [            {              "context": "None",              "contextReference": "string",              "kind": "Information",              "scope": "None",              "text": "string",              "origin": "Default"            }          ],          "isValid": true        }      ],      "messages": [        {          "context": "None",          "contextReference": "string",          "kind": "Information",          "scope": "None",          "text": "string",          "origin": "Default"        }      ],      "isValid": true,      "isEnabled": true    }  ],  "attributes": {    "property1": "string",    "property2": "string"  },  "state": "New",  "messages": [    {      "context": "None",      "contextReference": "string",      "kind": "Information",      "scope": "None",      "text": "string",      "origin": "Default"    }  ],  "materials": [    {      "categoryLinkId": 0,      "interfaceKey": "string",      "isMainMaterial": true,      "material": {        "id": 0,        "attachments": [          {            "kind": "Pdf",            "path": "string",            "pathKind": "Relative",            "content": "string"          }        ],        "categoryDescription": "string",        "categoryId": 0,        "code": "string",        "color": "string",        "colorDescription": "string",        "composition": "string",        "description": "string",        "eanCode": "string",        "extraFieldValues": [          {            "displayOrder": 0,            "extraField": 0,            "extraFieldName": "string",            "extraFieldNameResource": "string",            "image": "string",            "value": "string",            "valueResource": "string"          }        ],        "height": 0,        "imageUrl": "string",        "isWage": true,        "leadTime": 0,        "length": 0,        "materialOptionValues": [          {            "description": "string",            "value": 0,            "interfaceKey": "string"          }        ],        "materialGroups": [          {            "id": 0,            "code": "string",            "description": "string",            "children": [              {                "id": 0,                "code": "string",                "description": "string",                "children": []              }            ]          }        ],        "materialKind": {          "description": "string",          "value": 0,          "interfaceKey": "string"        },        "materialStyle": {          "description": "string",          "value": 0,          "interfaceKey": "string"        },        "patternLength": 0,        "patternWidth": 0,        "promotionPrice": 0,        "remarks": "string",        "salePrice": 0,        "saleUnit": "Millimeters",        "shrinkTolerance": 0,        "supplierCode": "string",        "supplierId": 0,        "supplierSbnKey": 0,        "unit": "Millimeters",        "validModelIds": [          "string"        ],        "washingSymbols": "string",        "weight": 0,        "width": 0      }    }  ]}
{  "type": "string",  "title": "string",  "status": 0,  "detail": "string",  "instance": "string",  "extensions": {    "property1": null,    "property2": null  },  "errors": {    "property1": [      "string"    ],    "property2": [      "string"    ]  },  "property1": null,  "property2": null}
{  "type": "string",  "title": "string",  "status": 0,  "detail": "string",  "instance": "string",  "extensions": {    "property1": null,    "property2": null  },  "property1": null,  "property2": null}
POST/api/gateway/v2/wizardpolygon/setpolygontype

Sets the type of a polygon

Request Body

application/json

Options for the type to set for this Polygon

TypeScript Definitions

Use the request body type in TypeScript.

Contains information about the type to set for a specified polygon.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/api/gateway/v2/wizardpolygon/setpolygontype" \  -H "Content-Type: application/json" \  -d '{    "polygonId": "string",    "polygonTypeId": 0  }'
{  "id": "string",  "wizardId": 0,  "wizardName": "string",  "isValid": true,  "polygonDescription": "string",  "modelId": "string",  "leadTime": 0.1,  "dimensions": {    "width": {      "value": 0,      "grossValue": 0,      "correction": 0,      "minValue": 0,      "maxValue": 0,      "measurementTypeSettingId": 0    },    "height": {      "value": 0,      "grossValue": 0,      "correction": 0,      "minValue": 0,      "maxValue": 0,      "measurementTypeSettingId": 0    }  },  "prices": {    "discountAmount": 0.1,    "priceGroups": [      {        "code": "string",        "description": "string",        "displayOrder": 0,        "elements": [          {            "code": "string",            "materialId": 0,            "supplierCode": "string",            "description": "string",            "purchasePrice": {              "unitPurchasePrice": 0,              "totalPurchasePrice": 0            },            "quantity": 0.1,            "totalPrice": 0.1,            "totalPriceBeforePromotion": 0.1,            "unit": "string",            "unitPrice": 0.1,            "unitPriceBeforePromotion": 0.1,            "totalPriceExclVat": 0.1,            "unitPriceExclVat": 0.1,            "vatAmount": 0.1,            "vatPercentage": 0.1          }        ]      }    ],    "promotions": [      {        "code": "string",        "description": "string",        "priceDiscount": 0.1,        "reference": "string",        "validUntil": "2019-08-24T14:15:22Z",        "priceDiscountExclVat": 0.1,        "attributes": {          "property1": "string",          "property2": "string"        }      }    ],    "totalPrice": 0.1,    "totalPriceBeforePromotions": 0.1,    "totalPurchasePrice": 0.1  },  "steps": [    {      "name": "string",      "wizardStepId": 0,      "kind": "Property",      "description": "string",      "displayOrder": 0,      "code": "string",      "items": [        {          "wizardStepItemId": 0,          "name": "string",          "description": "string",          "image": "string",          "kind": "Property",          "categoryLink": {            "id": 0,            "categoryLinkMaterial": {              "materialCode": "string",              "supplierCode": "string",              "materialId": 0,              "materialDescription": "string",              "materialColor": "string",              "materialRemarks": "string",              "materialComposition": "string",              "materialSalePrice": 0,              "saleQuantity": 0,              "calcQuantity": 0,              "calcQuantityNet": 0,              "saleUnit": "string",              "supplierId": 0,              "supplierSbnKey": 0,              "price": {                "discountAmount": 0.1,                "priceGroups": [                  {                    "code": "string",                    "description": "string",                    "displayOrder": 0,                    "elements": [                      {                        "code": "string",                        "materialId": 0,                        "supplierCode": "string",                        "description": "string",                        "purchasePrice": {                          "unitPurchasePrice": 0,                          "totalPurchasePrice": 0                        },                        "quantity": 0.1,                        "totalPrice": 0.1,                        "totalPriceBeforePromotion": 0.1,                        "unit": "string",                        "unitPrice": 0.1,                        "unitPriceBeforePromotion": 0.1,                        "totalPriceExclVat": 0.1,                        "unitPriceExclVat": 0.1,                        "vatAmount": 0.1,                        "vatPercentage": 0.1                      }                    ]                  }                ],                "promotions": [                  {                    "code": "string",                    "description": "string",                    "priceDiscount": 0.1,                    "reference": "string",                    "validUntil": "2019-08-24T14:15:22Z",                    "priceDiscountExclVat": 0.1,                    "attributes": {                      "property1": "string",                      "property2": "string"                    }                  }                ],                "totalPrice": 0.1,                "totalPriceBeforePromotions": 0.1,                "totalPurchasePrice": 0.1              },              "properties": [                {                  "id": 0,                  "controlType": "Text",                  "customControlCode": "string",                  "dataType": 0,                  "valueDataType": "None",                  "defaultControlType": "Text",                  "description": "string",                  "displayLabel": "string",                  "displayOrder": 0,                  "displaySuffix": "string",                  "hasDynamicDescription": true,                  "interfaceKey": "string",                  "isModified": true,                  "isModifiedByApp": true,                  "isReadonly": true,                  "isRequired": true,                  "isVisible": true,                  "isAvailableBeforeCalculation": true,                  "listValues": [                    {                      "description": "string",                      "imageUrl": "string",                      "interfaceKey": "string",                      "skills": "string",                      "remarks": "string",                      "value": "string",                      "isDisabled": true,                      "priceDifference": 0,                      "price": 0,                      "categoryLinkPropertyId": 0,                      "contentBlockId": "string"                    }                  ],                  "propertyId": 0,                  "remarks": "string",                  "value": "string",                  "validation": {                    "min": null,                    "max": null,                    "precision": 0,                    "step": null,                    "isValid": true                  },                  "imageUrl": "string",                  "explanation": "string"                }              ],              "messages": [                {                  "context": "None",                  "contextReference": "string",                  "kind": "Information",                  "scope": "None",                  "text": "string",                  "origin": "Default"                }              ],              "redistributionInfo": "string"            },            "categoryMaterialOptionFilter": 0,            "categoryMaterialOptionInterfaceKeys": [              "string"            ],            "childCategoryDescription": "string",            "childCategoryId": 0,            "description": "string",            "imageUrl": "string",            "interfaceKey": "string",            "isEnabled": true,            "isMainCategory": true,            "parentCategoryId": 0,            "quantityDescription": "string",            "remarks": "string",            "requiredLevel": "None",            "options": [              "None"            ]          },          "customCode": "string",          "categoryExtraCode": "string",          "contentBlockId": "string",          "option": {            "id": "string",            "label": "string",            "value": "string",            "dataType": "None",            "controlType": "Text",            "defaultControlType": "Text",            "customControlCode": "string",            "isRequired": true,            "isVisible": true,            "displaySuffix": "string",            "isReadonly": true,            "description": "string",            "imageUrl": "string",            "values": [              {                "label": "string",                "value": "string",                "imageUrl": "string",                "isDisabled": true,                "priceDifference": 0,                "price": 0,                "contentBlockId": "string",                "description": "string"              }            ],            "validation": {              "min": null,              "max": null,              "precision": 0,              "step": null,              "isValid": true            },            "propertyDescription": "string",            "explanation": "string"          },          "appliedExtras": [            {              "id": "string",              "materialId": 0,              "materialCategoryId": 0,              "categoryExtraId": 0,              "quantity": 0.1,              "description": "string",              "priceElement": {                "code": "string",                "materialId": 0,                "supplierCode": "string",                "description": "string",                "purchasePrice": {                  "unitPurchasePrice": 0,                  "totalPurchasePrice": 0                },                "quantity": 0.1,                "totalPrice": 0.1,                "totalPriceBeforePromotion": 0.1,                "unit": "string",                "unitPrice": 0.1,                "unitPriceBeforePromotion": 0.1,                "totalPriceExclVat": 0.1,                "unitPriceExclVat": 0.1,                "vatAmount": 0.1,                "vatPercentage": 0.1              }            }          ],          "children": [            {              "wizardStepItemId": 0,              "name": "string",              "description": "string",              "image": "string",              "kind": "Property",              "categoryLink": {                "id": 0,                "categoryLinkMaterial": {                  "materialCode": "string",                  "supplierCode": "string",                  "materialId": 0,                  "materialDescription": "string",                  "materialColor": "string",                  "materialRemarks": "string",                  "materialComposition": "string",                  "materialSalePrice": 0,                  "saleQuantity": 0,                  "calcQuantity": 0,                  "calcQuantityNet": 0,                  "saleUnit": "string",                  "supplierId": 0,                  "supplierSbnKey": 0,                  "price": {                    "discountAmount": 0.1,                    "priceGroups": [                      {                        "code": "string",                        "description": "string",                        "displayOrder": 0,                        "elements": [                          {                            "code": "string",                            "materialId": 0,                            "supplierCode": "string",                            "description": "string",                            "purchasePrice": {},                            "quantity": 0.1,                            "totalPrice": 0.1,                            "totalPriceBeforePromotion": 0.1,                            "unit": "string",                            "unitPrice": 0.1,                            "unitPriceBeforePromotion": 0.1,                            "totalPriceExclVat": 0.1,                            "unitPriceExclVat": 0.1,                            "vatAmount": 0.1,                            "vatPercentage": 0.1                          }                        ]                      }                    ],                    "promotions": [                      {                        "code": "string",                        "description": "string",                        "priceDiscount": 0.1,                        "reference": "string",                        "validUntil": "2019-08-24T14:15:22Z",                        "priceDiscountExclVat": 0.1,                        "attributes": {                          "property1": "string",                          "property2": "string"                        }                      }                    ],                    "totalPrice": 0.1,                    "totalPriceBeforePromotions": 0.1,                    "totalPurchasePrice": 0.1                  },                  "properties": [                    {                      "id": 0,                      "controlType": "Text",                      "customControlCode": "string",                      "dataType": 0,                      "valueDataType": "None",                      "defaultControlType": "Text",                      "description": "string",                      "displayLabel": "string",                      "displayOrder": 0,                      "displaySuffix": "string",                      "hasDynamicDescription": true,                      "interfaceKey": "string",                      "isModified": true,                      "isModifiedByApp": true,                      "isReadonly": true,                      "isRequired": true,                      "isVisible": true,                      "isAvailableBeforeCalculation": true,                      "listValues": [                        {                          "description": "string",                          "imageUrl": "string",                          "interfaceKey": "string",                          "skills": "string",                          "remarks": "string",                          "value": "string",                          "isDisabled": true,                          "priceDifference": 0,                          "price": 0,                          "categoryLinkPropertyId": 0,                          "contentBlockId": "string"                        }                      ],                      "propertyId": 0,                      "remarks": "string",                      "value": "string",                      "validation": {                        "min": null,                        "max": null,                        "precision": 0,                        "step": null,                        "isValid": true                      },                      "imageUrl": "string",                      "explanation": "string"                    }                  ],                  "messages": [                    {                      "context": "None",                      "contextReference": "string",                      "kind": "Information",                      "scope": "None",                      "text": "string",                      "origin": "Default"                    }                  ],                  "redistributionInfo": "string"                },                "categoryMaterialOptionFilter": 0,                "categoryMaterialOptionInterfaceKeys": [                  "string"                ],                "childCategoryDescription": "string",                "childCategoryId": 0,                "description": "string",                "imageUrl": "string",                "interfaceKey": "string",                "isEnabled": true,                "isMainCategory": true,                "parentCategoryId": 0,                "quantityDescription": "string",                "remarks": "string",                "requiredLevel": "None",                "options": [                  "None"                ]              },              "customCode": "string",              "categoryExtraCode": "string",              "contentBlockId": "string",              "option": {                "id": "string",                "label": "string",                "value": "string",                "dataType": "None",                "controlType": "Text",                "defaultControlType": "Text",                "customControlCode": "string",                "isRequired": true,                "isVisible": true,                "displaySuffix": "string",                "isReadonly": true,                "description": "string",                "imageUrl": "string",                "values": [                  {                    "label": "string",                    "value": "string",                    "imageUrl": "string",                    "isDisabled": true,                    "priceDifference": 0,                    "price": 0,                    "contentBlockId": "string",                    "description": "string"                  }                ],                "validation": {                  "min": null,                  "max": null,                  "precision": 0,                  "step": null,                  "isValid": true                },                "propertyDescription": "string",                "explanation": "string"              },              "appliedExtras": [                {                  "id": "string",                  "materialId": 0,                  "materialCategoryId": 0,                  "categoryExtraId": 0,                  "quantity": 0.1,                  "description": "string",                  "priceElement": {                    "code": "string",                    "materialId": 0,                    "supplierCode": "string",                    "description": "string",                    "purchasePrice": {                      "unitPurchasePrice": 0,                      "totalPurchasePrice": 0                    },                    "quantity": 0.1,                    "totalPrice": 0.1,                    "totalPriceBeforePromotion": 0.1,                    "unit": "string",                    "unitPrice": 0.1,                    "unitPriceBeforePromotion": 0.1,                    "totalPriceExclVat": 0.1,                    "unitPriceExclVat": 0.1,                    "vatAmount": 0.1,                    "vatPercentage": 0.1                  }                }              ],              "children": [],              "messages": [                {                  "context": "None",                  "contextReference": "string",                  "kind": "Information",                  "scope": "None",                  "text": "string",                  "origin": "Default"                }              ],              "isValid": true            }          ],          "messages": [            {              "context": "None",              "contextReference": "string",              "kind": "Information",              "scope": "None",              "text": "string",              "origin": "Default"            }          ],          "isValid": true        }      ],      "messages": [        {          "context": "None",          "contextReference": "string",          "kind": "Information",          "scope": "None",          "text": "string",          "origin": "Default"        }      ],      "isValid": true,      "isEnabled": true    }  ],  "attributes": {    "property1": "string",    "property2": "string"  },  "state": "New",  "messages": [    {      "context": "None",      "contextReference": "string",      "kind": "Information",      "scope": "None",      "text": "string",      "origin": "Default"    }  ],  "materials": [    {      "categoryLinkId": 0,      "interfaceKey": "string",      "isMainMaterial": true,      "material": {        "id": 0,        "attachments": [          {            "kind": "Pdf",            "path": "string",            "pathKind": "Relative",            "content": "string"          }        ],        "categoryDescription": "string",        "categoryId": 0,        "code": "string",        "color": "string",        "colorDescription": "string",        "composition": "string",        "description": "string",        "eanCode": "string",        "extraFieldValues": [          {            "displayOrder": 0,            "extraField": 0,            "extraFieldName": "string",            "extraFieldNameResource": "string",            "image": "string",            "value": "string",            "valueResource": "string"          }        ],        "height": 0,        "imageUrl": "string",        "isWage": true,        "leadTime": 0,        "length": 0,        "materialOptionValues": [          {            "description": "string",            "value": 0,            "interfaceKey": "string"          }        ],        "materialGroups": [          {            "id": 0,            "code": "string",            "description": "string",            "children": [              {                "id": 0,                "code": "string",                "description": "string",                "children": []              }            ]          }        ],        "materialKind": {          "description": "string",          "value": 0,          "interfaceKey": "string"        },        "materialStyle": {          "description": "string",          "value": 0,          "interfaceKey": "string"        },        "patternLength": 0,        "patternWidth": 0,        "promotionPrice": 0,        "remarks": "string",        "salePrice": 0,        "saleUnit": "Millimeters",        "shrinkTolerance": 0,        "supplierCode": "string",        "supplierId": 0,        "supplierSbnKey": 0,        "unit": "Millimeters",        "validModelIds": [          "string"        ],        "washingSymbols": "string",        "weight": 0,        "width": 0      }    }  ]}
{  "type": "string",  "title": "string",  "status": 0,  "detail": "string",  "instance": "string",  "extensions": {    "property1": null,    "property2": null  },  "errors": {    "property1": [      "string"    ],    "property2": [      "string"    ]  },  "property1": null,  "property2": null}
{  "type": "string",  "title": "string",  "status": 0,  "detail": "string",  "instance": "string",  "extensions": {    "property1": null,    "property2": null  },  "property1": null,  "property2": null}
POST/api/gateway/v2/wizardpolygon/setdimensions

Set the width/height of a Polygon

Request Body

application/json

Options for the dimensions which should be set.

TypeScript Definitions

Use the request body type in TypeScript.

Contains information for the polygon's dimensions to set.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/api/gateway/v2/wizardpolygon/setdimensions" \  -H "Content-Type: application/json" \  -d '{}'
{  "id": "string",  "wizardId": 0,  "wizardName": "string",  "isValid": true,  "polygonDescription": "string",  "modelId": "string",  "leadTime": 0.1,  "dimensions": {    "width": {      "value": 0,      "grossValue": 0,      "correction": 0,      "minValue": 0,      "maxValue": 0,      "measurementTypeSettingId": 0    },    "height": {      "value": 0,      "grossValue": 0,      "correction": 0,      "minValue": 0,      "maxValue": 0,      "measurementTypeSettingId": 0    }  },  "prices": {    "discountAmount": 0.1,    "priceGroups": [      {        "code": "string",        "description": "string",        "displayOrder": 0,        "elements": [          {            "code": "string",            "materialId": 0,            "supplierCode": "string",            "description": "string",            "purchasePrice": {              "unitPurchasePrice": 0,              "totalPurchasePrice": 0            },            "quantity": 0.1,            "totalPrice": 0.1,            "totalPriceBeforePromotion": 0.1,            "unit": "string",            "unitPrice": 0.1,            "unitPriceBeforePromotion": 0.1,            "totalPriceExclVat": 0.1,            "unitPriceExclVat": 0.1,            "vatAmount": 0.1,            "vatPercentage": 0.1          }        ]      }    ],    "promotions": [      {        "code": "string",        "description": "string",        "priceDiscount": 0.1,        "reference": "string",        "validUntil": "2019-08-24T14:15:22Z",        "priceDiscountExclVat": 0.1,        "attributes": {          "property1": "string",          "property2": "string"        }      }    ],    "totalPrice": 0.1,    "totalPriceBeforePromotions": 0.1,    "totalPurchasePrice": 0.1  },  "steps": [    {      "name": "string",      "wizardStepId": 0,      "kind": "Property",      "description": "string",      "displayOrder": 0,      "code": "string",      "items": [        {          "wizardStepItemId": 0,          "name": "string",          "description": "string",          "image": "string",          "kind": "Property",          "categoryLink": {            "id": 0,            "categoryLinkMaterial": {              "materialCode": "string",              "supplierCode": "string",              "materialId": 0,              "materialDescription": "string",              "materialColor": "string",              "materialRemarks": "string",              "materialComposition": "string",              "materialSalePrice": 0,              "saleQuantity": 0,              "calcQuantity": 0,              "calcQuantityNet": 0,              "saleUnit": "string",              "supplierId": 0,              "supplierSbnKey": 0,              "price": {                "discountAmount": 0.1,                "priceGroups": [                  {                    "code": "string",                    "description": "string",                    "displayOrder": 0,                    "elements": [                      {                        "code": "string",                        "materialId": 0,                        "supplierCode": "string",                        "description": "string",                        "purchasePrice": {                          "unitPurchasePrice": 0,                          "totalPurchasePrice": 0                        },                        "quantity": 0.1,                        "totalPrice": 0.1,                        "totalPriceBeforePromotion": 0.1,                        "unit": "string",                        "unitPrice": 0.1,                        "unitPriceBeforePromotion": 0.1,                        "totalPriceExclVat": 0.1,                        "unitPriceExclVat": 0.1,                        "vatAmount": 0.1,                        "vatPercentage": 0.1                      }                    ]                  }                ],                "promotions": [                  {                    "code": "string",                    "description": "string",                    "priceDiscount": 0.1,                    "reference": "string",                    "validUntil": "2019-08-24T14:15:22Z",                    "priceDiscountExclVat": 0.1,                    "attributes": {                      "property1": "string",                      "property2": "string"                    }                  }                ],                "totalPrice": 0.1,                "totalPriceBeforePromotions": 0.1,                "totalPurchasePrice": 0.1              },              "properties": [                {                  "id": 0,                  "controlType": "Text",                  "customControlCode": "string",                  "dataType": 0,                  "valueDataType": "None",                  "defaultControlType": "Text",                  "description": "string",                  "displayLabel": "string",                  "displayOrder": 0,                  "displaySuffix": "string",                  "hasDynamicDescription": true,                  "interfaceKey": "string",                  "isModified": true,                  "isModifiedByApp": true,                  "isReadonly": true,                  "isRequired": true,                  "isVisible": true,                  "isAvailableBeforeCalculation": true,                  "listValues": [                    {                      "description": "string",                      "imageUrl": "string",                      "interfaceKey": "string",                      "skills": "string",                      "remarks": "string",                      "value": "string",                      "isDisabled": true,                      "priceDifference": 0,                      "price": 0,                      "categoryLinkPropertyId": 0,                      "contentBlockId": "string"                    }                  ],                  "propertyId": 0,                  "remarks": "string",                  "value": "string",                  "validation": {                    "min": null,                    "max": null,                    "precision": 0,                    "step": null,                    "isValid": true                  },                  "imageUrl": "string",                  "explanation": "string"                }              ],              "messages": [                {                  "context": "None",                  "contextReference": "string",                  "kind": "Information",                  "scope": "None",                  "text": "string",                  "origin": "Default"                }              ],              "redistributionInfo": "string"            },            "categoryMaterialOptionFilter": 0,            "categoryMaterialOptionInterfaceKeys": [              "string"            ],            "childCategoryDescription": "string",            "childCategoryId": 0,            "description": "string",            "imageUrl": "string",            "interfaceKey": "string",            "isEnabled": true,            "isMainCategory": true,            "parentCategoryId": 0,            "quantityDescription": "string",            "remarks": "string",            "requiredLevel": "None",            "options": [              "None"            ]          },          "customCode": "string",          "categoryExtraCode": "string",          "contentBlockId": "string",          "option": {            "id": "string",            "label": "string",            "value": "string",            "dataType": "None",            "controlType": "Text",            "defaultControlType": "Text",            "customControlCode": "string",            "isRequired": true,            "isVisible": true,            "displaySuffix": "string",            "isReadonly": true,            "description": "string",            "imageUrl": "string",            "values": [              {                "label": "string",                "value": "string",                "imageUrl": "string",                "isDisabled": true,                "priceDifference": 0,                "price": 0,                "contentBlockId": "string",                "description": "string"              }            ],            "validation": {              "min": null,              "max": null,              "precision": 0,              "step": null,              "isValid": true            },            "propertyDescription": "string",            "explanation": "string"          },          "appliedExtras": [            {              "id": "string",              "materialId": 0,              "materialCategoryId": 0,              "categoryExtraId": 0,              "quantity": 0.1,              "description": "string",              "priceElement": {                "code": "string",                "materialId": 0,                "supplierCode": "string",                "description": "string",                "purchasePrice": {                  "unitPurchasePrice": 0,                  "totalPurchasePrice": 0                },                "quantity": 0.1,                "totalPrice": 0.1,                "totalPriceBeforePromotion": 0.1,                "unit": "string",                "unitPrice": 0.1,                "unitPriceBeforePromotion": 0.1,                "totalPriceExclVat": 0.1,                "unitPriceExclVat": 0.1,                "vatAmount": 0.1,                "vatPercentage": 0.1              }            }          ],          "children": [            {              "wizardStepItemId": 0,              "name": "string",              "description": "string",              "image": "string",              "kind": "Property",              "categoryLink": {                "id": 0,                "categoryLinkMaterial": {                  "materialCode": "string",                  "supplierCode": "string",                  "materialId": 0,                  "materialDescription": "string",                  "materialColor": "string",                  "materialRemarks": "string",                  "materialComposition": "string",                  "materialSalePrice": 0,                  "saleQuantity": 0,                  "calcQuantity": 0,                  "calcQuantityNet": 0,                  "saleUnit": "string",                  "supplierId": 0,                  "supplierSbnKey": 0,                  "price": {                    "discountAmount": 0.1,                    "priceGroups": [                      {                        "code": "string",                        "description": "string",                        "displayOrder": 0,                        "elements": [                          {                            "code": "string",                            "materialId": 0,                            "supplierCode": "string",                            "description": "string",                            "purchasePrice": {},                            "quantity": 0.1,                            "totalPrice": 0.1,                            "totalPriceBeforePromotion": 0.1,                            "unit": "string",                            "unitPrice": 0.1,                            "unitPriceBeforePromotion": 0.1,                            "totalPriceExclVat": 0.1,                            "unitPriceExclVat": 0.1,                            "vatAmount": 0.1,                            "vatPercentage": 0.1                          }                        ]                      }                    ],                    "promotions": [                      {                        "code": "string",                        "description": "string",                        "priceDiscount": 0.1,                        "reference": "string",                        "validUntil": "2019-08-24T14:15:22Z",                        "priceDiscountExclVat": 0.1,                        "attributes": {                          "property1": "string",                          "property2": "string"                        }                      }                    ],                    "totalPrice": 0.1,                    "totalPriceBeforePromotions": 0.1,                    "totalPurchasePrice": 0.1                  },                  "properties": [                    {                      "id": 0,                      "controlType": "Text",                      "customControlCode": "string",                      "dataType": 0,                      "valueDataType": "None",                      "defaultControlType": "Text",                      "description": "string",                      "displayLabel": "string",                      "displayOrder": 0,                      "displaySuffix": "string",                      "hasDynamicDescription": true,                      "interfaceKey": "string",                      "isModified": true,                      "isModifiedByApp": true,                      "isReadonly": true,                      "isRequired": true,                      "isVisible": true,                      "isAvailableBeforeCalculation": true,                      "listValues": [                        {                          "description": "string",                          "imageUrl": "string",                          "interfaceKey": "string",                          "skills": "string",                          "remarks": "string",                          "value": "string",                          "isDisabled": true,                          "priceDifference": 0,                          "price": 0,                          "categoryLinkPropertyId": 0,                          "contentBlockId": "string"                        }                      ],                      "propertyId": 0,                      "remarks": "string",                      "value": "string",                      "validation": {                        "min": null,                        "max": null,                        "precision": 0,                        "step": null,                        "isValid": true                      },                      "imageUrl": "string",                      "explanation": "string"                    }                  ],                  "messages": [                    {                      "context": "None",                      "contextReference": "string",                      "kind": "Information",                      "scope": "None",                      "text": "string",                      "origin": "Default"                    }                  ],                  "redistributionInfo": "string"                },                "categoryMaterialOptionFilter": 0,                "categoryMaterialOptionInterfaceKeys": [                  "string"                ],                "childCategoryDescription": "string",                "childCategoryId": 0,                "description": "string",                "imageUrl": "string",                "interfaceKey": "string",                "isEnabled": true,                "isMainCategory": true,                "parentCategoryId": 0,                "quantityDescription": "string",                "remarks": "string",                "requiredLevel": "None",                "options": [                  "None"                ]              },              "customCode": "string",              "categoryExtraCode": "string",              "contentBlockId": "string",              "option": {                "id": "string",                "label": "string",                "value": "string",                "dataType": "None",                "controlType": "Text",                "defaultControlType": "Text",                "customControlCode": "string",                "isRequired": true,                "isVisible": true,                "displaySuffix": "string",                "isReadonly": true,                "description": "string",                "imageUrl": "string",                "values": [                  {                    "label": "string",                    "value": "string",                    "imageUrl": "string",                    "isDisabled": true,                    "priceDifference": 0,                    "price": 0,                    "contentBlockId": "string",                    "description": "string"                  }                ],                "validation": {                  "min": null,                  "max": null,                  "precision": 0,                  "step": null,                  "isValid": true                },                "propertyDescription": "string",                "explanation": "string"              },              "appliedExtras": [                {                  "id": "string",                  "materialId": 0,                  "materialCategoryId": 0,                  "categoryExtraId": 0,                  "quantity": 0.1,                  "description": "string",                  "priceElement": {                    "code": "string",                    "materialId": 0,                    "supplierCode": "string",                    "description": "string",                    "purchasePrice": {                      "unitPurchasePrice": 0,                      "totalPurchasePrice": 0                    },                    "quantity": 0.1,                    "totalPrice": 0.1,                    "totalPriceBeforePromotion": 0.1,                    "unit": "string",                    "unitPrice": 0.1,                    "unitPriceBeforePromotion": 0.1,                    "totalPriceExclVat": 0.1,                    "unitPriceExclVat": 0.1,                    "vatAmount": 0.1,                    "vatPercentage": 0.1                  }                }              ],              "children": [],              "messages": [                {                  "context": "None",                  "contextReference": "string",                  "kind": "Information",                  "scope": "None",                  "text": "string",                  "origin": "Default"                }              ],              "isValid": true            }          ],          "messages": [            {              "context": "None",              "contextReference": "string",              "kind": "Information",              "scope": "None",              "text": "string",              "origin": "Default"            }          ],          "isValid": true        }      ],      "messages": [        {          "context": "None",          "contextReference": "string",          "kind": "Information",          "scope": "None",          "text": "string",          "origin": "Default"        }      ],      "isValid": true,      "isEnabled": true    }  ],  "attributes": {    "property1": "string",    "property2": "string"  },  "state": "New",  "messages": [    {      "context": "None",      "contextReference": "string",      "kind": "Information",      "scope": "None",      "text": "string",      "origin": "Default"    }  ],  "materials": [    {      "categoryLinkId": 0,      "interfaceKey": "string",      "isMainMaterial": true,      "material": {        "id": 0,        "attachments": [          {            "kind": "Pdf",            "path": "string",            "pathKind": "Relative",            "content": "string"          }        ],        "categoryDescription": "string",        "categoryId": 0,        "code": "string",        "color": "string",        "colorDescription": "string",        "composition": "string",        "description": "string",        "eanCode": "string",        "extraFieldValues": [          {            "displayOrder": 0,            "extraField": 0,            "extraFieldName": "string",            "extraFieldNameResource": "string",            "image": "string",            "value": "string",            "valueResource": "string"          }        ],        "height": 0,        "imageUrl": "string",        "isWage": true,        "leadTime": 0,        "length": 0,        "materialOptionValues": [          {            "description": "string",            "value": 0,            "interfaceKey": "string"          }        ],        "materialGroups": [          {            "id": 0,            "code": "string",            "description": "string",            "children": [              {                "id": 0,                "code": "string",                "description": "string",                "children": []              }            ]          }        ],        "materialKind": {          "description": "string",          "value": 0,          "interfaceKey": "string"        },        "materialStyle": {          "description": "string",          "value": 0,          "interfaceKey": "string"        },        "patternLength": 0,        "patternWidth": 0,        "promotionPrice": 0,        "remarks": "string",        "salePrice": 0,        "saleUnit": "Millimeters",        "shrinkTolerance": 0,        "supplierCode": "string",        "supplierId": 0,        "supplierSbnKey": 0,        "unit": "Millimeters",        "validModelIds": [          "string"        ],        "washingSymbols": "string",        "weight": 0,        "width": 0      }    }  ]}
{  "type": "string",  "title": "string",  "status": 0,  "detail": "string",  "instance": "string",  "extensions": {    "property1": null,    "property2": null  },  "errors": {    "property1": [      "string"    ],    "property2": [      "string"    ]  },  "property1": null,  "property2": null}
{  "type": "string",  "title": "string",  "status": 0,  "detail": "string",  "instance": "string",  "extensions": {    "property1": null,    "property2": null  },  "property1": null,  "property2": null}
POST/api/gateway/v2/wizardpolygon/setmeasurementtypesetting

Set the measurementtype of a Polygon

Request Body

application/json

Options for the dimensions which should be set.

TypeScript Definitions

Use the request body type in TypeScript.

COntains the measurementtype to apply and the id of the specified polygon.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/api/gateway/v2/wizardpolygon/setmeasurementtypesetting" \  -H "Content-Type: application/json" \  -d '{}'
{  "id": "string",  "wizardId": 0,  "wizardName": "string",  "isValid": true,  "polygonDescription": "string",  "modelId": "string",  "leadTime": 0.1,  "dimensions": {    "width": {      "value": 0,      "grossValue": 0,      "correction": 0,      "minValue": 0,      "maxValue": 0,      "measurementTypeSettingId": 0    },    "height": {      "value": 0,      "grossValue": 0,      "correction": 0,      "minValue": 0,      "maxValue": 0,      "measurementTypeSettingId": 0    }  },  "prices": {    "discountAmount": 0.1,    "priceGroups": [      {        "code": "string",        "description": "string",        "displayOrder": 0,        "elements": [          {            "code": "string",            "materialId": 0,            "supplierCode": "string",            "description": "string",            "purchasePrice": {              "unitPurchasePrice": 0,              "totalPurchasePrice": 0            },            "quantity": 0.1,            "totalPrice": 0.1,            "totalPriceBeforePromotion": 0.1,            "unit": "string",            "unitPrice": 0.1,            "unitPriceBeforePromotion": 0.1,            "totalPriceExclVat": 0.1,            "unitPriceExclVat": 0.1,            "vatAmount": 0.1,            "vatPercentage": 0.1          }        ]      }    ],    "promotions": [      {        "code": "string",        "description": "string",        "priceDiscount": 0.1,        "reference": "string",        "validUntil": "2019-08-24T14:15:22Z",        "priceDiscountExclVat": 0.1,        "attributes": {          "property1": "string",          "property2": "string"        }      }    ],    "totalPrice": 0.1,    "totalPriceBeforePromotions": 0.1,    "totalPurchasePrice": 0.1  },  "steps": [    {      "name": "string",      "wizardStepId": 0,      "kind": "Property",      "description": "string",      "displayOrder": 0,      "code": "string",      "items": [        {          "wizardStepItemId": 0,          "name": "string",          "description": "string",          "image": "string",          "kind": "Property",          "categoryLink": {            "id": 0,            "categoryLinkMaterial": {              "materialCode": "string",              "supplierCode": "string",              "materialId": 0,              "materialDescription": "string",              "materialColor": "string",              "materialRemarks": "string",              "materialComposition": "string",              "materialSalePrice": 0,              "saleQuantity": 0,              "calcQuantity": 0,              "calcQuantityNet": 0,              "saleUnit": "string",              "supplierId": 0,              "supplierSbnKey": 0,              "price": {                "discountAmount": 0.1,                "priceGroups": [                  {                    "code": "string",                    "description": "string",                    "displayOrder": 0,                    "elements": [                      {                        "code": "string",                        "materialId": 0,                        "supplierCode": "string",                        "description": "string",                        "purchasePrice": {                          "unitPurchasePrice": 0,                          "totalPurchasePrice": 0                        },                        "quantity": 0.1,                        "totalPrice": 0.1,                        "totalPriceBeforePromotion": 0.1,                        "unit": "string",                        "unitPrice": 0.1,                        "unitPriceBeforePromotion": 0.1,                        "totalPriceExclVat": 0.1,                        "unitPriceExclVat": 0.1,                        "vatAmount": 0.1,                        "vatPercentage": 0.1                      }                    ]                  }                ],                "promotions": [                  {                    "code": "string",                    "description": "string",                    "priceDiscount": 0.1,                    "reference": "string",                    "validUntil": "2019-08-24T14:15:22Z",                    "priceDiscountExclVat": 0.1,                    "attributes": {                      "property1": "string",                      "property2": "string"                    }                  }                ],                "totalPrice": 0.1,                "totalPriceBeforePromotions": 0.1,                "totalPurchasePrice": 0.1              },              "properties": [                {                  "id": 0,                  "controlType": "Text",                  "customControlCode": "string",                  "dataType": 0,                  "valueDataType": "None",                  "defaultControlType": "Text",                  "description": "string",                  "displayLabel": "string",                  "displayOrder": 0,                  "displaySuffix": "string",                  "hasDynamicDescription": true,                  "interfaceKey": "string",                  "isModified": true,                  "isModifiedByApp": true,                  "isReadonly": true,                  "isRequired": true,                  "isVisible": true,                  "isAvailableBeforeCalculation": true,                  "listValues": [                    {                      "description": "string",                      "imageUrl": "string",                      "interfaceKey": "string",                      "skills": "string",                      "remarks": "string",                      "value": "string",                      "isDisabled": true,                      "priceDifference": 0,                      "price": 0,                      "categoryLinkPropertyId": 0,                      "contentBlockId": "string"                    }                  ],                  "propertyId": 0,                  "remarks": "string",                  "value": "string",                  "validation": {                    "min": null,                    "max": null,                    "precision": 0,                    "step": null,                    "isValid": true                  },                  "imageUrl": "string",                  "explanation": "string"                }              ],              "messages": [                {                  "context": "None",                  "contextReference": "string",                  "kind": "Information",                  "scope": "None",                  "text": "string",                  "origin": "Default"                }              ],              "redistributionInfo": "string"            },            "categoryMaterialOptionFilter": 0,            "categoryMaterialOptionInterfaceKeys": [              "string"            ],            "childCategoryDescription": "string",            "childCategoryId": 0,            "description": "string",            "imageUrl": "string",            "interfaceKey": "string",            "isEnabled": true,            "isMainCategory": true,            "parentCategoryId": 0,            "quantityDescription": "string",            "remarks": "string",            "requiredLevel": "None",            "options": [              "None"            ]          },          "customCode": "string",          "categoryExtraCode": "string",          "contentBlockId": "string",          "option": {            "id": "string",            "label": "string",            "value": "string",            "dataType": "None",            "controlType": "Text",            "defaultControlType": "Text",            "customControlCode": "string",            "isRequired": true,            "isVisible": true,            "displaySuffix": "string",            "isReadonly": true,            "description": "string",            "imageUrl": "string",            "values": [              {                "label": "string",                "value": "string",                "imageUrl": "string",                "isDisabled": true,                "priceDifference": 0,                "price": 0,                "contentBlockId": "string",                "description": "string"              }            ],            "validation": {              "min": null,              "max": null,              "precision": 0,              "step": null,              "isValid": true            },            "propertyDescription": "string",            "explanation": "string"          },          "appliedExtras": [            {              "id": "string",              "materialId": 0,              "materialCategoryId": 0,              "categoryExtraId": 0,              "quantity": 0.1,              "description": "string",              "priceElement": {                "code": "string",                "materialId": 0,                "supplierCode": "string",                "description": "string",                "purchasePrice": {                  "unitPurchasePrice": 0,                  "totalPurchasePrice": 0                },                "quantity": 0.1,                "totalPrice": 0.1,                "totalPriceBeforePromotion": 0.1,                "unit": "string",                "unitPrice": 0.1,                "unitPriceBeforePromotion": 0.1,                "totalPriceExclVat": 0.1,                "unitPriceExclVat": 0.1,                "vatAmount": 0.1,                "vatPercentage": 0.1              }            }          ],          "children": [            {              "wizardStepItemId": 0,              "name": "string",              "description": "string",              "image": "string",              "kind": "Property",              "categoryLink": {                "id": 0,                "categoryLinkMaterial": {                  "materialCode": "string",                  "supplierCode": "string",                  "materialId": 0,                  "materialDescription": "string",                  "materialColor": "string",                  "materialRemarks": "string",                  "materialComposition": "string",                  "materialSalePrice": 0,                  "saleQuantity": 0,                  "calcQuantity": 0,                  "calcQuantityNet": 0,                  "saleUnit": "string",                  "supplierId": 0,                  "supplierSbnKey": 0,                  "price": {                    "discountAmount": 0.1,                    "priceGroups": [                      {                        "code": "string",                        "description": "string",                        "displayOrder": 0,                        "elements": [                          {                            "code": "string",                            "materialId": 0,                            "supplierCode": "string",                            "description": "string",                            "purchasePrice": {},                            "quantity": 0.1,                            "totalPrice": 0.1,                            "totalPriceBeforePromotion": 0.1,                            "unit": "string",                            "unitPrice": 0.1,                            "unitPriceBeforePromotion": 0.1,                            "totalPriceExclVat": 0.1,                            "unitPriceExclVat": 0.1,                            "vatAmount": 0.1,                            "vatPercentage": 0.1                          }                        ]                      }                    ],                    "promotions": [                      {                        "code": "string",                        "description": "string",                        "priceDiscount": 0.1,                        "reference": "string",                        "validUntil": "2019-08-24T14:15:22Z",                        "priceDiscountExclVat": 0.1,                        "attributes": {                          "property1": "string",                          "property2": "string"                        }                      }                    ],                    "totalPrice": 0.1,                    "totalPriceBeforePromotions": 0.1,                    "totalPurchasePrice": 0.1                  },                  "properties": [                    {                      "id": 0,                      "controlType": "Text",                      "customControlCode": "string",                      "dataType": 0,                      "valueDataType": "None",                      "defaultControlType": "Text",                      "description": "string",                      "displayLabel": "string",                      "displayOrder": 0,                      "displaySuffix": "string",                      "hasDynamicDescription": true,                      "interfaceKey": "string",                      "isModified": true,                      "isModifiedByApp": true,                      "isReadonly": true,                      "isRequired": true,                      "isVisible": true,                      "isAvailableBeforeCalculation": true,                      "listValues": [                        {                          "description": "string",                          "imageUrl": "string",                          "interfaceKey": "string",                          "skills": "string",                          "remarks": "string",                          "value": "string",                          "isDisabled": true,                          "priceDifference": 0,                          "price": 0,                          "categoryLinkPropertyId": 0,                          "contentBlockId": "string"                        }                      ],                      "propertyId": 0,                      "remarks": "string",                      "value": "string",                      "validation": {                        "min": null,                        "max": null,                        "precision": 0,                        "step": null,                        "isValid": true                      },                      "imageUrl": "string",                      "explanation": "string"                    }                  ],                  "messages": [                    {                      "context": "None",                      "contextReference": "string",                      "kind": "Information",                      "scope": "None",                      "text": "string",                      "origin": "Default"                    }                  ],                  "redistributionInfo": "string"                },                "categoryMaterialOptionFilter": 0,                "categoryMaterialOptionInterfaceKeys": [                  "string"                ],                "childCategoryDescription": "string",                "childCategoryId": 0,                "description": "string",                "imageUrl": "string",                "interfaceKey": "string",                "isEnabled": true,                "isMainCategory": true,                "parentCategoryId": 0,                "quantityDescription": "string",                "remarks": "string",                "requiredLevel": "None",                "options": [                  "None"                ]              },              "customCode": "string",              "categoryExtraCode": "string",              "contentBlockId": "string",              "option": {                "id": "string",                "label": "string",                "value": "string",                "dataType": "None",                "controlType": "Text",                "defaultControlType": "Text",                "customControlCode": "string",                "isRequired": true,                "isVisible": true,                "displaySuffix": "string",                "isReadonly": true,                "description": "string",                "imageUrl": "string",                "values": [                  {                    "label": "string",                    "value": "string",                    "imageUrl": "string",                    "isDisabled": true,                    "priceDifference": 0,                    "price": 0,                    "contentBlockId": "string",                    "description": "string"                  }                ],                "validation": {                  "min": null,                  "max": null,                  "precision": 0,                  "step": null,                  "isValid": true                },                "propertyDescription": "string",                "explanation": "string"              },              "appliedExtras": [                {                  "id": "string",                  "materialId": 0,                  "materialCategoryId": 0,                  "categoryExtraId": 0,                  "quantity": 0.1,                  "description": "string",                  "priceElement": {                    "code": "string",                    "materialId": 0,                    "supplierCode": "string",                    "description": "string",                    "purchasePrice": {                      "unitPurchasePrice": 0,                      "totalPurchasePrice": 0                    },                    "quantity": 0.1,                    "totalPrice": 0.1,                    "totalPriceBeforePromotion": 0.1,                    "unit": "string",                    "unitPrice": 0.1,                    "unitPriceBeforePromotion": 0.1,                    "totalPriceExclVat": 0.1,                    "unitPriceExclVat": 0.1,                    "vatAmount": 0.1,                    "vatPercentage": 0.1                  }                }              ],              "children": [],              "messages": [                {                  "context": "None",                  "contextReference": "string",                  "kind": "Information",                  "scope": "None",                  "text": "string",                  "origin": "Default"                }              ],              "isValid": true            }          ],          "messages": [            {              "context": "None",              "contextReference": "string",              "kind": "Information",              "scope": "None",              "text": "string",              "origin": "Default"            }          ],          "isValid": true        }      ],      "messages": [        {          "context": "None",          "contextReference": "string",          "kind": "Information",          "scope": "None",          "text": "string",          "origin": "Default"        }      ],      "isValid": true,      "isEnabled": true    }  ],  "attributes": {    "property1": "string",    "property2": "string"  },  "state": "New",  "messages": [    {      "context": "None",      "contextReference": "string",      "kind": "Information",      "scope": "None",      "text": "string",      "origin": "Default"    }  ],  "materials": [    {      "categoryLinkId": 0,      "interfaceKey": "string",      "isMainMaterial": true,      "material": {        "id": 0,        "attachments": [          {            "kind": "Pdf",            "path": "string",            "pathKind": "Relative",            "content": "string"          }        ],        "categoryDescription": "string",        "categoryId": 0,        "code": "string",        "color": "string",        "colorDescription": "string",        "composition": "string",        "description": "string",        "eanCode": "string",        "extraFieldValues": [          {            "displayOrder": 0,            "extraField": 0,            "extraFieldName": "string",            "extraFieldNameResource": "string",            "image": "string",            "value": "string",            "valueResource": "string"          }        ],        "height": 0,        "imageUrl": "string",        "isWage": true,        "leadTime": 0,        "length": 0,        "materialOptionValues": [          {            "description": "string",            "value": 0,            "interfaceKey": "string"          }        ],        "materialGroups": [          {            "id": 0,            "code": "string",            "description": "string",            "children": [              {                "id": 0,                "code": "string",                "description": "string",                "children": []              }            ]          }        ],        "materialKind": {          "description": "string",          "value": 0,          "interfaceKey": "string"        },        "materialStyle": {          "description": "string",          "value": 0,          "interfaceKey": "string"        },        "patternLength": 0,        "patternWidth": 0,        "promotionPrice": 0,        "remarks": "string",        "salePrice": 0,        "saleUnit": "Millimeters",        "shrinkTolerance": 0,        "supplierCode": "string",        "supplierId": 0,        "supplierSbnKey": 0,        "unit": "Millimeters",        "validModelIds": [          "string"        ],        "washingSymbols": "string",        "weight": 0,        "width": 0      }    }  ]}
{  "type": "string",  "title": "string",  "status": 0,  "detail": "string",  "instance": "string",  "extensions": {    "property1": null,    "property2": null  },  "errors": {    "property1": [      "string"    ],    "property2": [      "string"    ]  },  "property1": null,  "property2": null}
{  "type": "string",  "title": "string",  "status": 0,  "detail": "string",  "instance": "string",  "extensions": {    "property1": null,    "property2": null  },  "property1": null,  "property2": null}
POST/api/gateway/v2/wizardpolygon/setwidth

Set the width of a Polygon

Request Body

application/json

Options for which width should be set.

TypeScript Definitions

Use the request body type in TypeScript.

Contains information for the polygon's dimension to set.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/api/gateway/v2/wizardpolygon/setwidth" \  -H "Content-Type: application/json" \  -d '{}'
{  "id": "string",  "wizardId": 0,  "wizardName": "string",  "isValid": true,  "polygonDescription": "string",  "modelId": "string",  "leadTime": 0.1,  "dimensions": {    "width": {      "value": 0,      "grossValue": 0,      "correction": 0,      "minValue": 0,      "maxValue": 0,      "measurementTypeSettingId": 0    },    "height": {      "value": 0,      "grossValue": 0,      "correction": 0,      "minValue": 0,      "maxValue": 0,      "measurementTypeSettingId": 0    }  },  "prices": {    "discountAmount": 0.1,    "priceGroups": [      {        "code": "string",        "description": "string",        "displayOrder": 0,        "elements": [          {            "code": "string",            "materialId": 0,            "supplierCode": "string",            "description": "string",            "purchasePrice": {              "unitPurchasePrice": 0,              "totalPurchasePrice": 0            },            "quantity": 0.1,            "totalPrice": 0.1,            "totalPriceBeforePromotion": 0.1,            "unit": "string",            "unitPrice": 0.1,            "unitPriceBeforePromotion": 0.1,            "totalPriceExclVat": 0.1,            "unitPriceExclVat": 0.1,            "vatAmount": 0.1,            "vatPercentage": 0.1          }        ]      }    ],    "promotions": [      {        "code": "string",        "description": "string",        "priceDiscount": 0.1,        "reference": "string",        "validUntil": "2019-08-24T14:15:22Z",        "priceDiscountExclVat": 0.1,        "attributes": {          "property1": "string",          "property2": "string"        }      }    ],    "totalPrice": 0.1,    "totalPriceBeforePromotions": 0.1,    "totalPurchasePrice": 0.1  },  "steps": [    {      "name": "string",      "wizardStepId": 0,      "kind": "Property",      "description": "string",      "displayOrder": 0,      "code": "string",      "items": [        {          "wizardStepItemId": 0,          "name": "string",          "description": "string",          "image": "string",          "kind": "Property",          "categoryLink": {            "id": 0,            "categoryLinkMaterial": {              "materialCode": "string",              "supplierCode": "string",              "materialId": 0,              "materialDescription": "string",              "materialColor": "string",              "materialRemarks": "string",              "materialComposition": "string",              "materialSalePrice": 0,              "saleQuantity": 0,              "calcQuantity": 0,              "calcQuantityNet": 0,              "saleUnit": "string",              "supplierId": 0,              "supplierSbnKey": 0,              "price": {                "discountAmount": 0.1,                "priceGroups": [                  {                    "code": "string",                    "description": "string",                    "displayOrder": 0,                    "elements": [                      {                        "code": "string",                        "materialId": 0,                        "supplierCode": "string",                        "description": "string",                        "purchasePrice": {                          "unitPurchasePrice": 0,                          "totalPurchasePrice": 0                        },                        "quantity": 0.1,                        "totalPrice": 0.1,                        "totalPriceBeforePromotion": 0.1,                        "unit": "string",                        "unitPrice": 0.1,                        "unitPriceBeforePromotion": 0.1,                        "totalPriceExclVat": 0.1,                        "unitPriceExclVat": 0.1,                        "vatAmount": 0.1,                        "vatPercentage": 0.1                      }                    ]                  }                ],                "promotions": [                  {                    "code": "string",                    "description": "string",                    "priceDiscount": 0.1,                    "reference": "string",                    "validUntil": "2019-08-24T14:15:22Z",                    "priceDiscountExclVat": 0.1,                    "attributes": {                      "property1": "string",                      "property2": "string"                    }                  }                ],                "totalPrice": 0.1,                "totalPriceBeforePromotions": 0.1,                "totalPurchasePrice": 0.1              },              "properties": [                {                  "id": 0,                  "controlType": "Text",                  "customControlCode": "string",                  "dataType": 0,                  "valueDataType": "None",                  "defaultControlType": "Text",                  "description": "string",                  "displayLabel": "string",                  "displayOrder": 0,                  "displaySuffix": "string",                  "hasDynamicDescription": true,                  "interfaceKey": "string",                  "isModified": true,                  "isModifiedByApp": true,                  "isReadonly": true,                  "isRequired": true,                  "isVisible": true,                  "isAvailableBeforeCalculation": true,                  "listValues": [                    {                      "description": "string",                      "imageUrl": "string",                      "interfaceKey": "string",                      "skills": "string",                      "remarks": "string",                      "value": "string",                      "isDisabled": true,                      "priceDifference": 0,                      "price": 0,                      "categoryLinkPropertyId": 0,                      "contentBlockId": "string"                    }                  ],                  "propertyId": 0,                  "remarks": "string",                  "value": "string",                  "validation": {                    "min": null,                    "max": null,                    "precision": 0,                    "step": null,                    "isValid": true                  },                  "imageUrl": "string",                  "explanation": "string"                }              ],              "messages": [                {                  "context": "None",                  "contextReference": "string",                  "kind": "Information",                  "scope": "None",                  "text": "string",                  "origin": "Default"                }              ],              "redistributionInfo": "string"            },            "categoryMaterialOptionFilter": 0,            "categoryMaterialOptionInterfaceKeys": [              "string"            ],            "childCategoryDescription": "string",            "childCategoryId": 0,            "description": "string",            "imageUrl": "string",            "interfaceKey": "string",            "isEnabled": true,            "isMainCategory": true,            "parentCategoryId": 0,            "quantityDescription": "string",            "remarks": "string",            "requiredLevel": "None",            "options": [              "None"            ]          },          "customCode": "string",          "categoryExtraCode": "string",          "contentBlockId": "string",          "option": {            "id": "string",            "label": "string",            "value": "string",            "dataType": "None",            "controlType": "Text",            "defaultControlType": "Text",            "customControlCode": "string",            "isRequired": true,            "isVisible": true,            "displaySuffix": "string",            "isReadonly": true,            "description": "string",            "imageUrl": "string",            "values": [              {                "label": "string",                "value": "string",                "imageUrl": "string",                "isDisabled": true,                "priceDifference": 0,                "price": 0,                "contentBlockId": "string",                "description": "string"              }            ],            "validation": {              "min": null,              "max": null,              "precision": 0,              "step": null,              "isValid": true            },            "propertyDescription": "string",            "explanation": "string"          },          "appliedExtras": [            {              "id": "string",              "materialId": 0,              "materialCategoryId": 0,              "categoryExtraId": 0,              "quantity": 0.1,              "description": "string",              "priceElement": {                "code": "string",                "materialId": 0,                "supplierCode": "string",                "description": "string",                "purchasePrice": {                  "unitPurchasePrice": 0,                  "totalPurchasePrice": 0                },                "quantity": 0.1,                "totalPrice": 0.1,                "totalPriceBeforePromotion": 0.1,                "unit": "string",                "unitPrice": 0.1,                "unitPriceBeforePromotion": 0.1,                "totalPriceExclVat": 0.1,                "unitPriceExclVat": 0.1,                "vatAmount": 0.1,                "vatPercentage": 0.1              }            }          ],          "children": [            {              "wizardStepItemId": 0,              "name": "string",              "description": "string",              "image": "string",              "kind": "Property",              "categoryLink": {                "id": 0,                "categoryLinkMaterial": {                  "materialCode": "string",                  "supplierCode": "string",                  "materialId": 0,                  "materialDescription": "string",                  "materialColor": "string",                  "materialRemarks": "string",                  "materialComposition": "string",                  "materialSalePrice": 0,                  "saleQuantity": 0,                  "calcQuantity": 0,                  "calcQuantityNet": 0,                  "saleUnit": "string",                  "supplierId": 0,                  "supplierSbnKey": 0,                  "price": {                    "discountAmount": 0.1,                    "priceGroups": [                      {                        "code": "string",                        "description": "string",                        "displayOrder": 0,                        "elements": [                          {                            "code": "string",                            "materialId": 0,                            "supplierCode": "string",                            "description": "string",                            "purchasePrice": {},                            "quantity": 0.1,                            "totalPrice": 0.1,                            "totalPriceBeforePromotion": 0.1,                            "unit": "string",                            "unitPrice": 0.1,                            "unitPriceBeforePromotion": 0.1,                            "totalPriceExclVat": 0.1,                            "unitPriceExclVat": 0.1,                            "vatAmount": 0.1,                            "vatPercentage": 0.1                          }                        ]                      }                    ],                    "promotions": [                      {                        "code": "string",                        "description": "string",                        "priceDiscount": 0.1,                        "reference": "string",                        "validUntil": "2019-08-24T14:15:22Z",                        "priceDiscountExclVat": 0.1,                        "attributes": {                          "property1": "string",                          "property2": "string"                        }                      }                    ],                    "totalPrice": 0.1,                    "totalPriceBeforePromotions": 0.1,                    "totalPurchasePrice": 0.1                  },                  "properties": [                    {                      "id": 0,                      "controlType": "Text",                      "customControlCode": "string",                      "dataType": 0,                      "valueDataType": "None",                      "defaultControlType": "Text",                      "description": "string",                      "displayLabel": "string",                      "displayOrder": 0,                      "displaySuffix": "string",                      "hasDynamicDescription": true,                      "interfaceKey": "string",                      "isModified": true,                      "isModifiedByApp": true,                      "isReadonly": true,                      "isRequired": true,                      "isVisible": true,                      "isAvailableBeforeCalculation": true,                      "listValues": [                        {                          "description": "string",                          "imageUrl": "string",                          "interfaceKey": "string",                          "skills": "string",                          "remarks": "string",                          "value": "string",                          "isDisabled": true,                          "priceDifference": 0,                          "price": 0,                          "categoryLinkPropertyId": 0,                          "contentBlockId": "string"                        }                      ],                      "propertyId": 0,                      "remarks": "string",                      "value": "string",                      "validation": {                        "min": null,                        "max": null,                        "precision": 0,                        "step": null,                        "isValid": true                      },                      "imageUrl": "string",                      "explanation": "string"                    }                  ],                  "messages": [                    {                      "context": "None",                      "contextReference": "string",                      "kind": "Information",                      "scope": "None",                      "text": "string",                      "origin": "Default"                    }                  ],                  "redistributionInfo": "string"                },                "categoryMaterialOptionFilter": 0,                "categoryMaterialOptionInterfaceKeys": [                  "string"                ],                "childCategoryDescription": "string",                "childCategoryId": 0,                "description": "string",                "imageUrl": "string",                "interfaceKey": "string",                "isEnabled": true,                "isMainCategory": true,                "parentCategoryId": 0,                "quantityDescription": "string",                "remarks": "string",                "requiredLevel": "None",                "options": [                  "None"                ]              },              "customCode": "string",              "categoryExtraCode": "string",              "contentBlockId": "string",              "option": {                "id": "string",                "label": "string",                "value": "string",                "dataType": "None",                "controlType": "Text",                "defaultControlType": "Text",                "customControlCode": "string",                "isRequired": true,                "isVisible": true,                "displaySuffix": "string",                "isReadonly": true,                "description": "string",                "imageUrl": "string",                "values": [                  {                    "label": "string",                    "value": "string",                    "imageUrl": "string",                    "isDisabled": true,                    "priceDifference": 0,                    "price": 0,                    "contentBlockId": "string",                    "description": "string"                  }                ],                "validation": {                  "min": null,                  "max": null,                  "precision": 0,                  "step": null,                  "isValid": true                },                "propertyDescription": "string",                "explanation": "string"              },              "appliedExtras": [                {                  "id": "string",                  "materialId": 0,                  "materialCategoryId": 0,                  "categoryExtraId": 0,                  "quantity": 0.1,                  "description": "string",                  "priceElement": {                    "code": "string",                    "materialId": 0,                    "supplierCode": "string",                    "description": "string",                    "purchasePrice": {                      "unitPurchasePrice": 0,                      "totalPurchasePrice": 0                    },                    "quantity": 0.1,                    "totalPrice": 0.1,                    "totalPriceBeforePromotion": 0.1,                    "unit": "string",                    "unitPrice": 0.1,                    "unitPriceBeforePromotion": 0.1,                    "totalPriceExclVat": 0.1,                    "unitPriceExclVat": 0.1,                    "vatAmount": 0.1,                    "vatPercentage": 0.1                  }                }              ],              "children": [],              "messages": [                {                  "context": "None",                  "contextReference": "string",                  "kind": "Information",                  "scope": "None",                  "text": "string",                  "origin": "Default"                }              ],              "isValid": true            }          ],          "messages": [            {              "context": "None",              "contextReference": "string",              "kind": "Information",              "scope": "None",              "text": "string",              "origin": "Default"            }          ],          "isValid": true        }      ],      "messages": [        {          "context": "None",          "contextReference": "string",          "kind": "Information",          "scope": "None",          "text": "string",          "origin": "Default"        }      ],      "isValid": true,      "isEnabled": true    }  ],  "attributes": {    "property1": "string",    "property2": "string"  },  "state": "New",  "messages": [    {      "context": "None",      "contextReference": "string",      "kind": "Information",      "scope": "None",      "text": "string",      "origin": "Default"    }  ],  "materials": [    {      "categoryLinkId": 0,      "interfaceKey": "string",      "isMainMaterial": true,      "material": {        "id": 0,        "attachments": [          {            "kind": "Pdf",            "path": "string",            "pathKind": "Relative",            "content": "string"          }        ],        "categoryDescription": "string",        "categoryId": 0,        "code": "string",        "color": "string",        "colorDescription": "string",        "composition": "string",        "description": "string",        "eanCode": "string",        "extraFieldValues": [          {            "displayOrder": 0,            "extraField": 0,            "extraFieldName": "string",            "extraFieldNameResource": "string",            "image": "string",            "value": "string",            "valueResource": "string"          }        ],        "height": 0,        "imageUrl": "string",        "isWage": true,        "leadTime": 0,        "length": 0,        "materialOptionValues": [          {            "description": "string",            "value": 0,            "interfaceKey": "string"          }        ],        "materialGroups": [          {            "id": 0,            "code": "string",            "description": "string",            "children": [              {                "id": 0,                "code": "string",                "description": "string",                "children": []              }            ]          }        ],        "materialKind": {          "description": "string",          "value": 0,          "interfaceKey": "string"        },        "materialStyle": {          "description": "string",          "value": 0,          "interfaceKey": "string"        },        "patternLength": 0,        "patternWidth": 0,        "promotionPrice": 0,        "remarks": "string",        "salePrice": 0,        "saleUnit": "Millimeters",        "shrinkTolerance": 0,        "supplierCode": "string",        "supplierId": 0,        "supplierSbnKey": 0,        "unit": "Millimeters",        "validModelIds": [          "string"        ],        "washingSymbols": "string",        "weight": 0,        "width": 0      }    }  ]}
{  "type": "string",  "title": "string",  "status": 0,  "detail": "string",  "instance": "string",  "extensions": {    "property1": null,    "property2": null  },  "errors": {    "property1": [      "string"    ],    "property2": [      "string"    ]  },  "property1": null,  "property2": null}
{  "type": "string",  "title": "string",  "status": 0,  "detail": "string",  "instance": "string",  "extensions": {    "property1": null,    "property2": null  },  "property1": null,  "property2": null}
POST/api/gateway/v2/wizardpolygon/setheight

Set the height of a Polygon

Request Body

application/json

Options for which height should be set.

TypeScript Definitions

Use the request body type in TypeScript.

Contains information for the polygon's dimension to set.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/api/gateway/v2/wizardpolygon/setheight" \  -H "Content-Type: application/json" \  -d '{}'
{  "id": "string",  "wizardId": 0,  "wizardName": "string",  "isValid": true,  "polygonDescription": "string",  "modelId": "string",  "leadTime": 0.1,  "dimensions": {    "width": {      "value": 0,      "grossValue": 0,      "correction": 0,      "minValue": 0,      "maxValue": 0,      "measurementTypeSettingId": 0    },    "height": {      "value": 0,      "grossValue": 0,      "correction": 0,      "minValue": 0,      "maxValue": 0,      "measurementTypeSettingId": 0    }  },  "prices": {    "discountAmount": 0.1,    "priceGroups": [      {        "code": "string",        "description": "string",        "displayOrder": 0,        "elements": [          {            "code": "string",            "materialId": 0,            "supplierCode": "string",            "description": "string",            "purchasePrice": {              "unitPurchasePrice": 0,              "totalPurchasePrice": 0            },            "quantity": 0.1,            "totalPrice": 0.1,            "totalPriceBeforePromotion": 0.1,            "unit": "string",            "unitPrice": 0.1,            "unitPriceBeforePromotion": 0.1,            "totalPriceExclVat": 0.1,            "unitPriceExclVat": 0.1,            "vatAmount": 0.1,            "vatPercentage": 0.1          }        ]      }    ],    "promotions": [      {        "code": "string",        "description": "string",        "priceDiscount": 0.1,        "reference": "string",        "validUntil": "2019-08-24T14:15:22Z",        "priceDiscountExclVat": 0.1,        "attributes": {          "property1": "string",          "property2": "string"        }      }    ],    "totalPrice": 0.1,    "totalPriceBeforePromotions": 0.1,    "totalPurchasePrice": 0.1  },  "steps": [    {      "name": "string",      "wizardStepId": 0,      "kind": "Property",      "description": "string",      "displayOrder": 0,      "code": "string",      "items": [        {          "wizardStepItemId": 0,          "name": "string",          "description": "string",          "image": "string",          "kind": "Property",          "categoryLink": {            "id": 0,            "categoryLinkMaterial": {              "materialCode": "string",              "supplierCode": "string",              "materialId": 0,              "materialDescription": "string",              "materialColor": "string",              "materialRemarks": "string",              "materialComposition": "string",              "materialSalePrice": 0,              "saleQuantity": 0,              "calcQuantity": 0,              "calcQuantityNet": 0,              "saleUnit": "string",              "supplierId": 0,              "supplierSbnKey": 0,              "price": {                "discountAmount": 0.1,                "priceGroups": [                  {                    "code": "string",                    "description": "string",                    "displayOrder": 0,                    "elements": [                      {                        "code": "string",                        "materialId": 0,                        "supplierCode": "string",                        "description": "string",                        "purchasePrice": {                          "unitPurchasePrice": 0,                          "totalPurchasePrice": 0                        },                        "quantity": 0.1,                        "totalPrice": 0.1,                        "totalPriceBeforePromotion": 0.1,                        "unit": "string",                        "unitPrice": 0.1,                        "unitPriceBeforePromotion": 0.1,                        "totalPriceExclVat": 0.1,                        "unitPriceExclVat": 0.1,                        "vatAmount": 0.1,                        "vatPercentage": 0.1                      }                    ]                  }                ],                "promotions": [                  {                    "code": "string",                    "description": "string",                    "priceDiscount": 0.1,                    "reference": "string",                    "validUntil": "2019-08-24T14:15:22Z",                    "priceDiscountExclVat": 0.1,                    "attributes": {                      "property1": "string",                      "property2": "string"                    }                  }                ],                "totalPrice": 0.1,                "totalPriceBeforePromotions": 0.1,                "totalPurchasePrice": 0.1              },              "properties": [                {                  "id": 0,                  "controlType": "Text",                  "customControlCode": "string",                  "dataType": 0,                  "valueDataType": "None",                  "defaultControlType": "Text",                  "description": "string",                  "displayLabel": "string",                  "displayOrder": 0,                  "displaySuffix": "string",                  "hasDynamicDescription": true,                  "interfaceKey": "string",                  "isModified": true,                  "isModifiedByApp": true,                  "isReadonly": true,                  "isRequired": true,                  "isVisible": true,                  "isAvailableBeforeCalculation": true,                  "listValues": [                    {                      "description": "string",                      "imageUrl": "string",                      "interfaceKey": "string",                      "skills": "string",                      "remarks": "string",                      "value": "string",                      "isDisabled": true,                      "priceDifference": 0,                      "price": 0,                      "categoryLinkPropertyId": 0,                      "contentBlockId": "string"                    }                  ],                  "propertyId": 0,                  "remarks": "string",                  "value": "string",                  "validation": {                    "min": null,                    "max": null,                    "precision": 0,                    "step": null,                    "isValid": true                  },                  "imageUrl": "string",                  "explanation": "string"                }              ],              "messages": [                {                  "context": "None",                  "contextReference": "string",                  "kind": "Information",                  "scope": "None",                  "text": "string",                  "origin": "Default"                }              ],              "redistributionInfo": "string"            },            "categoryMaterialOptionFilter": 0,            "categoryMaterialOptionInterfaceKeys": [              "string"            ],            "childCategoryDescription": "string",            "childCategoryId": 0,            "description": "string",            "imageUrl": "string",            "interfaceKey": "string",            "isEnabled": true,            "isMainCategory": true,            "parentCategoryId": 0,            "quantityDescription": "string",            "remarks": "string",            "requiredLevel": "None",            "options": [              "None"            ]          },          "customCode": "string",          "categoryExtraCode": "string",          "contentBlockId": "string",          "option": {            "id": "string",            "label": "string",            "value": "string",            "dataType": "None",            "controlType": "Text",            "defaultControlType": "Text",            "customControlCode": "string",            "isRequired": true,            "isVisible": true,            "displaySuffix": "string",            "isReadonly": true,            "description": "string",            "imageUrl": "string",            "values": [              {                "label": "string",                "value": "string",                "imageUrl": "string",                "isDisabled": true,                "priceDifference": 0,                "price": 0,                "contentBlockId": "string",                "description": "string"              }            ],            "validation": {              "min": null,              "max": null,              "precision": 0,              "step": null,              "isValid": true            },            "propertyDescription": "string",            "explanation": "string"          },          "appliedExtras": [            {              "id": "string",              "materialId": 0,              "materialCategoryId": 0,              "categoryExtraId": 0,              "quantity": 0.1,              "description": "string",              "priceElement": {                "code": "string",                "materialId": 0,                "supplierCode": "string",                "description": "string",                "purchasePrice": {                  "unitPurchasePrice": 0,                  "totalPurchasePrice": 0                },                "quantity": 0.1,                "totalPrice": 0.1,                "totalPriceBeforePromotion": 0.1,                "unit": "string",                "unitPrice": 0.1,                "unitPriceBeforePromotion": 0.1,                "totalPriceExclVat": 0.1,                "unitPriceExclVat": 0.1,                "vatAmount": 0.1,                "vatPercentage": 0.1              }            }          ],          "children": [            {              "wizardStepItemId": 0,              "name": "string",              "description": "string",              "image": "string",              "kind": "Property",              "categoryLink": {                "id": 0,                "categoryLinkMaterial": {                  "materialCode": "string",                  "supplierCode": "string",                  "materialId": 0,                  "materialDescription": "string",                  "materialColor": "string",                  "materialRemarks": "string",                  "materialComposition": "string",                  "materialSalePrice": 0,                  "saleQuantity": 0,                  "calcQuantity": 0,                  "calcQuantityNet": 0,                  "saleUnit": "string",                  "supplierId": 0,                  "supplierSbnKey": 0,                  "price": {                    "discountAmount": 0.1,                    "priceGroups": [                      {                        "code": "string",                        "description": "string",                        "displayOrder": 0,                        "elements": [                          {                            "code": "string",                            "materialId": 0,                            "supplierCode": "string",                            "description": "string",                            "purchasePrice": {},                            "quantity": 0.1,                            "totalPrice": 0.1,                            "totalPriceBeforePromotion": 0.1,                            "unit": "string",                            "unitPrice": 0.1,                            "unitPriceBeforePromotion": 0.1,                            "totalPriceExclVat": 0.1,                            "unitPriceExclVat": 0.1,                            "vatAmount": 0.1,                            "vatPercentage": 0.1                          }                        ]                      }                    ],                    "promotions": [                      {                        "code": "string",                        "description": "string",                        "priceDiscount": 0.1,                        "reference": "string",                        "validUntil": "2019-08-24T14:15:22Z",                        "priceDiscountExclVat": 0.1,                        "attributes": {                          "property1": "string",                          "property2": "string"                        }                      }                    ],                    "totalPrice": 0.1,                    "totalPriceBeforePromotions": 0.1,                    "totalPurchasePrice": 0.1                  },                  "properties": [                    {                      "id": 0,                      "controlType": "Text",                      "customControlCode": "string",                      "dataType": 0,                      "valueDataType": "None",                      "defaultControlType": "Text",                      "description": "string",                      "displayLabel": "string",                      "displayOrder": 0,                      "displaySuffix": "string",                      "hasDynamicDescription": true,                      "interfaceKey": "string",                      "isModified": true,                      "isModifiedByApp": true,                      "isReadonly": true,                      "isRequired": true,                      "isVisible": true,                      "isAvailableBeforeCalculation": true,                      "listValues": [                        {                          "description": "string",                          "imageUrl": "string",                          "interfaceKey": "string",                          "skills": "string",                          "remarks": "string",                          "value": "string",                          "isDisabled": true,                          "priceDifference": 0,                          "price": 0,                          "categoryLinkPropertyId": 0,                          "contentBlockId": "string"                        }                      ],                      "propertyId": 0,                      "remarks": "string",                      "value": "string",                      "validation": {                        "min": null,                        "max": null,                        "precision": 0,                        "step": null,                        "isValid": true                      },                      "imageUrl": "string",                      "explanation": "string"                    }                  ],                  "messages": [                    {                      "context": "None",                      "contextReference": "string",                      "kind": "Information",                      "scope": "None",                      "text": "string",                      "origin": "Default"                    }                  ],                  "redistributionInfo": "string"                },                "categoryMaterialOptionFilter": 0,                "categoryMaterialOptionInterfaceKeys": [                  "string"                ],                "childCategoryDescription": "string",                "childCategoryId": 0,                "description": "string",                "imageUrl": "string",                "interfaceKey": "string",                "isEnabled": true,                "isMainCategory": true,                "parentCategoryId": 0,                "quantityDescription": "string",                "remarks": "string",                "requiredLevel": "None",                "options": [                  "None"                ]              },              "customCode": "string",              "categoryExtraCode": "string",              "contentBlockId": "string",              "option": {                "id": "string",                "label": "string",                "value": "string",                "dataType": "None",                "controlType": "Text",                "defaultControlType": "Text",                "customControlCode": "string",                "isRequired": true,                "isVisible": true,                "displaySuffix": "string",                "isReadonly": true,                "description": "string",                "imageUrl": "string",                "values": [                  {                    "label": "string",                    "value": "string",                    "imageUrl": "string",                    "isDisabled": true,                    "priceDifference": 0,                    "price": 0,                    "contentBlockId": "string",                    "description": "string"                  }                ],                "validation": {                  "min": null,                  "max": null,                  "precision": 0,                  "step": null,                  "isValid": true                },                "propertyDescription": "string",                "explanation": "string"              },              "appliedExtras": [                {                  "id": "string",                  "materialId": 0,                  "materialCategoryId": 0,                  "categoryExtraId": 0,                  "quantity": 0.1,                  "description": "string",                  "priceElement": {                    "code": "string",                    "materialId": 0,                    "supplierCode": "string",                    "description": "string",                    "purchasePrice": {                      "unitPurchasePrice": 0,                      "totalPurchasePrice": 0                    },                    "quantity": 0.1,                    "totalPrice": 0.1,                    "totalPriceBeforePromotion": 0.1,                    "unit": "string",                    "unitPrice": 0.1,                    "unitPriceBeforePromotion": 0.1,                    "totalPriceExclVat": 0.1,                    "unitPriceExclVat": 0.1,                    "vatAmount": 0.1,                    "vatPercentage": 0.1                  }                }              ],              "children": [],              "messages": [                {                  "context": "None",                  "contextReference": "string",                  "kind": "Information",                  "scope": "None",                  "text": "string",                  "origin": "Default"                }              ],              "isValid": true            }          ],          "messages": [            {              "context": "None",              "contextReference": "string",              "kind": "Information",              "scope": "None",              "text": "string",              "origin": "Default"            }          ],          "isValid": true        }      ],      "messages": [        {          "context": "None",          "contextReference": "string",          "kind": "Information",          "scope": "None",          "text": "string",          "origin": "Default"        }      ],      "isValid": true,      "isEnabled": true    }  ],  "attributes": {    "property1": "string",    "property2": "string"  },  "state": "New",  "messages": [    {      "context": "None",      "contextReference": "string",      "kind": "Information",      "scope": "None",      "text": "string",      "origin": "Default"    }  ],  "materials": [    {      "categoryLinkId": 0,      "interfaceKey": "string",      "isMainMaterial": true,      "material": {        "id": 0,        "attachments": [          {            "kind": "Pdf",            "path": "string",            "pathKind": "Relative",            "content": "string"          }        ],        "categoryDescription": "string",        "categoryId": 0,        "code": "string",        "color": "string",        "colorDescription": "string",        "composition": "string",        "description": "string",        "eanCode": "string",        "extraFieldValues": [          {            "displayOrder": 0,            "extraField": 0,            "extraFieldName": "string",            "extraFieldNameResource": "string",            "image": "string",            "value": "string",            "valueResource": "string"          }        ],        "height": 0,        "imageUrl": "string",        "isWage": true,        "leadTime": 0,        "length": 0,        "materialOptionValues": [          {            "description": "string",            "value": 0,            "interfaceKey": "string"          }        ],        "materialGroups": [          {            "id": 0,            "code": "string",            "description": "string",            "children": [              {                "id": 0,                "code": "string",                "description": "string",                "children": []              }            ]          }        ],        "materialKind": {          "description": "string",          "value": 0,          "interfaceKey": "string"        },        "materialStyle": {          "description": "string",          "value": 0,          "interfaceKey": "string"        },        "patternLength": 0,        "patternWidth": 0,        "promotionPrice": 0,        "remarks": "string",        "salePrice": 0,        "saleUnit": "Millimeters",        "shrinkTolerance": 0,        "supplierCode": "string",        "supplierId": 0,        "supplierSbnKey": 0,        "unit": "Millimeters",        "validModelIds": [          "string"        ],        "washingSymbols": "string",        "weight": 0,        "width": 0      }    }  ]}
{  "type": "string",  "title": "string",  "status": 0,  "detail": "string",  "instance": "string",  "extensions": {    "property1": null,    "property2": null  },  "errors": {    "property1": [      "string"    ],    "property2": [      "string"    ]  },  "property1": null,  "property2": null}
{  "type": "string",  "title": "string",  "status": 0,  "detail": "string",  "instance": "string",  "extensions": {    "property1": null,    "property2": null  },  "property1": null,  "property2": null}
POST/api/gateway/v2/wizardpolygon/setmaterial

Set one of the Materials of a Polygon

Request Body

application/json

Options for which Material to set, for which CategoryLink

TypeScript Definitions

Use the request body type in TypeScript.

Contains the information that is needed to associated a material with a polygon using the materials id.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/api/gateway/v2/wizardpolygon/setmaterial" \  -H "Content-Type: application/json" \  -d '{}'
{  "id": "string",  "wizardId": 0,  "wizardName": "string",  "isValid": true,  "polygonDescription": "string",  "modelId": "string",  "leadTime": 0.1,  "dimensions": {    "width": {      "value": 0,      "grossValue": 0,      "correction": 0,      "minValue": 0,      "maxValue": 0,      "measurementTypeSettingId": 0    },    "height": {      "value": 0,      "grossValue": 0,      "correction": 0,      "minValue": 0,      "maxValue": 0,      "measurementTypeSettingId": 0    }  },  "prices": {    "discountAmount": 0.1,    "priceGroups": [      {        "code": "string",        "description": "string",        "displayOrder": 0,        "elements": [          {            "code": "string",            "materialId": 0,            "supplierCode": "string",            "description": "string",            "purchasePrice": {              "unitPurchasePrice": 0,              "totalPurchasePrice": 0            },            "quantity": 0.1,            "totalPrice": 0.1,            "totalPriceBeforePromotion": 0.1,            "unit": "string",            "unitPrice": 0.1,            "unitPriceBeforePromotion": 0.1,            "totalPriceExclVat": 0.1,            "unitPriceExclVat": 0.1,            "vatAmount": 0.1,            "vatPercentage": 0.1          }        ]      }    ],    "promotions": [      {        "code": "string",        "description": "string",        "priceDiscount": 0.1,        "reference": "string",        "validUntil": "2019-08-24T14:15:22Z",        "priceDiscountExclVat": 0.1,        "attributes": {          "property1": "string",          "property2": "string"        }      }    ],    "totalPrice": 0.1,    "totalPriceBeforePromotions": 0.1,    "totalPurchasePrice": 0.1  },  "steps": [    {      "name": "string",      "wizardStepId": 0,      "kind": "Property",      "description": "string",      "displayOrder": 0,      "code": "string",      "items": [        {          "wizardStepItemId": 0,          "name": "string",          "description": "string",          "image": "string",          "kind": "Property",          "categoryLink": {            "id": 0,            "categoryLinkMaterial": {              "materialCode": "string",              "supplierCode": "string",              "materialId": 0,              "materialDescription": "string",              "materialColor": "string",              "materialRemarks": "string",              "materialComposition": "string",              "materialSalePrice": 0,              "saleQuantity": 0,              "calcQuantity": 0,              "calcQuantityNet": 0,              "saleUnit": "string",              "supplierId": 0,              "supplierSbnKey": 0,              "price": {                "discountAmount": 0.1,                "priceGroups": [                  {                    "code": "string",                    "description": "string",                    "displayOrder": 0,                    "elements": [                      {                        "code": "string",                        "materialId": 0,                        "supplierCode": "string",                        "description": "string",                        "purchasePrice": {                          "unitPurchasePrice": 0,                          "totalPurchasePrice": 0                        },                        "quantity": 0.1,                        "totalPrice": 0.1,                        "totalPriceBeforePromotion": 0.1,                        "unit": "string",                        "unitPrice": 0.1,                        "unitPriceBeforePromotion": 0.1,                        "totalPriceExclVat": 0.1,                        "unitPriceExclVat": 0.1,                        "vatAmount": 0.1,                        "vatPercentage": 0.1                      }                    ]                  }                ],                "promotions": [                  {                    "code": "string",                    "description": "string",                    "priceDiscount": 0.1,                    "reference": "string",                    "validUntil": "2019-08-24T14:15:22Z",                    "priceDiscountExclVat": 0.1,                    "attributes": {                      "property1": "string",                      "property2": "string"                    }                  }                ],                "totalPrice": 0.1,                "totalPriceBeforePromotions": 0.1,                "totalPurchasePrice": 0.1              },              "properties": [                {                  "id": 0,                  "controlType": "Text",                  "customControlCode": "string",                  "dataType": 0,                  "valueDataType": "None",                  "defaultControlType": "Text",                  "description": "string",                  "displayLabel": "string",                  "displayOrder": 0,                  "displaySuffix": "string",                  "hasDynamicDescription": true,                  "interfaceKey": "string",                  "isModified": true,                  "isModifiedByApp": true,                  "isReadonly": true,                  "isRequired": true,                  "isVisible": true,                  "isAvailableBeforeCalculation": true,                  "listValues": [                    {                      "description": "string",                      "imageUrl": "string",                      "interfaceKey": "string",                      "skills": "string",                      "remarks": "string",                      "value": "string",                      "isDisabled": true,                      "priceDifference": 0,                      "price": 0,                      "categoryLinkPropertyId": 0,                      "contentBlockId": "string"                    }                  ],                  "propertyId": 0,                  "remarks": "string",                  "value": "string",                  "validation": {                    "min": null,                    "max": null,                    "precision": 0,                    "step": null,                    "isValid": true                  },                  "imageUrl": "string",                  "explanation": "string"                }              ],              "messages": [                {                  "context": "None",                  "contextReference": "string",                  "kind": "Information",                  "scope": "None",                  "text": "string",                  "origin": "Default"                }              ],              "redistributionInfo": "string"            },            "categoryMaterialOptionFilter": 0,            "categoryMaterialOptionInterfaceKeys": [              "string"            ],            "childCategoryDescription": "string",            "childCategoryId": 0,            "description": "string",            "imageUrl": "string",            "interfaceKey": "string",            "isEnabled": true,            "isMainCategory": true,            "parentCategoryId": 0,            "quantityDescription": "string",            "remarks": "string",            "requiredLevel": "None",            "options": [              "None"            ]          },          "customCode": "string",          "categoryExtraCode": "string",          "contentBlockId": "string",          "option": {            "id": "string",            "label": "string",            "value": "string",            "dataType": "None",            "controlType": "Text",            "defaultControlType": "Text",            "customControlCode": "string",            "isRequired": true,            "isVisible": true,            "displaySuffix": "string",            "isReadonly": true,            "description": "string",            "imageUrl": "string",            "values": [              {                "label": "string",                "value": "string",                "imageUrl": "string",                "isDisabled": true,                "priceDifference": 0,                "price": 0,                "contentBlockId": "string",                "description": "string"              }            ],            "validation": {              "min": null,              "max": null,              "precision": 0,              "step": null,              "isValid": true            },            "propertyDescription": "string",            "explanation": "string"          },          "appliedExtras": [            {              "id": "string",              "materialId": 0,              "materialCategoryId": 0,              "categoryExtraId": 0,              "quantity": 0.1,              "description": "string",              "priceElement": {                "code": "string",                "materialId": 0,                "supplierCode": "string",                "description": "string",                "purchasePrice": {                  "unitPurchasePrice": 0,                  "totalPurchasePrice": 0                },                "quantity": 0.1,                "totalPrice": 0.1,                "totalPriceBeforePromotion": 0.1,                "unit": "string",                "unitPrice": 0.1,                "unitPriceBeforePromotion": 0.1,                "totalPriceExclVat": 0.1,                "unitPriceExclVat": 0.1,                "vatAmount": 0.1,                "vatPercentage": 0.1              }            }          ],          "children": [            {              "wizardStepItemId": 0,              "name": "string",              "description": "string",              "image": "string",              "kind": "Property",              "categoryLink": {                "id": 0,                "categoryLinkMaterial": {                  "materialCode": "string",                  "supplierCode": "string",                  "materialId": 0,                  "materialDescription": "string",                  "materialColor": "string",                  "materialRemarks": "string",                  "materialComposition": "string",                  "materialSalePrice": 0,                  "saleQuantity": 0,                  "calcQuantity": 0,                  "calcQuantityNet": 0,                  "saleUnit": "string",                  "supplierId": 0,                  "supplierSbnKey": 0,                  "price": {                    "discountAmount": 0.1,                    "priceGroups": [                      {                        "code": "string",                        "description": "string",                        "displayOrder": 0,                        "elements": [                          {                            "code": "string",                            "materialId": 0,                            "supplierCode": "string",                            "description": "string",                            "purchasePrice": {},                            "quantity": 0.1,                            "totalPrice": 0.1,                            "totalPriceBeforePromotion": 0.1,                            "unit": "string",                            "unitPrice": 0.1,                            "unitPriceBeforePromotion": 0.1,                            "totalPriceExclVat": 0.1,                            "unitPriceExclVat": 0.1,                            "vatAmount": 0.1,                            "vatPercentage": 0.1                          }                        ]                      }                    ],                    "promotions": [                      {                        "code": "string",                        "description": "string",                        "priceDiscount": 0.1,                        "reference": "string",                        "validUntil": "2019-08-24T14:15:22Z",                        "priceDiscountExclVat": 0.1,                        "attributes": {                          "property1": "string",                          "property2": "string"                        }                      }                    ],                    "totalPrice": 0.1,                    "totalPriceBeforePromotions": 0.1,                    "totalPurchasePrice": 0.1                  },                  "properties": [                    {                      "id": 0,                      "controlType": "Text",                      "customControlCode": "string",                      "dataType": 0,                      "valueDataType": "None",                      "defaultControlType": "Text",                      "description": "string",                      "displayLabel": "string",                      "displayOrder": 0,                      "displaySuffix": "string",                      "hasDynamicDescription": true,                      "interfaceKey": "string",                      "isModified": true,                      "isModifiedByApp": true,                      "isReadonly": true,                      "isRequired": true,                      "isVisible": true,                      "isAvailableBeforeCalculation": true,                      "listValues": [                        {                          "description": "string",                          "imageUrl": "string",                          "interfaceKey": "string",                          "skills": "string",                          "remarks": "string",                          "value": "string",                          "isDisabled": true,                          "priceDifference": 0,                          "price": 0,                          "categoryLinkPropertyId": 0,                          "contentBlockId": "string"                        }                      ],                      "propertyId": 0,                      "remarks": "string",                      "value": "string",                      "validation": {                        "min": null,                        "max": null,                        "precision": 0,                        "step": null,                        "isValid": true                      },                      "imageUrl": "string",                      "explanation": "string"                    }                  ],                  "messages": [                    {                      "context": "None",                      "contextReference": "string",                      "kind": "Information",                      "scope": "None",                      "text": "string",                      "origin": "Default"                    }                  ],                  "redistributionInfo": "string"                },                "categoryMaterialOptionFilter": 0,                "categoryMaterialOptionInterfaceKeys": [                  "string"                ],                "childCategoryDescription": "string",                "childCategoryId": 0,                "description": "string",                "imageUrl": "string",                "interfaceKey": "string",                "isEnabled": true,                "isMainCategory": true,                "parentCategoryId": 0,                "quantityDescription": "string",                "remarks": "string",                "requiredLevel": "None",                "options": [                  "None"                ]              },              "customCode": "string",              "categoryExtraCode": "string",              "contentBlockId": "string",              "option": {                "id": "string",                "label": "string",                "value": "string",                "dataType": "None",                "controlType": "Text",                "defaultControlType": "Text",                "customControlCode": "string",                "isRequired": true,                "isVisible": true,                "displaySuffix": "string",                "isReadonly": true,                "description": "string",                "imageUrl": "string",                "values": [                  {                    "label": "string",                    "value": "string",                    "imageUrl": "string",                    "isDisabled": true,                    "priceDifference": 0,                    "price": 0,                    "contentBlockId": "string",                    "description": "string"                  }                ],                "validation": {                  "min": null,                  "max": null,                  "precision": 0,                  "step": null,                  "isValid": true                },                "propertyDescription": "string",                "explanation": "string"              },              "appliedExtras": [                {                  "id": "string",                  "materialId": 0,                  "materialCategoryId": 0,                  "categoryExtraId": 0,                  "quantity": 0.1,                  "description": "string",                  "priceElement": {                    "code": "string",                    "materialId": 0,                    "supplierCode": "string",                    "description": "string",                    "purchasePrice": {                      "unitPurchasePrice": 0,                      "totalPurchasePrice": 0                    },                    "quantity": 0.1,                    "totalPrice": 0.1,                    "totalPriceBeforePromotion": 0.1,                    "unit": "string",                    "unitPrice": 0.1,                    "unitPriceBeforePromotion": 0.1,                    "totalPriceExclVat": 0.1,                    "unitPriceExclVat": 0.1,                    "vatAmount": 0.1,                    "vatPercentage": 0.1                  }                }              ],              "children": [],              "messages": [                {                  "context": "None",                  "contextReference": "string",                  "kind": "Information",                  "scope": "None",                  "text": "string",                  "origin": "Default"                }              ],              "isValid": true            }          ],          "messages": [            {              "context": "None",              "contextReference": "string",              "kind": "Information",              "scope": "None",              "text": "string",              "origin": "Default"            }          ],          "isValid": true        }      ],      "messages": [        {          "context": "None",          "contextReference": "string",          "kind": "Information",          "scope": "None",          "text": "string",          "origin": "Default"        }      ],      "isValid": true,      "isEnabled": true    }  ],  "attributes": {    "property1": "string",    "property2": "string"  },  "state": "New",  "messages": [    {      "context": "None",      "contextReference": "string",      "kind": "Information",      "scope": "None",      "text": "string",      "origin": "Default"    }  ],  "materials": [    {      "categoryLinkId": 0,      "interfaceKey": "string",      "isMainMaterial": true,      "material": {        "id": 0,        "attachments": [          {            "kind": "Pdf",            "path": "string",            "pathKind": "Relative",            "content": "string"          }        ],        "categoryDescription": "string",        "categoryId": 0,        "code": "string",        "color": "string",        "colorDescription": "string",        "composition": "string",        "description": "string",        "eanCode": "string",        "extraFieldValues": [          {            "displayOrder": 0,            "extraField": 0,            "extraFieldName": "string",            "extraFieldNameResource": "string",            "image": "string",            "value": "string",            "valueResource": "string"          }        ],        "height": 0,        "imageUrl": "string",        "isWage": true,        "leadTime": 0,        "length": 0,        "materialOptionValues": [          {            "description": "string",            "value": 0,            "interfaceKey": "string"          }        ],        "materialGroups": [          {            "id": 0,            "code": "string",            "description": "string",            "children": [              {                "id": 0,                "code": "string",                "description": "string",                "children": []              }            ]          }        ],        "materialKind": {          "description": "string",          "value": 0,          "interfaceKey": "string"        },        "materialStyle": {          "description": "string",          "value": 0,          "interfaceKey": "string"        },        "patternLength": 0,        "patternWidth": 0,        "promotionPrice": 0,        "remarks": "string",        "salePrice": 0,        "saleUnit": "Millimeters",        "shrinkTolerance": 0,        "supplierCode": "string",        "supplierId": 0,        "supplierSbnKey": 0,        "unit": "Millimeters",        "validModelIds": [          "string"        ],        "washingSymbols": "string",        "weight": 0,        "width": 0      }    }  ]}
{  "type": "string",  "title": "string",  "status": 0,  "detail": "string",  "instance": "string",  "extensions": {    "property1": null,    "property2": null  },  "errors": {    "property1": [      "string"    ],    "property2": [      "string"    ]  },  "property1": null,  "property2": null}
{  "type": "string",  "title": "string",  "status": 0,  "detail": "string",  "instance": "string",  "extensions": {    "property1": null,    "property2": null  },  "property1": null,  "property2": null}
POST/api/gateway/v2/wizardpolygon/applymainmaterialtocategorylink

Set the main Materials of the CategoryLink

Request Body

application/json

Options for which CategoryLink is used

TypeScript Definitions

Use the request body type in TypeScript.

Applies the Main Material to the CategoryLink

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/api/gateway/v2/wizardpolygon/applymainmaterialtocategorylink" \  -H "Content-Type: application/json" \  -d '{    "polygonId": "string",    "categoryLinkId": 0  }'
{  "id": "string",  "wizardId": 0,  "wizardName": "string",  "isValid": true,  "polygonDescription": "string",  "modelId": "string",  "leadTime": 0.1,  "dimensions": {    "width": {      "value": 0,      "grossValue": 0,      "correction": 0,      "minValue": 0,      "maxValue": 0,      "measurementTypeSettingId": 0    },    "height": {      "value": 0,      "grossValue": 0,      "correction": 0,      "minValue": 0,      "maxValue": 0,      "measurementTypeSettingId": 0    }  },  "prices": {    "discountAmount": 0.1,    "priceGroups": [      {        "code": "string",        "description": "string",        "displayOrder": 0,        "elements": [          {            "code": "string",            "materialId": 0,            "supplierCode": "string",            "description": "string",            "purchasePrice": {              "unitPurchasePrice": 0,              "totalPurchasePrice": 0            },            "quantity": 0.1,            "totalPrice": 0.1,            "totalPriceBeforePromotion": 0.1,            "unit": "string",            "unitPrice": 0.1,            "unitPriceBeforePromotion": 0.1,            "totalPriceExclVat": 0.1,            "unitPriceExclVat": 0.1,            "vatAmount": 0.1,            "vatPercentage": 0.1          }        ]      }    ],    "promotions": [      {        "code": "string",        "description": "string",        "priceDiscount": 0.1,        "reference": "string",        "validUntil": "2019-08-24T14:15:22Z",        "priceDiscountExclVat": 0.1,        "attributes": {          "property1": "string",          "property2": "string"        }      }    ],    "totalPrice": 0.1,    "totalPriceBeforePromotions": 0.1,    "totalPurchasePrice": 0.1  },  "steps": [    {      "name": "string",      "wizardStepId": 0,      "kind": "Property",      "description": "string",      "displayOrder": 0,      "code": "string",      "items": [        {          "wizardStepItemId": 0,          "name": "string",          "description": "string",          "image": "string",          "kind": "Property",          "categoryLink": {            "id": 0,            "categoryLinkMaterial": {              "materialCode": "string",              "supplierCode": "string",              "materialId": 0,              "materialDescription": "string",              "materialColor": "string",              "materialRemarks": "string",              "materialComposition": "string",              "materialSalePrice": 0,              "saleQuantity": 0,              "calcQuantity": 0,              "calcQuantityNet": 0,              "saleUnit": "string",              "supplierId": 0,              "supplierSbnKey": 0,              "price": {                "discountAmount": 0.1,                "priceGroups": [                  {                    "code": "string",                    "description": "string",                    "displayOrder": 0,                    "elements": [                      {                        "code": "string",                        "materialId": 0,                        "supplierCode": "string",                        "description": "string",                        "purchasePrice": {                          "unitPurchasePrice": 0,                          "totalPurchasePrice": 0                        },                        "quantity": 0.1,                        "totalPrice": 0.1,                        "totalPriceBeforePromotion": 0.1,                        "unit": "string",                        "unitPrice": 0.1,                        "unitPriceBeforePromotion": 0.1,                        "totalPriceExclVat": 0.1,                        "unitPriceExclVat": 0.1,                        "vatAmount": 0.1,                        "vatPercentage": 0.1                      }                    ]                  }                ],                "promotions": [                  {                    "code": "string",                    "description": "string",                    "priceDiscount": 0.1,                    "reference": "string",                    "validUntil": "2019-08-24T14:15:22Z",                    "priceDiscountExclVat": 0.1,                    "attributes": {                      "property1": "string",                      "property2": "string"                    }                  }                ],                "totalPrice": 0.1,                "totalPriceBeforePromotions": 0.1,                "totalPurchasePrice": 0.1              },              "properties": [                {                  "id": 0,                  "controlType": "Text",                  "customControlCode": "string",                  "dataType": 0,                  "valueDataType": "None",                  "defaultControlType": "Text",                  "description": "string",                  "displayLabel": "string",                  "displayOrder": 0,                  "displaySuffix": "string",                  "hasDynamicDescription": true,                  "interfaceKey": "string",                  "isModified": true,                  "isModifiedByApp": true,                  "isReadonly": true,                  "isRequired": true,                  "isVisible": true,                  "isAvailableBeforeCalculation": true,                  "listValues": [                    {                      "description": "string",                      "imageUrl": "string",                      "interfaceKey": "string",                      "skills": "string",                      "remarks": "string",                      "value": "string",                      "isDisabled": true,                      "priceDifference": 0,                      "price": 0,                      "categoryLinkPropertyId": 0,                      "contentBlockId": "string"                    }                  ],                  "propertyId": 0,                  "remarks": "string",                  "value": "string",                  "validation": {                    "min": null,                    "max": null,                    "precision": 0,                    "step": null,                    "isValid": true                  },                  "imageUrl": "string",                  "explanation": "string"                }              ],              "messages": [                {                  "context": "None",                  "contextReference": "string",                  "kind": "Information",                  "scope": "None",                  "text": "string",                  "origin": "Default"                }              ],              "redistributionInfo": "string"            },            "categoryMaterialOptionFilter": 0,            "categoryMaterialOptionInterfaceKeys": [              "string"            ],            "childCategoryDescription": "string",            "childCategoryId": 0,            "description": "string",            "imageUrl": "string",            "interfaceKey": "string",            "isEnabled": true,            "isMainCategory": true,            "parentCategoryId": 0,            "quantityDescription": "string",            "remarks": "string",            "requiredLevel": "None",            "options": [              "None"            ]          },          "customCode": "string",          "categoryExtraCode": "string",          "contentBlockId": "string",          "option": {            "id": "string",            "label": "string",            "value": "string",            "dataType": "None",            "controlType": "Text",            "defaultControlType": "Text",            "customControlCode": "string",            "isRequired": true,            "isVisible": true,            "displaySuffix": "string",            "isReadonly": true,            "description": "string",            "imageUrl": "string",            "values": [              {                "label": "string",                "value": "string",                "imageUrl": "string",                "isDisabled": true,                "priceDifference": 0,                "price": 0,                "contentBlockId": "string",                "description": "string"              }            ],            "validation": {              "min": null,              "max": null,              "precision": 0,              "step": null,              "isValid": true            },            "propertyDescription": "string",            "explanation": "string"          },          "appliedExtras": [            {              "id": "string",              "materialId": 0,              "materialCategoryId": 0,              "categoryExtraId": 0,              "quantity": 0.1,              "description": "string",              "priceElement": {                "code": "string",                "materialId": 0,                "supplierCode": "string",                "description": "string",                "purchasePrice": {                  "unitPurchasePrice": 0,                  "totalPurchasePrice": 0                },                "quantity": 0.1,                "totalPrice": 0.1,                "totalPriceBeforePromotion": 0.1,                "unit": "string",                "unitPrice": 0.1,                "unitPriceBeforePromotion": 0.1,                "totalPriceExclVat": 0.1,                "unitPriceExclVat": 0.1,                "vatAmount": 0.1,                "vatPercentage": 0.1              }            }          ],          "children": [            {              "wizardStepItemId": 0,              "name": "string",              "description": "string",              "image": "string",              "kind": "Property",              "categoryLink": {                "id": 0,                "categoryLinkMaterial": {                  "materialCode": "string",                  "supplierCode": "string",                  "materialId": 0,                  "materialDescription": "string",                  "materialColor": "string",                  "materialRemarks": "string",                  "materialComposition": "string",                  "materialSalePrice": 0,                  "saleQuantity": 0,                  "calcQuantity": 0,                  "calcQuantityNet": 0,                  "saleUnit": "string",                  "supplierId": 0,                  "supplierSbnKey": 0,                  "price": {                    "discountAmount": 0.1,                    "priceGroups": [                      {                        "code": "string",                        "description": "string",                        "displayOrder": 0,                        "elements": [                          {                            "code": "string",                            "materialId": 0,                            "supplierCode": "string",                            "description": "string",                            "purchasePrice": {},                            "quantity": 0.1,                            "totalPrice": 0.1,                            "totalPriceBeforePromotion": 0.1,                            "unit": "string",                            "unitPrice": 0.1,                            "unitPriceBeforePromotion": 0.1,                            "totalPriceExclVat": 0.1,                            "unitPriceExclVat": 0.1,                            "vatAmount": 0.1,                            "vatPercentage": 0.1                          }                        ]                      }                    ],                    "promotions": [                      {                        "code": "string",                        "description": "string",                        "priceDiscount": 0.1,                        "reference": "string",                        "validUntil": "2019-08-24T14:15:22Z",                        "priceDiscountExclVat": 0.1,                        "attributes": {                          "property1": "string",                          "property2": "string"                        }                      }                    ],                    "totalPrice": 0.1,                    "totalPriceBeforePromotions": 0.1,                    "totalPurchasePrice": 0.1                  },                  "properties": [                    {                      "id": 0,                      "controlType": "Text",                      "customControlCode": "string",                      "dataType": 0,                      "valueDataType": "None",                      "defaultControlType": "Text",                      "description": "string",                      "displayLabel": "string",                      "displayOrder": 0,                      "displaySuffix": "string",                      "hasDynamicDescription": true,                      "interfaceKey": "string",                      "isModified": true,                      "isModifiedByApp": true,                      "isReadonly": true,                      "isRequired": true,                      "isVisible": true,                      "isAvailableBeforeCalculation": true,                      "listValues": [                        {                          "description": "string",                          "imageUrl": "string",                          "interfaceKey": "string",                          "skills": "string",                          "remarks": "string",                          "value": "string",                          "isDisabled": true,                          "priceDifference": 0,                          "price": 0,                          "categoryLinkPropertyId": 0,                          "contentBlockId": "string"                        }                      ],                      "propertyId": 0,                      "remarks": "string",                      "value": "string",                      "validation": {                        "min": null,                        "max": null,                        "precision": 0,                        "step": null,                        "isValid": true                      },                      "imageUrl": "string",                      "explanation": "string"                    }                  ],                  "messages": [                    {                      "context": "None",                      "contextReference": "string",                      "kind": "Information",                      "scope": "None",                      "text": "string",                      "origin": "Default"                    }                  ],                  "redistributionInfo": "string"                },                "categoryMaterialOptionFilter": 0,                "categoryMaterialOptionInterfaceKeys": [                  "string"                ],                "childCategoryDescription": "string",                "childCategoryId": 0,                "description": "string",                "imageUrl": "string",                "interfaceKey": "string",                "isEnabled": true,                "isMainCategory": true,                "parentCategoryId": 0,                "quantityDescription": "string",                "remarks": "string",                "requiredLevel": "None",                "options": [                  "None"                ]              },              "customCode": "string",              "categoryExtraCode": "string",              "contentBlockId": "string",              "option": {                "id": "string",                "label": "string",                "value": "string",                "dataType": "None",                "controlType": "Text",                "defaultControlType": "Text",                "customControlCode": "string",                "isRequired": true,                "isVisible": true,                "displaySuffix": "string",                "isReadonly": true,                "description": "string",                "imageUrl": "string",                "values": [                  {                    "label": "string",                    "value": "string",                    "imageUrl": "string",                    "isDisabled": true,                    "priceDifference": 0,                    "price": 0,                    "contentBlockId": "string",                    "description": "string"                  }                ],                "validation": {                  "min": null,                  "max": null,                  "precision": 0,                  "step": null,                  "isValid": true                },                "propertyDescription": "string",                "explanation": "string"              },              "appliedExtras": [                {                  "id": "string",                  "materialId": 0,                  "materialCategoryId": 0,                  "categoryExtraId": 0,                  "quantity": 0.1,                  "description": "string",                  "priceElement": {                    "code": "string",                    "materialId": 0,                    "supplierCode": "string",                    "description": "string",                    "purchasePrice": {                      "unitPurchasePrice": 0,                      "totalPurchasePrice": 0                    },                    "quantity": 0.1,                    "totalPrice": 0.1,                    "totalPriceBeforePromotion": 0.1,                    "unit": "string",                    "unitPrice": 0.1,                    "unitPriceBeforePromotion": 0.1,                    "totalPriceExclVat": 0.1,                    "unitPriceExclVat": 0.1,                    "vatAmount": 0.1,                    "vatPercentage": 0.1                  }                }              ],              "children": [],              "messages": [                {                  "context": "None",                  "contextReference": "string",                  "kind": "Information",                  "scope": "None",                  "text": "string",                  "origin": "Default"                }              ],              "isValid": true            }          ],          "messages": [            {              "context": "None",              "contextReference": "string",              "kind": "Information",              "scope": "None",              "text": "string",              "origin": "Default"            }          ],          "isValid": true        }      ],      "messages": [        {          "context": "None",          "contextReference": "string",          "kind": "Information",          "scope": "None",          "text": "string",          "origin": "Default"        }      ],      "isValid": true,      "isEnabled": true    }  ],  "attributes": {    "property1": "string",    "property2": "string"  },  "state": "New",  "messages": [    {      "context": "None",      "contextReference": "string",      "kind": "Information",      "scope": "None",      "text": "string",      "origin": "Default"    }  ],  "materials": [    {      "categoryLinkId": 0,      "interfaceKey": "string",      "isMainMaterial": true,      "material": {        "id": 0,        "attachments": [          {            "kind": "Pdf",            "path": "string",            "pathKind": "Relative",            "content": "string"          }        ],        "categoryDescription": "string",        "categoryId": 0,        "code": "string",        "color": "string",        "colorDescription": "string",        "composition": "string",        "description": "string",        "eanCode": "string",        "extraFieldValues": [          {            "displayOrder": 0,            "extraField": 0,            "extraFieldName": "string",            "extraFieldNameResource": "string",            "image": "string",            "value": "string",            "valueResource": "string"          }        ],        "height": 0,        "imageUrl": "string",        "isWage": true,        "leadTime": 0,        "length": 0,        "materialOptionValues": [          {            "description": "string",            "value": 0,            "interfaceKey": "string"          }        ],        "materialGroups": [          {            "id": 0,            "code": "string",            "description": "string",            "children": [              {                "id": 0,                "code": "string",                "description": "string",                "children": []              }            ]          }        ],        "materialKind": {          "description": "string",          "value": 0,          "interfaceKey": "string"        },        "materialStyle": {          "description": "string",          "value": 0,          "interfaceKey": "string"        },        "patternLength": 0,        "patternWidth": 0,        "promotionPrice": 0,        "remarks": "string",        "salePrice": 0,        "saleUnit": "Millimeters",        "shrinkTolerance": 0,        "supplierCode": "string",        "supplierId": 0,        "supplierSbnKey": 0,        "unit": "Millimeters",        "validModelIds": [          "string"        ],        "washingSymbols": "string",        "weight": 0,        "width": 0      }    }  ]}
{  "type": "string",  "title": "string",  "status": 0,  "detail": "string",  "instance": "string",  "extensions": {    "property1": null,    "property2": null  },  "errors": {    "property1": [      "string"    ],    "property2": [      "string"    ]  },  "property1": null,  "property2": null}
{  "type": "string",  "title": "string",  "status": 0,  "detail": "string",  "instance": "string",  "extensions": {    "property1": null,    "property2": null  },  "property1": null,  "property2": null}
POST/api/gateway/v2/wizardpolygon/setmaterialbycode

Set one of the Materials of a Polygon

Request Body

application/json

Options for which Material (using a Material.Code) to set, for which CategoryLink

TypeScript Definitions

Use the request body type in TypeScript.

Contains the information that is needed to associated a material with a polygon using the materials code.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/api/gateway/v2/wizardpolygon/setmaterialbycode" \  -H "Content-Type: application/json" \  -d '{}'
{  "id": "string",  "wizardId": 0,  "wizardName": "string",  "isValid": true,  "polygonDescription": "string",  "modelId": "string",  "leadTime": 0.1,  "dimensions": {    "width": {      "value": 0,      "grossValue": 0,      "correction": 0,      "minValue": 0,      "maxValue": 0,      "measurementTypeSettingId": 0    },    "height": {      "value": 0,      "grossValue": 0,      "correction": 0,      "minValue": 0,      "maxValue": 0,      "measurementTypeSettingId": 0    }  },  "prices": {    "discountAmount": 0.1,    "priceGroups": [      {        "code": "string",        "description": "string",        "displayOrder": 0,        "elements": [          {            "code": "string",            "materialId": 0,            "supplierCode": "string",            "description": "string",            "purchasePrice": {              "unitPurchasePrice": 0,              "totalPurchasePrice": 0            },            "quantity": 0.1,            "totalPrice": 0.1,            "totalPriceBeforePromotion": 0.1,            "unit": "string",            "unitPrice": 0.1,            "unitPriceBeforePromotion": 0.1,            "totalPriceExclVat": 0.1,            "unitPriceExclVat": 0.1,            "vatAmount": 0.1,            "vatPercentage": 0.1          }        ]      }    ],    "promotions": [      {        "code": "string",        "description": "string",        "priceDiscount": 0.1,        "reference": "string",        "validUntil": "2019-08-24T14:15:22Z",        "priceDiscountExclVat": 0.1,        "attributes": {          "property1": "string",          "property2": "string"        }      }    ],    "totalPrice": 0.1,    "totalPriceBeforePromotions": 0.1,    "totalPurchasePrice": 0.1  },  "steps": [    {      "name": "string",      "wizardStepId": 0,      "kind": "Property",      "description": "string",      "displayOrder": 0,      "code": "string",      "items": [        {          "wizardStepItemId": 0,          "name": "string",          "description": "string",          "image": "string",          "kind": "Property",          "categoryLink": {            "id": 0,            "categoryLinkMaterial": {              "materialCode": "string",              "supplierCode": "string",              "materialId": 0,              "materialDescription": "string",              "materialColor": "string",              "materialRemarks": "string",              "materialComposition": "string",              "materialSalePrice": 0,              "saleQuantity": 0,              "calcQuantity": 0,              "calcQuantityNet": 0,              "saleUnit": "string",              "supplierId": 0,              "supplierSbnKey": 0,              "price": {                "discountAmount": 0.1,                "priceGroups": [                  {                    "code": "string",                    "description": "string",                    "displayOrder": 0,                    "elements": [                      {                        "code": "string",                        "materialId": 0,                        "supplierCode": "string",                        "description": "string",                        "purchasePrice": {                          "unitPurchasePrice": 0,                          "totalPurchasePrice": 0                        },                        "quantity": 0.1,                        "totalPrice": 0.1,                        "totalPriceBeforePromotion": 0.1,                        "unit": "string",                        "unitPrice": 0.1,                        "unitPriceBeforePromotion": 0.1,                        "totalPriceExclVat": 0.1,                        "unitPriceExclVat": 0.1,                        "vatAmount": 0.1,                        "vatPercentage": 0.1                      }                    ]                  }                ],                "promotions": [                  {                    "code": "string",                    "description": "string",                    "priceDiscount": 0.1,                    "reference": "string",                    "validUntil": "2019-08-24T14:15:22Z",                    "priceDiscountExclVat": 0.1,                    "attributes": {                      "property1": "string",                      "property2": "string"                    }                  }                ],                "totalPrice": 0.1,                "totalPriceBeforePromotions": 0.1,                "totalPurchasePrice": 0.1              },              "properties": [                {                  "id": 0,                  "controlType": "Text",                  "customControlCode": "string",                  "dataType": 0,                  "valueDataType": "None",                  "defaultControlType": "Text",                  "description": "string",                  "displayLabel": "string",                  "displayOrder": 0,                  "displaySuffix": "string",                  "hasDynamicDescription": true,                  "interfaceKey": "string",                  "isModified": true,                  "isModifiedByApp": true,                  "isReadonly": true,                  "isRequired": true,                  "isVisible": true,                  "isAvailableBeforeCalculation": true,                  "listValues": [                    {                      "description": "string",                      "imageUrl": "string",                      "interfaceKey": "string",                      "skills": "string",                      "remarks": "string",                      "value": "string",                      "isDisabled": true,                      "priceDifference": 0,                      "price": 0,                      "categoryLinkPropertyId": 0,                      "contentBlockId": "string"                    }                  ],                  "propertyId": 0,                  "remarks": "string",                  "value": "string",                  "validation": {                    "min": null,                    "max": null,                    "precision": 0,                    "step": null,                    "isValid": true                  },                  "imageUrl": "string",                  "explanation": "string"                }              ],              "messages": [                {                  "context": "None",                  "contextReference": "string",                  "kind": "Information",                  "scope": "None",                  "text": "string",                  "origin": "Default"                }              ],              "redistributionInfo": "string"            },            "categoryMaterialOptionFilter": 0,            "categoryMaterialOptionInterfaceKeys": [              "string"            ],            "childCategoryDescription": "string",            "childCategoryId": 0,            "description": "string",            "imageUrl": "string",            "interfaceKey": "string",            "isEnabled": true,            "isMainCategory": true,            "parentCategoryId": 0,            "quantityDescription": "string",            "remarks": "string",            "requiredLevel": "None",            "options": [              "None"            ]          },          "customCode": "string",          "categoryExtraCode": "string",          "contentBlockId": "string",          "option": {            "id": "string",            "label": "string",            "value": "string",            "dataType": "None",            "controlType": "Text",            "defaultControlType": "Text",            "customControlCode": "string",            "isRequired": true,            "isVisible": true,            "displaySuffix": "string",            "isReadonly": true,            "description": "string",            "imageUrl": "string",            "values": [              {                "label": "string",                "value": "string",                "imageUrl": "string",                "isDisabled": true,                "priceDifference": 0,                "price": 0,                "contentBlockId": "string",                "description": "string"              }            ],            "validation": {              "min": null,              "max": null,              "precision": 0,              "step": null,              "isValid": true            },            "propertyDescription": "string",            "explanation": "string"          },          "appliedExtras": [            {              "id": "string",              "materialId": 0,              "materialCategoryId": 0,              "categoryExtraId": 0,              "quantity": 0.1,              "description": "string",              "priceElement": {                "code": "string",                "materialId": 0,                "supplierCode": "string",                "description": "string",                "purchasePrice": {                  "unitPurchasePrice": 0,                  "totalPurchasePrice": 0                },                "quantity": 0.1,                "totalPrice": 0.1,                "totalPriceBeforePromotion": 0.1,                "unit": "string",                "unitPrice": 0.1,                "unitPriceBeforePromotion": 0.1,                "totalPriceExclVat": 0.1,                "unitPriceExclVat": 0.1,                "vatAmount": 0.1,                "vatPercentage": 0.1              }            }          ],          "children": [            {              "wizardStepItemId": 0,              "name": "string",              "description": "string",              "image": "string",              "kind": "Property",              "categoryLink": {                "id": 0,                "categoryLinkMaterial": {                  "materialCode": "string",                  "supplierCode": "string",                  "materialId": 0,                  "materialDescription": "string",                  "materialColor": "string",                  "materialRemarks": "string",                  "materialComposition": "string",                  "materialSalePrice": 0,                  "saleQuantity": 0,                  "calcQuantity": 0,                  "calcQuantityNet": 0,                  "saleUnit": "string",                  "supplierId": 0,                  "supplierSbnKey": 0,                  "price": {                    "discountAmount": 0.1,                    "priceGroups": [                      {                        "code": "string",                        "description": "string",                        "displayOrder": 0,                        "elements": [                          {                            "code": "string",                            "materialId": 0,                            "supplierCode": "string",                            "description": "string",                            "purchasePrice": {},                            "quantity": 0.1,                            "totalPrice": 0.1,                            "totalPriceBeforePromotion": 0.1,                            "unit": "string",                            "unitPrice": 0.1,                            "unitPriceBeforePromotion": 0.1,                            "totalPriceExclVat": 0.1,                            "unitPriceExclVat": 0.1,                            "vatAmount": 0.1,                            "vatPercentage": 0.1                          }                        ]                      }                    ],                    "promotions": [                      {                        "code": "string",                        "description": "string",                        "priceDiscount": 0.1,                        "reference": "string",                        "validUntil": "2019-08-24T14:15:22Z",                        "priceDiscountExclVat": 0.1,                        "attributes": {                          "property1": "string",                          "property2": "string"                        }                      }                    ],                    "totalPrice": 0.1,                    "totalPriceBeforePromotions": 0.1,                    "totalPurchasePrice": 0.1                  },                  "properties": [                    {                      "id": 0,                      "controlType": "Text",                      "customControlCode": "string",                      "dataType": 0,                      "valueDataType": "None",                      "defaultControlType": "Text",                      "description": "string",                      "displayLabel": "string",                      "displayOrder": 0,                      "displaySuffix": "string",                      "hasDynamicDescription": true,                      "interfaceKey": "string",                      "isModified": true,                      "isModifiedByApp": true,                      "isReadonly": true,                      "isRequired": true,                      "isVisible": true,                      "isAvailableBeforeCalculation": true,                      "listValues": [                        {                          "description": "string",                          "imageUrl": "string",                          "interfaceKey": "string",                          "skills": "string",                          "remarks": "string",                          "value": "string",                          "isDisabled": true,                          "priceDifference": 0,                          "price": 0,                          "categoryLinkPropertyId": 0,                          "contentBlockId": "string"                        }                      ],                      "propertyId": 0,                      "remarks": "string",                      "value": "string",                      "validation": {                        "min": null,                        "max": null,                        "precision": 0,                        "step": null,                        "isValid": true                      },                      "imageUrl": "string",                      "explanation": "string"                    }                  ],                  "messages": [                    {                      "context": "None",                      "contextReference": "string",                      "kind": "Information",                      "scope": "None",                      "text": "string",                      "origin": "Default"                    }                  ],                  "redistributionInfo": "string"                },                "categoryMaterialOptionFilter": 0,                "categoryMaterialOptionInterfaceKeys": [                  "string"                ],                "childCategoryDescription": "string",                "childCategoryId": 0,                "description": "string",                "imageUrl": "string",                "interfaceKey": "string",                "isEnabled": true,                "isMainCategory": true,                "parentCategoryId": 0,                "quantityDescription": "string",                "remarks": "string",                "requiredLevel": "None",                "options": [                  "None"                ]              },              "customCode": "string",              "categoryExtraCode": "string",              "contentBlockId": "string",              "option": {                "id": "string",                "label": "string",                "value": "string",                "dataType": "None",                "controlType": "Text",                "defaultControlType": "Text",                "customControlCode": "string",                "isRequired": true,                "isVisible": true,                "displaySuffix": "string",                "isReadonly": true,                "description": "string",                "imageUrl": "string",                "values": [                  {                    "label": "string",                    "value": "string",                    "imageUrl": "string",                    "isDisabled": true,                    "priceDifference": 0,                    "price": 0,                    "contentBlockId": "string",                    "description": "string"                  }                ],                "validation": {                  "min": null,                  "max": null,                  "precision": 0,                  "step": null,                  "isValid": true                },                "propertyDescription": "string",                "explanation": "string"              },              "appliedExtras": [                {                  "id": "string",                  "materialId": 0,                  "materialCategoryId": 0,                  "categoryExtraId": 0,                  "quantity": 0.1,                  "description": "string",                  "priceElement": {                    "code": "string",                    "materialId": 0,                    "supplierCode": "string",                    "description": "string",                    "purchasePrice": {                      "unitPurchasePrice": 0,                      "totalPurchasePrice": 0                    },                    "quantity": 0.1,                    "totalPrice": 0.1,                    "totalPriceBeforePromotion": 0.1,                    "unit": "string",                    "unitPrice": 0.1,                    "unitPriceBeforePromotion": 0.1,                    "totalPriceExclVat": 0.1,                    "unitPriceExclVat": 0.1,                    "vatAmount": 0.1,                    "vatPercentage": 0.1                  }                }              ],              "children": [],              "messages": [                {                  "context": "None",                  "contextReference": "string",                  "kind": "Information",                  "scope": "None",                  "text": "string",                  "origin": "Default"                }              ],              "isValid": true            }          ],          "messages": [            {              "context": "None",              "contextReference": "string",              "kind": "Information",              "scope": "None",              "text": "string",              "origin": "Default"            }          ],          "isValid": true        }      ],      "messages": [        {          "context": "None",          "contextReference": "string",          "kind": "Information",          "scope": "None",          "text": "string",          "origin": "Default"        }      ],      "isValid": true,      "isEnabled": true    }  ],  "attributes": {    "property1": "string",    "property2": "string"  },  "state": "New",  "messages": [    {      "context": "None",      "contextReference": "string",      "kind": "Information",      "scope": "None",      "text": "string",      "origin": "Default"    }  ],  "materials": [    {      "categoryLinkId": 0,      "interfaceKey": "string",      "isMainMaterial": true,      "material": {        "id": 0,        "attachments": [          {            "kind": "Pdf",            "path": "string",            "pathKind": "Relative",            "content": "string"          }        ],        "categoryDescription": "string",        "categoryId": 0,        "code": "string",        "color": "string",        "colorDescription": "string",        "composition": "string",        "description": "string",        "eanCode": "string",        "extraFieldValues": [          {            "displayOrder": 0,            "extraField": 0,            "extraFieldName": "string",            "extraFieldNameResource": "string",            "image": "string",            "value": "string",            "valueResource": "string"          }        ],        "height": 0,        "imageUrl": "string",        "isWage": true,        "leadTime": 0,        "length": 0,        "materialOptionValues": [          {            "description": "string",            "value": 0,            "interfaceKey": "string"          }        ],        "materialGroups": [          {            "id": 0,            "code": "string",            "description": "string",            "children": [              {                "id": 0,                "code": "string",                "description": "string",                "children": []              }            ]          }        ],        "materialKind": {          "description": "string",          "value": 0,          "interfaceKey": "string"        },        "materialStyle": {          "description": "string",          "value": 0,          "interfaceKey": "string"        },        "patternLength": 0,        "patternWidth": 0,        "promotionPrice": 0,        "remarks": "string",        "salePrice": 0,        "saleUnit": "Millimeters",        "shrinkTolerance": 0,        "supplierCode": "string",        "supplierId": 0,        "supplierSbnKey": 0,        "unit": "Millimeters",        "validModelIds": [          "string"        ],        "washingSymbols": "string",        "weight": 0,        "width": 0      }    }  ]}
{  "type": "string",  "title": "string",  "status": 0,  "detail": "string",  "instance": "string",  "extensions": {    "property1": null,    "property2": null  },  "errors": {    "property1": [      "string"    ],    "property2": [      "string"    ]  },  "property1": null,  "property2": null}
{  "type": "string",  "title": "string",  "status": 0,  "detail": "string",  "instance": "string",  "extensions": {    "property1": null,    "property2": null  },  "property1": null,  "property2": null}
POST/api/gateway/v2/wizardpolygon/setmodel

Set the model of a Polygon

Request Body

application/json

Options for which model to set, for which polygon

TypeScript Definitions

Use the request body type in TypeScript.

Contains information about the model to set for a specified polygon.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/api/gateway/v2/wizardpolygon/setmodel" \  -H "Content-Type: application/json" \  -d '{    "polygonId": "string",    "modelId": "string"  }'
{  "id": "string",  "wizardId": 0,  "wizardName": "string",  "isValid": true,  "polygonDescription": "string",  "modelId": "string",  "leadTime": 0.1,  "dimensions": {    "width": {      "value": 0,      "grossValue": 0,      "correction": 0,      "minValue": 0,      "maxValue": 0,      "measurementTypeSettingId": 0    },    "height": {      "value": 0,      "grossValue": 0,      "correction": 0,      "minValue": 0,      "maxValue": 0,      "measurementTypeSettingId": 0    }  },  "prices": {    "discountAmount": 0.1,    "priceGroups": [      {        "code": "string",        "description": "string",        "displayOrder": 0,        "elements": [          {            "code": "string",            "materialId": 0,            "supplierCode": "string",            "description": "string",            "purchasePrice": {              "unitPurchasePrice": 0,              "totalPurchasePrice": 0            },            "quantity": 0.1,            "totalPrice": 0.1,            "totalPriceBeforePromotion": 0.1,            "unit": "string",            "unitPrice": 0.1,            "unitPriceBeforePromotion": 0.1,            "totalPriceExclVat": 0.1,            "unitPriceExclVat": 0.1,            "vatAmount": 0.1,            "vatPercentage": 0.1          }        ]      }    ],    "promotions": [      {        "code": "string",        "description": "string",        "priceDiscount": 0.1,        "reference": "string",        "validUntil": "2019-08-24T14:15:22Z",        "priceDiscountExclVat": 0.1,        "attributes": {          "property1": "string",          "property2": "string"        }      }    ],    "totalPrice": 0.1,    "totalPriceBeforePromotions": 0.1,    "totalPurchasePrice": 0.1  },  "steps": [    {      "name": "string",      "wizardStepId": 0,      "kind": "Property",      "description": "string",      "displayOrder": 0,      "code": "string",      "items": [        {          "wizardStepItemId": 0,          "name": "string",          "description": "string",          "image": "string",          "kind": "Property",          "categoryLink": {            "id": 0,            "categoryLinkMaterial": {              "materialCode": "string",              "supplierCode": "string",              "materialId": 0,              "materialDescription": "string",              "materialColor": "string",              "materialRemarks": "string",              "materialComposition": "string",              "materialSalePrice": 0,              "saleQuantity": 0,              "calcQuantity": 0,              "calcQuantityNet": 0,              "saleUnit": "string",              "supplierId": 0,              "supplierSbnKey": 0,              "price": {                "discountAmount": 0.1,                "priceGroups": [                  {                    "code": "string",                    "description": "string",                    "displayOrder": 0,                    "elements": [                      {                        "code": "string",                        "materialId": 0,                        "supplierCode": "string",                        "description": "string",                        "purchasePrice": {                          "unitPurchasePrice": 0,                          "totalPurchasePrice": 0                        },                        "quantity": 0.1,                        "totalPrice": 0.1,                        "totalPriceBeforePromotion": 0.1,                        "unit": "string",                        "unitPrice": 0.1,                        "unitPriceBeforePromotion": 0.1,                        "totalPriceExclVat": 0.1,                        "unitPriceExclVat": 0.1,                        "vatAmount": 0.1,                        "vatPercentage": 0.1                      }                    ]                  }                ],                "promotions": [                  {                    "code": "string",                    "description": "string",                    "priceDiscount": 0.1,                    "reference": "string",                    "validUntil": "2019-08-24T14:15:22Z",                    "priceDiscountExclVat": 0.1,                    "attributes": {                      "property1": "string",                      "property2": "string"                    }                  }                ],                "totalPrice": 0.1,                "totalPriceBeforePromotions": 0.1,                "totalPurchasePrice": 0.1              },              "properties": [                {                  "id": 0,                  "controlType": "Text",                  "customControlCode": "string",                  "dataType": 0,                  "valueDataType": "None",                  "defaultControlType": "Text",                  "description": "string",                  "displayLabel": "string",                  "displayOrder": 0,                  "displaySuffix": "string",                  "hasDynamicDescription": true,                  "interfaceKey": "string",                  "isModified": true,                  "isModifiedByApp": true,                  "isReadonly": true,                  "isRequired": true,                  "isVisible": true,                  "isAvailableBeforeCalculation": true,                  "listValues": [                    {                      "description": "string",                      "imageUrl": "string",                      "interfaceKey": "string",                      "skills": "string",                      "remarks": "string",                      "value": "string",                      "isDisabled": true,                      "priceDifference": 0,                      "price": 0,                      "categoryLinkPropertyId": 0,                      "contentBlockId": "string"                    }                  ],                  "propertyId": 0,                  "remarks": "string",                  "value": "string",                  "validation": {                    "min": null,                    "max": null,                    "precision": 0,                    "step": null,                    "isValid": true                  },                  "imageUrl": "string",                  "explanation": "string"                }              ],              "messages": [                {                  "context": "None",                  "contextReference": "string",                  "kind": "Information",                  "scope": "None",                  "text": "string",                  "origin": "Default"                }              ],              "redistributionInfo": "string"            },            "categoryMaterialOptionFilter": 0,            "categoryMaterialOptionInterfaceKeys": [              "string"            ],            "childCategoryDescription": "string",            "childCategoryId": 0,            "description": "string",            "imageUrl": "string",            "interfaceKey": "string",            "isEnabled": true,            "isMainCategory": true,            "parentCategoryId": 0,            "quantityDescription": "string",            "remarks": "string",            "requiredLevel": "None",            "options": [              "None"            ]          },          "customCode": "string",          "categoryExtraCode": "string",          "contentBlockId": "string",          "option": {            "id": "string",            "label": "string",            "value": "string",            "dataType": "None",            "controlType": "Text",            "defaultControlType": "Text",            "customControlCode": "string",            "isRequired": true,            "isVisible": true,            "displaySuffix": "string",            "isReadonly": true,            "description": "string",            "imageUrl": "string",            "values": [              {                "label": "string",                "value": "string",                "imageUrl": "string",                "isDisabled": true,                "priceDifference": 0,                "price": 0,                "contentBlockId": "string",                "description": "string"              }            ],            "validation": {              "min": null,              "max": null,              "precision": 0,              "step": null,              "isValid": true            },            "propertyDescription": "string",            "explanation": "string"          },          "appliedExtras": [            {              "id": "string",              "materialId": 0,              "materialCategoryId": 0,              "categoryExtraId": 0,              "quantity": 0.1,              "description": "string",              "priceElement": {                "code": "string",                "materialId": 0,                "supplierCode": "string",                "description": "string",                "purchasePrice": {                  "unitPurchasePrice": 0,                  "totalPurchasePrice": 0                },                "quantity": 0.1,                "totalPrice": 0.1,                "totalPriceBeforePromotion": 0.1,                "unit": "string",                "unitPrice": 0.1,                "unitPriceBeforePromotion": 0.1,                "totalPriceExclVat": 0.1,                "unitPriceExclVat": 0.1,                "vatAmount": 0.1,                "vatPercentage": 0.1              }            }          ],          "children": [            {              "wizardStepItemId": 0,              "name": "string",              "description": "string",              "image": "string",              "kind": "Property",              "categoryLink": {                "id": 0,                "categoryLinkMaterial": {                  "materialCode": "string",                  "supplierCode": "string",                  "materialId": 0,                  "materialDescription": "string",                  "materialColor": "string",                  "materialRemarks": "string",                  "materialComposition": "string",                  "materialSalePrice": 0,                  "saleQuantity": 0,                  "calcQuantity": 0,                  "calcQuantityNet": 0,                  "saleUnit": "string",                  "supplierId": 0,                  "supplierSbnKey": 0,                  "price": {                    "discountAmount": 0.1,                    "priceGroups": [                      {                        "code": "string",                        "description": "string",                        "displayOrder": 0,                        "elements": [                          {                            "code": "string",                            "materialId": 0,                            "supplierCode": "string",                            "description": "string",                            "purchasePrice": {},                            "quantity": 0.1,                            "totalPrice": 0.1,                            "totalPriceBeforePromotion": 0.1,                            "unit": "string",                            "unitPrice": 0.1,                            "unitPriceBeforePromotion": 0.1,                            "totalPriceExclVat": 0.1,                            "unitPriceExclVat": 0.1,                            "vatAmount": 0.1,                            "vatPercentage": 0.1                          }                        ]                      }                    ],                    "promotions": [                      {                        "code": "string",                        "description": "string",                        "priceDiscount": 0.1,                        "reference": "string",                        "validUntil": "2019-08-24T14:15:22Z",                        "priceDiscountExclVat": 0.1,                        "attributes": {                          "property1": "string",                          "property2": "string"                        }                      }                    ],                    "totalPrice": 0.1,                    "totalPriceBeforePromotions": 0.1,                    "totalPurchasePrice": 0.1                  },                  "properties": [                    {                      "id": 0,                      "controlType": "Text",                      "customControlCode": "string",                      "dataType": 0,                      "valueDataType": "None",                      "defaultControlType": "Text",                      "description": "string",                      "displayLabel": "string",                      "displayOrder": 0,                      "displaySuffix": "string",                      "hasDynamicDescription": true,                      "interfaceKey": "string",                      "isModified": true,                      "isModifiedByApp": true,                      "isReadonly": true,                      "isRequired": true,                      "isVisible": true,                      "isAvailableBeforeCalculation": true,                      "listValues": [                        {                          "description": "string",                          "imageUrl": "string",                          "interfaceKey": "string",                          "skills": "string",                          "remarks": "string",                          "value": "string",                          "isDisabled": true,                          "priceDifference": 0,                          "price": 0,                          "categoryLinkPropertyId": 0,                          "contentBlockId": "string"                        }                      ],                      "propertyId": 0,                      "remarks": "string",                      "value": "string",                      "validation": {                        "min": null,                        "max": null,                        "precision": 0,                        "step": null,                        "isValid": true                      },                      "imageUrl": "string",                      "explanation": "string"                    }                  ],                  "messages": [                    {                      "context": "None",                      "contextReference": "string",                      "kind": "Information",                      "scope": "None",                      "text": "string",                      "origin": "Default"                    }                  ],                  "redistributionInfo": "string"                },                "categoryMaterialOptionFilter": 0,                "categoryMaterialOptionInterfaceKeys": [                  "string"                ],                "childCategoryDescription": "string",                "childCategoryId": 0,                "description": "string",                "imageUrl": "string",                "interfaceKey": "string",                "isEnabled": true,                "isMainCategory": true,                "parentCategoryId": 0,                "quantityDescription": "string",                "remarks": "string",                "requiredLevel": "None",                "options": [                  "None"                ]              },              "customCode": "string",              "categoryExtraCode": "string",              "contentBlockId": "string",              "option": {                "id": "string",                "label": "string",                "value": "string",                "dataType": "None",                "controlType": "Text",                "defaultControlType": "Text",                "customControlCode": "string",                "isRequired": true,                "isVisible": true,                "displaySuffix": "string",                "isReadonly": true,                "description": "string",                "imageUrl": "string",                "values": [                  {                    "label": "string",                    "value": "string",                    "imageUrl": "string",                    "isDisabled": true,                    "priceDifference": 0,                    "price": 0,                    "contentBlockId": "string",                    "description": "string"                  }                ],                "validation": {                  "min": null,                  "max": null,                  "precision": 0,                  "step": null,                  "isValid": true                },                "propertyDescription": "string",                "explanation": "string"              },              "appliedExtras": [                {                  "id": "string",                  "materialId": 0,                  "materialCategoryId": 0,                  "categoryExtraId": 0,                  "quantity": 0.1,                  "description": "string",                  "priceElement": {                    "code": "string",                    "materialId": 0,                    "supplierCode": "string",                    "description": "string",                    "purchasePrice": {                      "unitPurchasePrice": 0,                      "totalPurchasePrice": 0                    },                    "quantity": 0.1,                    "totalPrice": 0.1,                    "totalPriceBeforePromotion": 0.1,                    "unit": "string",                    "unitPrice": 0.1,                    "unitPriceBeforePromotion": 0.1,                    "totalPriceExclVat": 0.1,                    "unitPriceExclVat": 0.1,                    "vatAmount": 0.1,                    "vatPercentage": 0.1                  }                }              ],              "children": [],              "messages": [                {                  "context": "None",                  "contextReference": "string",                  "kind": "Information",                  "scope": "None",                  "text": "string",                  "origin": "Default"                }              ],              "isValid": true            }          ],          "messages": [            {              "context": "None",              "contextReference": "string",              "kind": "Information",              "scope": "None",              "text": "string",              "origin": "Default"            }          ],          "isValid": true        }      ],      "messages": [        {          "context": "None",          "contextReference": "string",          "kind": "Information",          "scope": "None",          "text": "string",          "origin": "Default"        }      ],      "isValid": true,      "isEnabled": true    }  ],  "attributes": {    "property1": "string",    "property2": "string"  },  "state": "New",  "messages": [    {      "context": "None",      "contextReference": "string",      "kind": "Information",      "scope": "None",      "text": "string",      "origin": "Default"    }  ],  "materials": [    {      "categoryLinkId": 0,      "interfaceKey": "string",      "isMainMaterial": true,      "material": {        "id": 0,        "attachments": [          {            "kind": "Pdf",            "path": "string",            "pathKind": "Relative",            "content": "string"          }        ],        "categoryDescription": "string",        "categoryId": 0,        "code": "string",        "color": "string",        "colorDescription": "string",        "composition": "string",        "description": "string",        "eanCode": "string",        "extraFieldValues": [          {            "displayOrder": 0,            "extraField": 0,            "extraFieldName": "string",            "extraFieldNameResource": "string",            "image": "string",            "value": "string",            "valueResource": "string"          }        ],        "height": 0,        "imageUrl": "string",        "isWage": true,        "leadTime": 0,        "length": 0,        "materialOptionValues": [          {            "description": "string",            "value": 0,            "interfaceKey": "string"          }        ],        "materialGroups": [          {            "id": 0,            "code": "string",            "description": "string",            "children": [              {                "id": 0,                "code": "string",                "description": "string",                "children": []              }            ]          }        ],        "materialKind": {          "description": "string",          "value": 0,          "interfaceKey": "string"        },        "materialStyle": {          "description": "string",          "value": 0,          "interfaceKey": "string"        },        "patternLength": 0,        "patternWidth": 0,        "promotionPrice": 0,        "remarks": "string",        "salePrice": 0,        "saleUnit": "Millimeters",        "shrinkTolerance": 0,        "supplierCode": "string",        "supplierId": 0,        "supplierSbnKey": 0,        "unit": "Millimeters",        "validModelIds": [          "string"        ],        "washingSymbols": "string",        "weight": 0,        "width": 0      }    }  ]}
{  "type": "string",  "title": "string",  "status": 0,  "detail": "string",  "instance": "string",  "extensions": {    "property1": null,    "property2": null  },  "errors": {    "property1": [      "string"    ],    "property2": [      "string"    ]  },  "property1": null,  "property2": null}
{  "type": "string",  "title": "string",  "status": 0,  "detail": "string",  "instance": "string",  "extensions": {    "property1": null,    "property2": null  },  "property1": null,  "property2": null}
POST/api/gateway/v2/wizardpolygon/setpropertyvalue

Set the value of a property for a Polygon

Request Body

application/json

Options for which Property value to set for which Polygon.

TypeScript Definitions

Use the request body type in TypeScript.

Contains information about the property value to set for a polygon's category link and material configuration. A property means, a property of the product. Like the quantity of the product, or whether a curtain is placed at the left or right side of a window. A CategoryLinkMaterial is an element that is a relation between a CategoryLink and its associated material.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/api/gateway/v2/wizardpolygon/setpropertyvalue" \  -H "Content-Type: application/json" \  -d '{    "categoryLinkMaterialPropertyId": 0,    "polygonId": "string"  }'
{  "id": "string",  "wizardId": 0,  "wizardName": "string",  "isValid": true,  "polygonDescription": "string",  "modelId": "string",  "leadTime": 0.1,  "dimensions": {    "width": {      "value": 0,      "grossValue": 0,      "correction": 0,      "minValue": 0,      "maxValue": 0,      "measurementTypeSettingId": 0    },    "height": {      "value": 0,      "grossValue": 0,      "correction": 0,      "minValue": 0,      "maxValue": 0,      "measurementTypeSettingId": 0    }  },  "prices": {    "discountAmount": 0.1,    "priceGroups": [      {        "code": "string",        "description": "string",        "displayOrder": 0,        "elements": [          {            "code": "string",            "materialId": 0,            "supplierCode": "string",            "description": "string",            "purchasePrice": {              "unitPurchasePrice": 0,              "totalPurchasePrice": 0            },            "quantity": 0.1,            "totalPrice": 0.1,            "totalPriceBeforePromotion": 0.1,            "unit": "string",            "unitPrice": 0.1,            "unitPriceBeforePromotion": 0.1,            "totalPriceExclVat": 0.1,            "unitPriceExclVat": 0.1,            "vatAmount": 0.1,            "vatPercentage": 0.1          }        ]      }    ],    "promotions": [      {        "code": "string",        "description": "string",        "priceDiscount": 0.1,        "reference": "string",        "validUntil": "2019-08-24T14:15:22Z",        "priceDiscountExclVat": 0.1,        "attributes": {          "property1": "string",          "property2": "string"        }      }    ],    "totalPrice": 0.1,    "totalPriceBeforePromotions": 0.1,    "totalPurchasePrice": 0.1  },  "steps": [    {      "name": "string",      "wizardStepId": 0,      "kind": "Property",      "description": "string",      "displayOrder": 0,      "code": "string",      "items": [        {          "wizardStepItemId": 0,          "name": "string",          "description": "string",          "image": "string",          "kind": "Property",          "categoryLink": {            "id": 0,            "categoryLinkMaterial": {              "materialCode": "string",              "supplierCode": "string",              "materialId": 0,              "materialDescription": "string",              "materialColor": "string",              "materialRemarks": "string",              "materialComposition": "string",              "materialSalePrice": 0,              "saleQuantity": 0,              "calcQuantity": 0,              "calcQuantityNet": 0,              "saleUnit": "string",              "supplierId": 0,              "supplierSbnKey": 0,              "price": {                "discountAmount": 0.1,                "priceGroups": [                  {                    "code": "string",                    "description": "string",                    "displayOrder": 0,                    "elements": [                      {                        "code": "string",                        "materialId": 0,                        "supplierCode": "string",                        "description": "string",                        "purchasePrice": {                          "unitPurchasePrice": 0,                          "totalPurchasePrice": 0                        },                        "quantity": 0.1,                        "totalPrice": 0.1,                        "totalPriceBeforePromotion": 0.1,                        "unit": "string",                        "unitPrice": 0.1,                        "unitPriceBeforePromotion": 0.1,                        "totalPriceExclVat": 0.1,                        "unitPriceExclVat": 0.1,                        "vatAmount": 0.1,                        "vatPercentage": 0.1                      }                    ]                  }                ],                "promotions": [                  {                    "code": "string",                    "description": "string",                    "priceDiscount": 0.1,                    "reference": "string",                    "validUntil": "2019-08-24T14:15:22Z",                    "priceDiscountExclVat": 0.1,                    "attributes": {                      "property1": "string",                      "property2": "string"                    }                  }                ],                "totalPrice": 0.1,                "totalPriceBeforePromotions": 0.1,                "totalPurchasePrice": 0.1              },              "properties": [                {                  "id": 0,                  "controlType": "Text",                  "customControlCode": "string",                  "dataType": 0,                  "valueDataType": "None",                  "defaultControlType": "Text",                  "description": "string",                  "displayLabel": "string",                  "displayOrder": 0,                  "displaySuffix": "string",                  "hasDynamicDescription": true,                  "interfaceKey": "string",                  "isModified": true,                  "isModifiedByApp": true,                  "isReadonly": true,                  "isRequired": true,                  "isVisible": true,                  "isAvailableBeforeCalculation": true,                  "listValues": [                    {                      "description": "string",                      "imageUrl": "string",                      "interfaceKey": "string",                      "skills": "string",                      "remarks": "string",                      "value": "string",                      "isDisabled": true,                      "priceDifference": 0,                      "price": 0,                      "categoryLinkPropertyId": 0,                      "contentBlockId": "string"                    }                  ],                  "propertyId": 0,                  "remarks": "string",                  "value": "string",                  "validation": {                    "min": null,                    "max": null,                    "precision": 0,                    "step": null,                    "isValid": true                  },                  "imageUrl": "string",                  "explanation": "string"                }              ],              "messages": [                {                  "context": "None",                  "contextReference": "string",                  "kind": "Information",                  "scope": "None",                  "text": "string",                  "origin": "Default"                }              ],              "redistributionInfo": "string"            },            "categoryMaterialOptionFilter": 0,            "categoryMaterialOptionInterfaceKeys": [              "string"            ],            "childCategoryDescription": "string",            "childCategoryId": 0,            "description": "string",            "imageUrl": "string",            "interfaceKey": "string",            "isEnabled": true,            "isMainCategory": true,            "parentCategoryId": 0,            "quantityDescription": "string",            "remarks": "string",            "requiredLevel": "None",            "options": [              "None"            ]          },          "customCode": "string",          "categoryExtraCode": "string",          "contentBlockId": "string",          "option": {            "id": "string",            "label": "string",            "value": "string",            "dataType": "None",            "controlType": "Text",            "defaultControlType": "Text",            "customControlCode": "string",            "isRequired": true,            "isVisible": true,            "displaySuffix": "string",            "isReadonly": true,            "description": "string",            "imageUrl": "string",            "values": [              {                "label": "string",                "value": "string",                "imageUrl": "string",                "isDisabled": true,                "priceDifference": 0,                "price": 0,                "contentBlockId": "string",                "description": "string"              }            ],            "validation": {              "min": null,              "max": null,              "precision": 0,              "step": null,              "isValid": true            },            "propertyDescription": "string",            "explanation": "string"          },          "appliedExtras": [            {              "id": "string",              "materialId": 0,              "materialCategoryId": 0,              "categoryExtraId": 0,              "quantity": 0.1,              "description": "string",              "priceElement": {                "code": "string",                "materialId": 0,                "supplierCode": "string",                "description": "string",                "purchasePrice": {                  "unitPurchasePrice": 0,                  "totalPurchasePrice": 0                },                "quantity": 0.1,                "totalPrice": 0.1,                "totalPriceBeforePromotion": 0.1,                "unit": "string",                "unitPrice": 0.1,                "unitPriceBeforePromotion": 0.1,                "totalPriceExclVat": 0.1,                "unitPriceExclVat": 0.1,                "vatAmount": 0.1,                "vatPercentage": 0.1              }            }          ],          "children": [            {              "wizardStepItemId": 0,              "name": "string",              "description": "string",              "image": "string",              "kind": "Property",              "categoryLink": {                "id": 0,                "categoryLinkMaterial": {                  "materialCode": "string",                  "supplierCode": "string",                  "materialId": 0,                  "materialDescription": "string",                  "materialColor": "string",                  "materialRemarks": "string",                  "materialComposition": "string",                  "materialSalePrice": 0,                  "saleQuantity": 0,                  "calcQuantity": 0,                  "calcQuantityNet": 0,                  "saleUnit": "string",                  "supplierId": 0,                  "supplierSbnKey": 0,                  "price": {                    "discountAmount": 0.1,                    "priceGroups": [                      {                        "code": "string",                        "description": "string",                        "displayOrder": 0,                        "elements": [                          {                            "code": "string",                            "materialId": 0,                            "supplierCode": "string",                            "description": "string",                            "purchasePrice": {},                            "quantity": 0.1,                            "totalPrice": 0.1,                            "totalPriceBeforePromotion": 0.1,                            "unit": "string",                            "unitPrice": 0.1,                            "unitPriceBeforePromotion": 0.1,                            "totalPriceExclVat": 0.1,                            "unitPriceExclVat": 0.1,                            "vatAmount": 0.1,                            "vatPercentage": 0.1                          }                        ]                      }                    ],                    "promotions": [                      {                        "code": "string",                        "description": "string",                        "priceDiscount": 0.1,                        "reference": "string",                        "validUntil": "2019-08-24T14:15:22Z",                        "priceDiscountExclVat": 0.1,                        "attributes": {                          "property1": "string",                          "property2": "string"                        }                      }                    ],                    "totalPrice": 0.1,                    "totalPriceBeforePromotions": 0.1,                    "totalPurchasePrice": 0.1                  },                  "properties": [                    {                      "id": 0,                      "controlType": "Text",                      "customControlCode": "string",                      "dataType": 0,                      "valueDataType": "None",                      "defaultControlType": "Text",                      "description": "string",                      "displayLabel": "string",                      "displayOrder": 0,                      "displaySuffix": "string",                      "hasDynamicDescription": true,                      "interfaceKey": "string",                      "isModified": true,                      "isModifiedByApp": true,                      "isReadonly": true,                      "isRequired": true,                      "isVisible": true,                      "isAvailableBeforeCalculation": true,                      "listValues": [                        {                          "description": "string",                          "imageUrl": "string",                          "interfaceKey": "string",                          "skills": "string",                          "remarks": "string",                          "value": "string",                          "isDisabled": true,                          "priceDifference": 0,                          "price": 0,                          "categoryLinkPropertyId": 0,                          "contentBlockId": "string"                        }                      ],                      "propertyId": 0,                      "remarks": "string",                      "value": "string",                      "validation": {                        "min": null,                        "max": null,                        "precision": 0,                        "step": null,                        "isValid": true                      },                      "imageUrl": "string",                      "explanation": "string"                    }                  ],                  "messages": [                    {                      "context": "None",                      "contextReference": "string",                      "kind": "Information",                      "scope": "None",                      "text": "string",                      "origin": "Default"                    }                  ],                  "redistributionInfo": "string"                },                "categoryMaterialOptionFilter": 0,                "categoryMaterialOptionInterfaceKeys": [                  "string"                ],                "childCategoryDescription": "string",                "childCategoryId": 0,                "description": "string",                "imageUrl": "string",                "interfaceKey": "string",                "isEnabled": true,                "isMainCategory": true,                "parentCategoryId": 0,                "quantityDescription": "string",                "remarks": "string",                "requiredLevel": "None",                "options": [                  "None"                ]              },              "customCode": "string",              "categoryExtraCode": "string",              "contentBlockId": "string",              "option": {                "id": "string",                "label": "string",                "value": "string",                "dataType": "None",                "controlType": "Text",                "defaultControlType": "Text",                "customControlCode": "string",                "isRequired": true,                "isVisible": true,                "displaySuffix": "string",                "isReadonly": true,                "description": "string",                "imageUrl": "string",                "values": [                  {                    "label": "string",                    "value": "string",                    "imageUrl": "string",                    "isDisabled": true,                    "priceDifference": 0,                    "price": 0,                    "contentBlockId": "string",                    "description": "string"                  }                ],                "validation": {                  "min": null,                  "max": null,                  "precision": 0,                  "step": null,                  "isValid": true                },                "propertyDescription": "string",                "explanation": "string"              },              "appliedExtras": [                {                  "id": "string",                  "materialId": 0,                  "materialCategoryId": 0,                  "categoryExtraId": 0,                  "quantity": 0.1,                  "description": "string",                  "priceElement": {                    "code": "string",                    "materialId": 0,                    "supplierCode": "string",                    "description": "string",                    "purchasePrice": {                      "unitPurchasePrice": 0,                      "totalPurchasePrice": 0                    },                    "quantity": 0.1,                    "totalPrice": 0.1,                    "totalPriceBeforePromotion": 0.1,                    "unit": "string",                    "unitPrice": 0.1,                    "unitPriceBeforePromotion": 0.1,                    "totalPriceExclVat": 0.1,                    "unitPriceExclVat": 0.1,                    "vatAmount": 0.1,                    "vatPercentage": 0.1                  }                }              ],              "children": [],              "messages": [                {                  "context": "None",                  "contextReference": "string",                  "kind": "Information",                  "scope": "None",                  "text": "string",                  "origin": "Default"                }              ],              "isValid": true            }          ],          "messages": [            {              "context": "None",              "contextReference": "string",              "kind": "Information",              "scope": "None",              "text": "string",              "origin": "Default"            }          ],          "isValid": true        }      ],      "messages": [        {          "context": "None",          "contextReference": "string",          "kind": "Information",          "scope": "None",          "text": "string",          "origin": "Default"        }      ],      "isValid": true,      "isEnabled": true    }  ],  "attributes": {    "property1": "string",    "property2": "string"  },  "state": "New",  "messages": [    {      "context": "None",      "contextReference": "string",      "kind": "Information",      "scope": "None",      "text": "string",      "origin": "Default"    }  ],  "materials": [    {      "categoryLinkId": 0,      "interfaceKey": "string",      "isMainMaterial": true,      "material": {        "id": 0,        "attachments": [          {            "kind": "Pdf",            "path": "string",            "pathKind": "Relative",            "content": "string"          }        ],        "categoryDescription": "string",        "categoryId": 0,        "code": "string",        "color": "string",        "colorDescription": "string",        "composition": "string",        "description": "string",        "eanCode": "string",        "extraFieldValues": [          {            "displayOrder": 0,            "extraField": 0,            "extraFieldName": "string",            "extraFieldNameResource": "string",            "image": "string",            "value": "string",            "valueResource": "string"          }        ],        "height": 0,        "imageUrl": "string",        "isWage": true,        "leadTime": 0,        "length": 0,        "materialOptionValues": [          {            "description": "string",            "value": 0,            "interfaceKey": "string"          }        ],        "materialGroups": [          {            "id": 0,            "code": "string",            "description": "string",            "children": [              {                "id": 0,                "code": "string",                "description": "string",                "children": []              }            ]          }        ],        "materialKind": {          "description": "string",          "value": 0,          "interfaceKey": "string"        },        "materialStyle": {          "description": "string",          "value": 0,          "interfaceKey": "string"        },        "patternLength": 0,        "patternWidth": 0,        "promotionPrice": 0,        "remarks": "string",        "salePrice": 0,        "saleUnit": "Millimeters",        "shrinkTolerance": 0,        "supplierCode": "string",        "supplierId": 0,        "supplierSbnKey": 0,        "unit": "Millimeters",        "validModelIds": [          "string"        ],        "washingSymbols": "string",        "weight": 0,        "width": 0      }    }  ]}
{  "type": "string",  "title": "string",  "status": 0,  "detail": "string",  "instance": "string",  "extensions": {    "property1": null,    "property2": null  },  "errors": {    "property1": [      "string"    ],    "property2": [      "string"    ]  },  "property1": null,  "property2": null}
{  "type": "string",  "title": "string",  "status": 0,  "detail": "string",  "instance": "string",  "extensions": {    "property1": null,    "property2": null  },  "property1": null,  "property2": null}
POST/api/gateway/v2/wizardpolygon/applycategoryextra

Apply a CategoryExtra to a standalone Polygon. A CategoryExtra is a material that is added to a Polygon that is not part of the main materials.

Request Body

application/json

Options for the CategoryExtra to apply.

TypeScript Definitions

Use the request body type in TypeScript.

Contains the information that is needed to associated a material with a polygon using the materials code.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/api/gateway/v2/wizardpolygon/applycategoryextra" \  -H "Content-Type: application/json" \  -d '{}'
{  "id": "string",  "wizardId": 0,  "wizardName": "string",  "isValid": true,  "polygonDescription": "string",  "modelId": "string",  "leadTime": 0.1,  "dimensions": {    "width": {      "value": 0,      "grossValue": 0,      "correction": 0,      "minValue": 0,      "maxValue": 0,      "measurementTypeSettingId": 0    },    "height": {      "value": 0,      "grossValue": 0,      "correction": 0,      "minValue": 0,      "maxValue": 0,      "measurementTypeSettingId": 0    }  },  "prices": {    "discountAmount": 0.1,    "priceGroups": [      {        "code": "string",        "description": "string",        "displayOrder": 0,        "elements": [          {            "code": "string",            "materialId": 0,            "supplierCode": "string",            "description": "string",            "purchasePrice": {              "unitPurchasePrice": 0,              "totalPurchasePrice": 0            },            "quantity": 0.1,            "totalPrice": 0.1,            "totalPriceBeforePromotion": 0.1,            "unit": "string",            "unitPrice": 0.1,            "unitPriceBeforePromotion": 0.1,            "totalPriceExclVat": 0.1,            "unitPriceExclVat": 0.1,            "vatAmount": 0.1,            "vatPercentage": 0.1          }        ]      }    ],    "promotions": [      {        "code": "string",        "description": "string",        "priceDiscount": 0.1,        "reference": "string",        "validUntil": "2019-08-24T14:15:22Z",        "priceDiscountExclVat": 0.1,        "attributes": {          "property1": "string",          "property2": "string"        }      }    ],    "totalPrice": 0.1,    "totalPriceBeforePromotions": 0.1,    "totalPurchasePrice": 0.1  },  "steps": [    {      "name": "string",      "wizardStepId": 0,      "kind": "Property",      "description": "string",      "displayOrder": 0,      "code": "string",      "items": [        {          "wizardStepItemId": 0,          "name": "string",          "description": "string",          "image": "string",          "kind": "Property",          "categoryLink": {            "id": 0,            "categoryLinkMaterial": {              "materialCode": "string",              "supplierCode": "string",              "materialId": 0,              "materialDescription": "string",              "materialColor": "string",              "materialRemarks": "string",              "materialComposition": "string",              "materialSalePrice": 0,              "saleQuantity": 0,              "calcQuantity": 0,              "calcQuantityNet": 0,              "saleUnit": "string",              "supplierId": 0,              "supplierSbnKey": 0,              "price": {                "discountAmount": 0.1,                "priceGroups": [                  {                    "code": "string",                    "description": "string",                    "displayOrder": 0,                    "elements": [                      {                        "code": "string",                        "materialId": 0,                        "supplierCode": "string",                        "description": "string",                        "purchasePrice": {                          "unitPurchasePrice": 0,                          "totalPurchasePrice": 0                        },                        "quantity": 0.1,                        "totalPrice": 0.1,                        "totalPriceBeforePromotion": 0.1,                        "unit": "string",                        "unitPrice": 0.1,                        "unitPriceBeforePromotion": 0.1,                        "totalPriceExclVat": 0.1,                        "unitPriceExclVat": 0.1,                        "vatAmount": 0.1,                        "vatPercentage": 0.1                      }                    ]                  }                ],                "promotions": [                  {                    "code": "string",                    "description": "string",                    "priceDiscount": 0.1,                    "reference": "string",                    "validUntil": "2019-08-24T14:15:22Z",                    "priceDiscountExclVat": 0.1,                    "attributes": {                      "property1": "string",                      "property2": "string"                    }                  }                ],                "totalPrice": 0.1,                "totalPriceBeforePromotions": 0.1,                "totalPurchasePrice": 0.1              },              "properties": [                {                  "id": 0,                  "controlType": "Text",                  "customControlCode": "string",                  "dataType": 0,                  "valueDataType": "None",                  "defaultControlType": "Text",                  "description": "string",                  "displayLabel": "string",                  "displayOrder": 0,                  "displaySuffix": "string",                  "hasDynamicDescription": true,                  "interfaceKey": "string",                  "isModified": true,                  "isModifiedByApp": true,                  "isReadonly": true,                  "isRequired": true,                  "isVisible": true,                  "isAvailableBeforeCalculation": true,                  "listValues": [                    {                      "description": "string",                      "imageUrl": "string",                      "interfaceKey": "string",                      "skills": "string",                      "remarks": "string",                      "value": "string",                      "isDisabled": true,                      "priceDifference": 0,                      "price": 0,                      "categoryLinkPropertyId": 0,                      "contentBlockId": "string"                    }                  ],                  "propertyId": 0,                  "remarks": "string",                  "value": "string",                  "validation": {                    "min": null,                    "max": null,                    "precision": 0,                    "step": null,                    "isValid": true                  },                  "imageUrl": "string",                  "explanation": "string"                }              ],              "messages": [                {                  "context": "None",                  "contextReference": "string",                  "kind": "Information",                  "scope": "None",                  "text": "string",                  "origin": "Default"                }              ],              "redistributionInfo": "string"            },            "categoryMaterialOptionFilter": 0,            "categoryMaterialOptionInterfaceKeys": [              "string"            ],            "childCategoryDescription": "string",            "childCategoryId": 0,            "description": "string",            "imageUrl": "string",            "interfaceKey": "string",            "isEnabled": true,            "isMainCategory": true,            "parentCategoryId": 0,            "quantityDescription": "string",            "remarks": "string",            "requiredLevel": "None",            "options": [              "None"            ]          },          "customCode": "string",          "categoryExtraCode": "string",          "contentBlockId": "string",          "option": {            "id": "string",            "label": "string",            "value": "string",            "dataType": "None",            "controlType": "Text",            "defaultControlType": "Text",            "customControlCode": "string",            "isRequired": true,            "isVisible": true,            "displaySuffix": "string",            "isReadonly": true,            "description": "string",            "imageUrl": "string",            "values": [              {                "label": "string",                "value": "string",                "imageUrl": "string",                "isDisabled": true,                "priceDifference": 0,                "price": 0,                "contentBlockId": "string",                "description": "string"              }            ],            "validation": {              "min": null,              "max": null,              "precision": 0,              "step": null,              "isValid": true            },            "propertyDescription": "string",            "explanation": "string"          },          "appliedExtras": [            {              "id": "string",              "materialId": 0,              "materialCategoryId": 0,              "categoryExtraId": 0,              "quantity": 0.1,              "description": "string",              "priceElement": {                "code": "string",                "materialId": 0,                "supplierCode": "string",                "description": "string",                "purchasePrice": {                  "unitPurchasePrice": 0,                  "totalPurchasePrice": 0                },                "quantity": 0.1,                "totalPrice": 0.1,                "totalPriceBeforePromotion": 0.1,                "unit": "string",                "unitPrice": 0.1,                "unitPriceBeforePromotion": 0.1,                "totalPriceExclVat": 0.1,                "unitPriceExclVat": 0.1,                "vatAmount": 0.1,                "vatPercentage": 0.1              }            }          ],          "children": [            {              "wizardStepItemId": 0,              "name": "string",              "description": "string",              "image": "string",              "kind": "Property",              "categoryLink": {                "id": 0,                "categoryLinkMaterial": {                  "materialCode": "string",                  "supplierCode": "string",                  "materialId": 0,                  "materialDescription": "string",                  "materialColor": "string",                  "materialRemarks": "string",                  "materialComposition": "string",                  "materialSalePrice": 0,                  "saleQuantity": 0,                  "calcQuantity": 0,                  "calcQuantityNet": 0,                  "saleUnit": "string",                  "supplierId": 0,                  "supplierSbnKey": 0,                  "price": {                    "discountAmount": 0.1,                    "priceGroups": [                      {                        "code": "string",                        "description": "string",                        "displayOrder": 0,                        "elements": [                          {                            "code": "string",                            "materialId": 0,                            "supplierCode": "string",                            "description": "string",                            "purchasePrice": {},                            "quantity": 0.1,                            "totalPrice": 0.1,                            "totalPriceBeforePromotion": 0.1,                            "unit": "string",                            "unitPrice": 0.1,                            "unitPriceBeforePromotion": 0.1,                            "totalPriceExclVat": 0.1,                            "unitPriceExclVat": 0.1,                            "vatAmount": 0.1,                            "vatPercentage": 0.1                          }                        ]                      }                    ],                    "promotions": [                      {                        "code": "string",                        "description": "string",                        "priceDiscount": 0.1,                        "reference": "string",                        "validUntil": "2019-08-24T14:15:22Z",                        "priceDiscountExclVat": 0.1,                        "attributes": {                          "property1": "string",                          "property2": "string"                        }                      }                    ],                    "totalPrice": 0.1,                    "totalPriceBeforePromotions": 0.1,                    "totalPurchasePrice": 0.1                  },                  "properties": [                    {                      "id": 0,                      "controlType": "Text",                      "customControlCode": "string",                      "dataType": 0,                      "valueDataType": "None",                      "defaultControlType": "Text",                      "description": "string",                      "displayLabel": "string",                      "displayOrder": 0,                      "displaySuffix": "string",                      "hasDynamicDescription": true,                      "interfaceKey": "string",                      "isModified": true,                      "isModifiedByApp": true,                      "isReadonly": true,                      "isRequired": true,                      "isVisible": true,                      "isAvailableBeforeCalculation": true,                      "listValues": [                        {                          "description": "string",                          "imageUrl": "string",                          "interfaceKey": "string",                          "skills": "string",                          "remarks": "string",                          "value": "string",                          "isDisabled": true,                          "priceDifference": 0,                          "price": 0,                          "categoryLinkPropertyId": 0,                          "contentBlockId": "string"                        }                      ],                      "propertyId": 0,                      "remarks": "string",                      "value": "string",                      "validation": {                        "min": null,                        "max": null,                        "precision": 0,                        "step": null,                        "isValid": true                      },                      "imageUrl": "string",                      "explanation": "string"                    }                  ],                  "messages": [                    {                      "context": "None",                      "contextReference": "string",                      "kind": "Information",                      "scope": "None",                      "text": "string",                      "origin": "Default"                    }                  ],                  "redistributionInfo": "string"                },                "categoryMaterialOptionFilter": 0,                "categoryMaterialOptionInterfaceKeys": [                  "string"                ],                "childCategoryDescription": "string",                "childCategoryId": 0,                "description": "string",                "imageUrl": "string",                "interfaceKey": "string",                "isEnabled": true,                "isMainCategory": true,                "parentCategoryId": 0,                "quantityDescription": "string",                "remarks": "string",                "requiredLevel": "None",                "options": [                  "None"                ]              },              "customCode": "string",              "categoryExtraCode": "string",              "contentBlockId": "string",              "option": {                "id": "string",                "label": "string",                "value": "string",                "dataType": "None",                "controlType": "Text",                "defaultControlType": "Text",                "customControlCode": "string",                "isRequired": true,                "isVisible": true,                "displaySuffix": "string",                "isReadonly": true,                "description": "string",                "imageUrl": "string",                "values": [                  {                    "label": "string",                    "value": "string",                    "imageUrl": "string",                    "isDisabled": true,                    "priceDifference": 0,                    "price": 0,                    "contentBlockId": "string",                    "description": "string"                  }                ],                "validation": {                  "min": null,                  "max": null,                  "precision": 0,                  "step": null,                  "isValid": true                },                "propertyDescription": "string",                "explanation": "string"              },              "appliedExtras": [                {                  "id": "string",                  "materialId": 0,                  "materialCategoryId": 0,                  "categoryExtraId": 0,                  "quantity": 0.1,                  "description": "string",                  "priceElement": {                    "code": "string",                    "materialId": 0,                    "supplierCode": "string",                    "description": "string",                    "purchasePrice": {                      "unitPurchasePrice": 0,                      "totalPurchasePrice": 0                    },                    "quantity": 0.1,                    "totalPrice": 0.1,                    "totalPriceBeforePromotion": 0.1,                    "unit": "string",                    "unitPrice": 0.1,                    "unitPriceBeforePromotion": 0.1,                    "totalPriceExclVat": 0.1,                    "unitPriceExclVat": 0.1,                    "vatAmount": 0.1,                    "vatPercentage": 0.1                  }                }              ],              "children": [],              "messages": [                {                  "context": "None",                  "contextReference": "string",                  "kind": "Information",                  "scope": "None",                  "text": "string",                  "origin": "Default"                }              ],              "isValid": true            }          ],          "messages": [            {              "context": "None",              "contextReference": "string",              "kind": "Information",              "scope": "None",              "text": "string",              "origin": "Default"            }          ],          "isValid": true        }      ],      "messages": [        {          "context": "None",          "contextReference": "string",          "kind": "Information",          "scope": "None",          "text": "string",          "origin": "Default"        }      ],      "isValid": true,      "isEnabled": true    }  ],  "attributes": {    "property1": "string",    "property2": "string"  },  "state": "New",  "messages": [    {      "context": "None",      "contextReference": "string",      "kind": "Information",      "scope": "None",      "text": "string",      "origin": "Default"    }  ],  "materials": [    {      "categoryLinkId": 0,      "interfaceKey": "string",      "isMainMaterial": true,      "material": {        "id": 0,        "attachments": [          {            "kind": "Pdf",            "path": "string",            "pathKind": "Relative",            "content": "string"          }        ],        "categoryDescription": "string",        "categoryId": 0,        "code": "string",        "color": "string",        "colorDescription": "string",        "composition": "string",        "description": "string",        "eanCode": "string",        "extraFieldValues": [          {            "displayOrder": 0,            "extraField": 0,            "extraFieldName": "string",            "extraFieldNameResource": "string",            "image": "string",            "value": "string",            "valueResource": "string"          }        ],        "height": 0,        "imageUrl": "string",        "isWage": true,        "leadTime": 0,        "length": 0,        "materialOptionValues": [          {            "description": "string",            "value": 0,            "interfaceKey": "string"          }        ],        "materialGroups": [          {            "id": 0,            "code": "string",            "description": "string",            "children": [              {                "id": 0,                "code": "string",                "description": "string",                "children": []              }            ]          }        ],        "materialKind": {          "description": "string",          "value": 0,          "interfaceKey": "string"        },        "materialStyle": {          "description": "string",          "value": 0,          "interfaceKey": "string"        },        "patternLength": 0,        "patternWidth": 0,        "promotionPrice": 0,        "remarks": "string",        "salePrice": 0,        "saleUnit": "Millimeters",        "shrinkTolerance": 0,        "supplierCode": "string",        "supplierId": 0,        "supplierSbnKey": 0,        "unit": "Millimeters",        "validModelIds": [          "string"        ],        "washingSymbols": "string",        "weight": 0,        "width": 0      }    }  ]}
{  "type": "string",  "title": "string",  "status": 0,  "detail": "string",  "instance": "string",  "extensions": {    "property1": null,    "property2": null  },  "errors": {    "property1": [      "string"    ],    "property2": [      "string"    ]  },  "property1": null,  "property2": null}
{  "type": "string",  "title": "string",  "status": 0,  "detail": "string",  "instance": "string",  "extensions": {    "property1": null,    "property2": null  },  "property1": null,  "property2": null}
POST/api/gateway/v2/wizardpolygon/removecategoryextra

Remove a CategoryExtra from a standalone Polygon.

Request Body

application/json

Options for the CategoryExtra to remove.

TypeScript Definitions

Use the request body type in TypeScript.

Contains the information needed to remove a previously applied CategoryExtra from a polygon.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/api/gateway/v2/wizardpolygon/removecategoryextra" \  -H "Content-Type: application/json" \  -d '{}'
{  "id": "string",  "wizardId": 0,  "wizardName": "string",  "isValid": true,  "polygonDescription": "string",  "modelId": "string",  "leadTime": 0.1,  "dimensions": {    "width": {      "value": 0,      "grossValue": 0,      "correction": 0,      "minValue": 0,      "maxValue": 0,      "measurementTypeSettingId": 0    },    "height": {      "value": 0,      "grossValue": 0,      "correction": 0,      "minValue": 0,      "maxValue": 0,      "measurementTypeSettingId": 0    }  },  "prices": {    "discountAmount": 0.1,    "priceGroups": [      {        "code": "string",        "description": "string",        "displayOrder": 0,        "elements": [          {            "code": "string",            "materialId": 0,            "supplierCode": "string",            "description": "string",            "purchasePrice": {              "unitPurchasePrice": 0,              "totalPurchasePrice": 0            },            "quantity": 0.1,            "totalPrice": 0.1,            "totalPriceBeforePromotion": 0.1,            "unit": "string",            "unitPrice": 0.1,            "unitPriceBeforePromotion": 0.1,            "totalPriceExclVat": 0.1,            "unitPriceExclVat": 0.1,            "vatAmount": 0.1,            "vatPercentage": 0.1          }        ]      }    ],    "promotions": [      {        "code": "string",        "description": "string",        "priceDiscount": 0.1,        "reference": "string",        "validUntil": "2019-08-24T14:15:22Z",        "priceDiscountExclVat": 0.1,        "attributes": {          "property1": "string",          "property2": "string"        }      }    ],    "totalPrice": 0.1,    "totalPriceBeforePromotions": 0.1,    "totalPurchasePrice": 0.1  },  "steps": [    {      "name": "string",      "wizardStepId": 0,      "kind": "Property",      "description": "string",      "displayOrder": 0,      "code": "string",      "items": [        {          "wizardStepItemId": 0,          "name": "string",          "description": "string",          "image": "string",          "kind": "Property",          "categoryLink": {            "id": 0,            "categoryLinkMaterial": {              "materialCode": "string",              "supplierCode": "string",              "materialId": 0,              "materialDescription": "string",              "materialColor": "string",              "materialRemarks": "string",              "materialComposition": "string",              "materialSalePrice": 0,              "saleQuantity": 0,              "calcQuantity": 0,              "calcQuantityNet": 0,              "saleUnit": "string",              "supplierId": 0,              "supplierSbnKey": 0,              "price": {                "discountAmount": 0.1,                "priceGroups": [                  {                    "code": "string",                    "description": "string",                    "displayOrder": 0,                    "elements": [                      {                        "code": "string",                        "materialId": 0,                        "supplierCode": "string",                        "description": "string",                        "purchasePrice": {                          "unitPurchasePrice": 0,                          "totalPurchasePrice": 0                        },                        "quantity": 0.1,                        "totalPrice": 0.1,                        "totalPriceBeforePromotion": 0.1,                        "unit": "string",                        "unitPrice": 0.1,                        "unitPriceBeforePromotion": 0.1,                        "totalPriceExclVat": 0.1,                        "unitPriceExclVat": 0.1,                        "vatAmount": 0.1,                        "vatPercentage": 0.1                      }                    ]                  }                ],                "promotions": [                  {                    "code": "string",                    "description": "string",                    "priceDiscount": 0.1,                    "reference": "string",                    "validUntil": "2019-08-24T14:15:22Z",                    "priceDiscountExclVat": 0.1,                    "attributes": {                      "property1": "string",                      "property2": "string"                    }                  }                ],                "totalPrice": 0.1,                "totalPriceBeforePromotions": 0.1,                "totalPurchasePrice": 0.1              },              "properties": [                {                  "id": 0,                  "controlType": "Text",                  "customControlCode": "string",                  "dataType": 0,                  "valueDataType": "None",                  "defaultControlType": "Text",                  "description": "string",                  "displayLabel": "string",                  "displayOrder": 0,                  "displaySuffix": "string",                  "hasDynamicDescription": true,                  "interfaceKey": "string",                  "isModified": true,                  "isModifiedByApp": true,                  "isReadonly": true,                  "isRequired": true,                  "isVisible": true,                  "isAvailableBeforeCalculation": true,                  "listValues": [                    {                      "description": "string",                      "imageUrl": "string",                      "interfaceKey": "string",                      "skills": "string",                      "remarks": "string",                      "value": "string",                      "isDisabled": true,                      "priceDifference": 0,                      "price": 0,                      "categoryLinkPropertyId": 0,                      "contentBlockId": "string"                    }                  ],                  "propertyId": 0,                  "remarks": "string",                  "value": "string",                  "validation": {                    "min": null,                    "max": null,                    "precision": 0,                    "step": null,                    "isValid": true                  },                  "imageUrl": "string",                  "explanation": "string"                }              ],              "messages": [                {                  "context": "None",                  "contextReference": "string",                  "kind": "Information",                  "scope": "None",                  "text": "string",                  "origin": "Default"                }              ],              "redistributionInfo": "string"            },            "categoryMaterialOptionFilter": 0,            "categoryMaterialOptionInterfaceKeys": [              "string"            ],            "childCategoryDescription": "string",            "childCategoryId": 0,            "description": "string",            "imageUrl": "string",            "interfaceKey": "string",            "isEnabled": true,            "isMainCategory": true,            "parentCategoryId": 0,            "quantityDescription": "string",            "remarks": "string",            "requiredLevel": "None",            "options": [              "None"            ]          },          "customCode": "string",          "categoryExtraCode": "string",          "contentBlockId": "string",          "option": {            "id": "string",            "label": "string",            "value": "string",            "dataType": "None",            "controlType": "Text",            "defaultControlType": "Text",            "customControlCode": "string",            "isRequired": true,            "isVisible": true,            "displaySuffix": "string",            "isReadonly": true,            "description": "string",            "imageUrl": "string",            "values": [              {                "label": "string",                "value": "string",                "imageUrl": "string",                "isDisabled": true,                "priceDifference": 0,                "price": 0,                "contentBlockId": "string",                "description": "string"              }            ],            "validation": {              "min": null,              "max": null,              "precision": 0,              "step": null,              "isValid": true            },            "propertyDescription": "string",            "explanation": "string"          },          "appliedExtras": [            {              "id": "string",              "materialId": 0,              "materialCategoryId": 0,              "categoryExtraId": 0,              "quantity": 0.1,              "description": "string",              "priceElement": {                "code": "string",                "materialId": 0,                "supplierCode": "string",                "description": "string",                "purchasePrice": {                  "unitPurchasePrice": 0,                  "totalPurchasePrice": 0                },                "quantity": 0.1,                "totalPrice": 0.1,                "totalPriceBeforePromotion": 0.1,                "unit": "string",                "unitPrice": 0.1,                "unitPriceBeforePromotion": 0.1,                "totalPriceExclVat": 0.1,                "unitPriceExclVat": 0.1,                "vatAmount": 0.1,                "vatPercentage": 0.1              }            }          ],          "children": [            {              "wizardStepItemId": 0,              "name": "string",              "description": "string",              "image": "string",              "kind": "Property",              "categoryLink": {                "id": 0,                "categoryLinkMaterial": {                  "materialCode": "string",                  "supplierCode": "string",                  "materialId": 0,                  "materialDescription": "string",                  "materialColor": "string",                  "materialRemarks": "string",                  "materialComposition": "string",                  "materialSalePrice": 0,                  "saleQuantity": 0,                  "calcQuantity": 0,                  "calcQuantityNet": 0,                  "saleUnit": "string",                  "supplierId": 0,                  "supplierSbnKey": 0,                  "price": {                    "discountAmount": 0.1,                    "priceGroups": [                      {                        "code": "string",                        "description": "string",                        "displayOrder": 0,                        "elements": [                          {                            "code": "string",                            "materialId": 0,                            "supplierCode": "string",                            "description": "string",                            "purchasePrice": {},                            "quantity": 0.1,                            "totalPrice": 0.1,                            "totalPriceBeforePromotion": 0.1,                            "unit": "string",                            "unitPrice": 0.1,                            "unitPriceBeforePromotion": 0.1,                            "totalPriceExclVat": 0.1,                            "unitPriceExclVat": 0.1,                            "vatAmount": 0.1,                            "vatPercentage": 0.1                          }                        ]                      }                    ],                    "promotions": [                      {                        "code": "string",                        "description": "string",                        "priceDiscount": 0.1,                        "reference": "string",                        "validUntil": "2019-08-24T14:15:22Z",                        "priceDiscountExclVat": 0.1,                        "attributes": {                          "property1": "string",                          "property2": "string"                        }                      }                    ],                    "totalPrice": 0.1,                    "totalPriceBeforePromotions": 0.1,                    "totalPurchasePrice": 0.1                  },                  "properties": [                    {                      "id": 0,                      "controlType": "Text",                      "customControlCode": "string",                      "dataType": 0,                      "valueDataType": "None",                      "defaultControlType": "Text",                      "description": "string",                      "displayLabel": "string",                      "displayOrder": 0,                      "displaySuffix": "string",                      "hasDynamicDescription": true,                      "interfaceKey": "string",                      "isModified": true,                      "isModifiedByApp": true,                      "isReadonly": true,                      "isRequired": true,                      "isVisible": true,                      "isAvailableBeforeCalculation": true,                      "listValues": [                        {                          "description": "string",                          "imageUrl": "string",                          "interfaceKey": "string",                          "skills": "string",                          "remarks": "string",                          "value": "string",                          "isDisabled": true,                          "priceDifference": 0,                          "price": 0,                          "categoryLinkPropertyId": 0,                          "contentBlockId": "string"                        }                      ],                      "propertyId": 0,                      "remarks": "string",                      "value": "string",                      "validation": {                        "min": null,                        "max": null,                        "precision": 0,                        "step": null,                        "isValid": true                      },                      "imageUrl": "string",                      "explanation": "string"                    }                  ],                  "messages": [                    {                      "context": "None",                      "contextReference": "string",                      "kind": "Information",                      "scope": "None",                      "text": "string",                      "origin": "Default"                    }                  ],                  "redistributionInfo": "string"                },                "categoryMaterialOptionFilter": 0,                "categoryMaterialOptionInterfaceKeys": [                  "string"                ],                "childCategoryDescription": "string",                "childCategoryId": 0,                "description": "string",                "imageUrl": "string",                "interfaceKey": "string",                "isEnabled": true,                "isMainCategory": true,                "parentCategoryId": 0,                "quantityDescription": "string",                "remarks": "string",                "requiredLevel": "None",                "options": [                  "None"                ]              },              "customCode": "string",              "categoryExtraCode": "string",              "contentBlockId": "string",              "option": {                "id": "string",                "label": "string",                "value": "string",                "dataType": "None",                "controlType": "Text",                "defaultControlType": "Text",                "customControlCode": "string",                "isRequired": true,                "isVisible": true,                "displaySuffix": "string",                "isReadonly": true,                "description": "string",                "imageUrl": "string",                "values": [                  {                    "label": "string",                    "value": "string",                    "imageUrl": "string",                    "isDisabled": true,                    "priceDifference": 0,                    "price": 0,                    "contentBlockId": "string",                    "description": "string"                  }                ],                "validation": {                  "min": null,                  "max": null,                  "precision": 0,                  "step": null,                  "isValid": true                },                "propertyDescription": "string",                "explanation": "string"              },              "appliedExtras": [                {                  "id": "string",                  "materialId": 0,                  "materialCategoryId": 0,                  "categoryExtraId": 0,                  "quantity": 0.1,                  "description": "string",                  "priceElement": {                    "code": "string",                    "materialId": 0,                    "supplierCode": "string",                    "description": "string",                    "purchasePrice": {                      "unitPurchasePrice": 0,                      "totalPurchasePrice": 0                    },                    "quantity": 0.1,                    "totalPrice": 0.1,                    "totalPriceBeforePromotion": 0.1,                    "unit": "string",                    "unitPrice": 0.1,                    "unitPriceBeforePromotion": 0.1,                    "totalPriceExclVat": 0.1,                    "unitPriceExclVat": 0.1,                    "vatAmount": 0.1,                    "vatPercentage": 0.1                  }                }              ],              "children": [],              "messages": [                {                  "context": "None",                  "contextReference": "string",                  "kind": "Information",                  "scope": "None",                  "text": "string",                  "origin": "Default"                }              ],              "isValid": true            }          ],          "messages": [            {              "context": "None",              "contextReference": "string",              "kind": "Information",              "scope": "None",              "text": "string",              "origin": "Default"            }          ],          "isValid": true        }      ],      "messages": [        {          "context": "None",          "contextReference": "string",          "kind": "Information",          "scope": "None",          "text": "string",          "origin": "Default"        }      ],      "isValid": true,      "isEnabled": true    }  ],  "attributes": {    "property1": "string",    "property2": "string"  },  "state": "New",  "messages": [    {      "context": "None",      "contextReference": "string",      "kind": "Information",      "scope": "None",      "text": "string",      "origin": "Default"    }  ],  "materials": [    {      "categoryLinkId": 0,      "interfaceKey": "string",      "isMainMaterial": true,      "material": {        "id": 0,        "attachments": [          {            "kind": "Pdf",            "path": "string",            "pathKind": "Relative",            "content": "string"          }        ],        "categoryDescription": "string",        "categoryId": 0,        "code": "string",        "color": "string",        "colorDescription": "string",        "composition": "string",        "description": "string",        "eanCode": "string",        "extraFieldValues": [          {            "displayOrder": 0,            "extraField": 0,            "extraFieldName": "string",            "extraFieldNameResource": "string",            "image": "string",            "value": "string",            "valueResource": "string"          }        ],        "height": 0,        "imageUrl": "string",        "isWage": true,        "leadTime": 0,        "length": 0,        "materialOptionValues": [          {            "description": "string",            "value": 0,            "interfaceKey": "string"          }        ],        "materialGroups": [          {            "id": 0,            "code": "string",            "description": "string",            "children": [              {                "id": 0,                "code": "string",                "description": "string",                "children": []              }            ]          }        ],        "materialKind": {          "description": "string",          "value": 0,          "interfaceKey": "string"        },        "materialStyle": {          "description": "string",          "value": 0,          "interfaceKey": "string"        },        "patternLength": 0,        "patternWidth": 0,        "promotionPrice": 0,        "remarks": "string",        "salePrice": 0,        "saleUnit": "Millimeters",        "shrinkTolerance": 0,        "supplierCode": "string",        "supplierId": 0,        "supplierSbnKey": 0,        "unit": "Millimeters",        "validModelIds": [          "string"        ],        "washingSymbols": "string",        "weight": 0,        "width": 0      }    }  ]}
{  "type": "string",  "title": "string",  "status": 0,  "detail": "string",  "instance": "string",  "extensions": {    "property1": null,    "property2": null  },  "errors": {    "property1": [      "string"    ],    "property2": [      "string"    ]  },  "property1": null,  "property2": null}
{  "type": "string",  "title": "string",  "status": 0,  "detail": "string",  "instance": "string",  "extensions": {    "property1": null,    "property2": null  },  "property1": null,  "property2": null}
POST/api/gateway/v2/wizardpolygon/updatecategoryextra

Update a previously applied CategoryExtra on a standalone Polygon. Only the fields that are provided in the request are updated; null means "leave unchanged". An empty string for description is a valid value and will clear the existing description.

Request Body

application/json

Options for the CategoryExtra to update.

TypeScript Definitions

Use the request body type in TypeScript.

Contains the information needed to update a previously applied CategoryExtra on a polygon. Only the fields that are provided in the request will be updated; null means "leave unchanged". An empty string for Description is a valid value and will clear the description.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/api/gateway/v2/wizardpolygon/updatecategoryextra" \  -H "Content-Type: application/json" \  -d '{}'
{  "id": "string",  "wizardId": 0,  "wizardName": "string",  "isValid": true,  "polygonDescription": "string",  "modelId": "string",  "leadTime": 0.1,  "dimensions": {    "width": {      "value": 0,      "grossValue": 0,      "correction": 0,      "minValue": 0,      "maxValue": 0,      "measurementTypeSettingId": 0    },    "height": {      "value": 0,      "grossValue": 0,      "correction": 0,      "minValue": 0,      "maxValue": 0,      "measurementTypeSettingId": 0    }  },  "prices": {    "discountAmount": 0.1,    "priceGroups": [      {        "code": "string",        "description": "string",        "displayOrder": 0,        "elements": [          {            "code": "string",            "materialId": 0,            "supplierCode": "string",            "description": "string",            "purchasePrice": {              "unitPurchasePrice": 0,              "totalPurchasePrice": 0            },            "quantity": 0.1,            "totalPrice": 0.1,            "totalPriceBeforePromotion": 0.1,            "unit": "string",            "unitPrice": 0.1,            "unitPriceBeforePromotion": 0.1,            "totalPriceExclVat": 0.1,            "unitPriceExclVat": 0.1,            "vatAmount": 0.1,            "vatPercentage": 0.1          }        ]      }    ],    "promotions": [      {        "code": "string",        "description": "string",        "priceDiscount": 0.1,        "reference": "string",        "validUntil": "2019-08-24T14:15:22Z",        "priceDiscountExclVat": 0.1,        "attributes": {          "property1": "string",          "property2": "string"        }      }    ],    "totalPrice": 0.1,    "totalPriceBeforePromotions": 0.1,    "totalPurchasePrice": 0.1  },  "steps": [    {      "name": "string",      "wizardStepId": 0,      "kind": "Property",      "description": "string",      "displayOrder": 0,      "code": "string",      "items": [        {          "wizardStepItemId": 0,          "name": "string",          "description": "string",          "image": "string",          "kind": "Property",          "categoryLink": {            "id": 0,            "categoryLinkMaterial": {              "materialCode": "string",              "supplierCode": "string",              "materialId": 0,              "materialDescription": "string",              "materialColor": "string",              "materialRemarks": "string",              "materialComposition": "string",              "materialSalePrice": 0,              "saleQuantity": 0,              "calcQuantity": 0,              "calcQuantityNet": 0,              "saleUnit": "string",              "supplierId": 0,              "supplierSbnKey": 0,              "price": {                "discountAmount": 0.1,                "priceGroups": [                  {                    "code": "string",                    "description": "string",                    "displayOrder": 0,                    "elements": [                      {                        "code": "string",                        "materialId": 0,                        "supplierCode": "string",                        "description": "string",                        "purchasePrice": {                          "unitPurchasePrice": 0,                          "totalPurchasePrice": 0                        },                        "quantity": 0.1,                        "totalPrice": 0.1,                        "totalPriceBeforePromotion": 0.1,                        "unit": "string",                        "unitPrice": 0.1,                        "unitPriceBeforePromotion": 0.1,                        "totalPriceExclVat": 0.1,                        "unitPriceExclVat": 0.1,                        "vatAmount": 0.1,                        "vatPercentage": 0.1                      }                    ]                  }                ],                "promotions": [                  {                    "code": "string",                    "description": "string",                    "priceDiscount": 0.1,                    "reference": "string",                    "validUntil": "2019-08-24T14:15:22Z",                    "priceDiscountExclVat": 0.1,                    "attributes": {                      "property1": "string",                      "property2": "string"                    }                  }                ],                "totalPrice": 0.1,                "totalPriceBeforePromotions": 0.1,                "totalPurchasePrice": 0.1              },              "properties": [                {                  "id": 0,                  "controlType": "Text",                  "customControlCode": "string",                  "dataType": 0,                  "valueDataType": "None",                  "defaultControlType": "Text",                  "description": "string",                  "displayLabel": "string",                  "displayOrder": 0,                  "displaySuffix": "string",                  "hasDynamicDescription": true,                  "interfaceKey": "string",                  "isModified": true,                  "isModifiedByApp": true,                  "isReadonly": true,                  "isRequired": true,                  "isVisible": true,                  "isAvailableBeforeCalculation": true,                  "listValues": [                    {                      "description": "string",                      "imageUrl": "string",                      "interfaceKey": "string",                      "skills": "string",                      "remarks": "string",                      "value": "string",                      "isDisabled": true,                      "priceDifference": 0,                      "price": 0,                      "categoryLinkPropertyId": 0,                      "contentBlockId": "string"                    }                  ],                  "propertyId": 0,                  "remarks": "string",                  "value": "string",                  "validation": {                    "min": null,                    "max": null,                    "precision": 0,                    "step": null,                    "isValid": true                  },                  "imageUrl": "string",                  "explanation": "string"                }              ],              "messages": [                {                  "context": "None",                  "contextReference": "string",                  "kind": "Information",                  "scope": "None",                  "text": "string",                  "origin": "Default"                }              ],              "redistributionInfo": "string"            },            "categoryMaterialOptionFilter": 0,            "categoryMaterialOptionInterfaceKeys": [              "string"            ],            "childCategoryDescription": "string",            "childCategoryId": 0,            "description": "string",            "imageUrl": "string",            "interfaceKey": "string",            "isEnabled": true,            "isMainCategory": true,            "parentCategoryId": 0,            "quantityDescription": "string",            "remarks": "string",            "requiredLevel": "None",            "options": [              "None"            ]          },          "customCode": "string",          "categoryExtraCode": "string",          "contentBlockId": "string",          "option": {            "id": "string",            "label": "string",            "value": "string",            "dataType": "None",            "controlType": "Text",            "defaultControlType": "Text",            "customControlCode": "string",            "isRequired": true,            "isVisible": true,            "displaySuffix": "string",            "isReadonly": true,            "description": "string",            "imageUrl": "string",            "values": [              {                "label": "string",                "value": "string",                "imageUrl": "string",                "isDisabled": true,                "priceDifference": 0,                "price": 0,                "contentBlockId": "string",                "description": "string"              }            ],            "validation": {              "min": null,              "max": null,              "precision": 0,              "step": null,              "isValid": true            },            "propertyDescription": "string",            "explanation": "string"          },          "appliedExtras": [            {              "id": "string",              "materialId": 0,              "materialCategoryId": 0,              "categoryExtraId": 0,              "quantity": 0.1,              "description": "string",              "priceElement": {                "code": "string",                "materialId": 0,                "supplierCode": "string",                "description": "string",                "purchasePrice": {                  "unitPurchasePrice": 0,                  "totalPurchasePrice": 0                },                "quantity": 0.1,                "totalPrice": 0.1,                "totalPriceBeforePromotion": 0.1,                "unit": "string",                "unitPrice": 0.1,                "unitPriceBeforePromotion": 0.1,                "totalPriceExclVat": 0.1,                "unitPriceExclVat": 0.1,                "vatAmount": 0.1,                "vatPercentage": 0.1              }            }          ],          "children": [            {              "wizardStepItemId": 0,              "name": "string",              "description": "string",              "image": "string",              "kind": "Property",              "categoryLink": {                "id": 0,                "categoryLinkMaterial": {                  "materialCode": "string",                  "supplierCode": "string",                  "materialId": 0,                  "materialDescription": "string",                  "materialColor": "string",                  "materialRemarks": "string",                  "materialComposition": "string",                  "materialSalePrice": 0,                  "saleQuantity": 0,                  "calcQuantity": 0,                  "calcQuantityNet": 0,                  "saleUnit": "string",                  "supplierId": 0,                  "supplierSbnKey": 0,                  "price": {                    "discountAmount": 0.1,                    "priceGroups": [                      {                        "code": "string",                        "description": "string",                        "displayOrder": 0,                        "elements": [                          {                            "code": "string",                            "materialId": 0,                            "supplierCode": "string",                            "description": "string",                            "purchasePrice": {},                            "quantity": 0.1,                            "totalPrice": 0.1,                            "totalPriceBeforePromotion": 0.1,                            "unit": "string",                            "unitPrice": 0.1,                            "unitPriceBeforePromotion": 0.1,                            "totalPriceExclVat": 0.1,                            "unitPriceExclVat": 0.1,                            "vatAmount": 0.1,                            "vatPercentage": 0.1                          }                        ]                      }                    ],                    "promotions": [                      {                        "code": "string",                        "description": "string",                        "priceDiscount": 0.1,                        "reference": "string",                        "validUntil": "2019-08-24T14:15:22Z",                        "priceDiscountExclVat": 0.1,                        "attributes": {                          "property1": "string",                          "property2": "string"                        }                      }                    ],                    "totalPrice": 0.1,                    "totalPriceBeforePromotions": 0.1,                    "totalPurchasePrice": 0.1                  },                  "properties": [                    {                      "id": 0,                      "controlType": "Text",                      "customControlCode": "string",                      "dataType": 0,                      "valueDataType": "None",                      "defaultControlType": "Text",                      "description": "string",                      "displayLabel": "string",                      "displayOrder": 0,                      "displaySuffix": "string",                      "hasDynamicDescription": true,                      "interfaceKey": "string",                      "isModified": true,                      "isModifiedByApp": true,                      "isReadonly": true,                      "isRequired": true,                      "isVisible": true,                      "isAvailableBeforeCalculation": true,                      "listValues": [                        {                          "description": "string",                          "imageUrl": "string",                          "interfaceKey": "string",                          "skills": "string",                          "remarks": "string",                          "value": "string",                          "isDisabled": true,                          "priceDifference": 0,                          "price": 0,                          "categoryLinkPropertyId": 0,                          "contentBlockId": "string"                        }                      ],                      "propertyId": 0,                      "remarks": "string",                      "value": "string",                      "validation": {                        "min": null,                        "max": null,                        "precision": 0,                        "step": null,                        "isValid": true                      },                      "imageUrl": "string",                      "explanation": "string"                    }                  ],                  "messages": [                    {                      "context": "None",                      "contextReference": "string",                      "kind": "Information",                      "scope": "None",                      "text": "string",                      "origin": "Default"                    }                  ],                  "redistributionInfo": "string"                },                "categoryMaterialOptionFilter": 0,                "categoryMaterialOptionInterfaceKeys": [                  "string"                ],                "childCategoryDescription": "string",                "childCategoryId": 0,                "description": "string",                "imageUrl": "string",                "interfaceKey": "string",                "isEnabled": true,                "isMainCategory": true,                "parentCategoryId": 0,                "quantityDescription": "string",                "remarks": "string",                "requiredLevel": "None",                "options": [                  "None"                ]              },              "customCode": "string",              "categoryExtraCode": "string",              "contentBlockId": "string",              "option": {                "id": "string",                "label": "string",                "value": "string",                "dataType": "None",                "controlType": "Text",                "defaultControlType": "Text",                "customControlCode": "string",                "isRequired": true,                "isVisible": true,                "displaySuffix": "string",                "isReadonly": true,                "description": "string",                "imageUrl": "string",                "values": [                  {                    "label": "string",                    "value": "string",                    "imageUrl": "string",                    "isDisabled": true,                    "priceDifference": 0,                    "price": 0,                    "contentBlockId": "string",                    "description": "string"                  }                ],                "validation": {                  "min": null,                  "max": null,                  "precision": 0,                  "step": null,                  "isValid": true                },                "propertyDescription": "string",                "explanation": "string"              },              "appliedExtras": [                {                  "id": "string",                  "materialId": 0,                  "materialCategoryId": 0,                  "categoryExtraId": 0,                  "quantity": 0.1,                  "description": "string",                  "priceElement": {                    "code": "string",                    "materialId": 0,                    "supplierCode": "string",                    "description": "string",                    "purchasePrice": {                      "unitPurchasePrice": 0,                      "totalPurchasePrice": 0                    },                    "quantity": 0.1,                    "totalPrice": 0.1,                    "totalPriceBeforePromotion": 0.1,                    "unit": "string",                    "unitPrice": 0.1,                    "unitPriceBeforePromotion": 0.1,                    "totalPriceExclVat": 0.1,                    "unitPriceExclVat": 0.1,                    "vatAmount": 0.1,                    "vatPercentage": 0.1                  }                }              ],              "children": [],              "messages": [                {                  "context": "None",                  "contextReference": "string",                  "kind": "Information",                  "scope": "None",                  "text": "string",                  "origin": "Default"                }              ],              "isValid": true            }          ],          "messages": [            {              "context": "None",              "contextReference": "string",              "kind": "Information",              "scope": "None",              "text": "string",              "origin": "Default"            }          ],          "isValid": true        }      ],      "messages": [        {          "context": "None",          "contextReference": "string",          "kind": "Information",          "scope": "None",          "text": "string",          "origin": "Default"        }      ],      "isValid": true,      "isEnabled": true    }  ],  "attributes": {    "property1": "string",    "property2": "string"  },  "state": "New",  "messages": [    {      "context": "None",      "contextReference": "string",      "kind": "Information",      "scope": "None",      "text": "string",      "origin": "Default"    }  ],  "materials": [    {      "categoryLinkId": 0,      "interfaceKey": "string",      "isMainMaterial": true,      "material": {        "id": 0,        "attachments": [          {            "kind": "Pdf",            "path": "string",            "pathKind": "Relative",            "content": "string"          }        ],        "categoryDescription": "string",        "categoryId": 0,        "code": "string",        "color": "string",        "colorDescription": "string",        "composition": "string",        "description": "string",        "eanCode": "string",        "extraFieldValues": [          {            "displayOrder": 0,            "extraField": 0,            "extraFieldName": "string",            "extraFieldNameResource": "string",            "image": "string",            "value": "string",            "valueResource": "string"          }        ],        "height": 0,        "imageUrl": "string",        "isWage": true,        "leadTime": 0,        "length": 0,        "materialOptionValues": [          {            "description": "string",            "value": 0,            "interfaceKey": "string"          }        ],        "materialGroups": [          {            "id": 0,            "code": "string",            "description": "string",            "children": [              {                "id": 0,                "code": "string",                "description": "string",                "children": []              }            ]          }        ],        "materialKind": {          "description": "string",          "value": 0,          "interfaceKey": "string"        },        "materialStyle": {          "description": "string",          "value": 0,          "interfaceKey": "string"        },        "patternLength": 0,        "patternWidth": 0,        "promotionPrice": 0,        "remarks": "string",        "salePrice": 0,        "saleUnit": "Millimeters",        "shrinkTolerance": 0,        "supplierCode": "string",        "supplierId": 0,        "supplierSbnKey": 0,        "unit": "Millimeters",        "validModelIds": [          "string"        ],        "washingSymbols": "string",        "weight": 0,        "width": 0      }    }  ]}
{  "type": "string",  "title": "string",  "status": 0,  "detail": "string",  "instance": "string",  "extensions": {    "property1": null,    "property2": null  },  "errors": {    "property1": [      "string"    ],    "property2": [      "string"    ]  },  "property1": null,  "property2": null}
{  "type": "string",  "title": "string",  "status": 0,  "detail": "string",  "instance": "string",  "extensions": {    "property1": null,    "property2": null  },  "property1": null,  "property2": null}

On this page