/api/gateway/v2/standalonepolygon/createCreate a standalone Polygon. A standalone 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 standalone.
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/standalonepolygon/create" \ -H "Content-Type: application/json" \ -d '{}'{ "id": "string", "entityId": 0, "lineNumber": 0, "lineNumberSuffix": "string", "attributes": { "property1": "string", "property2": "string" }, "categoryDescription": "string", "categoryFavoriteDescription": "string", "categoryFavoriteId": 0, "categoryLinks": [ { "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" ] } ], "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 } } ], "categoryPresetId": 0, "categoryPresetExternalReference": "string", "chainedChildren": [ { "id": "string", "entityId": 0, "lineNumber": 0, "lineNumberSuffix": "string", "attributes": { "property1": "string", "property2": "string" }, "categoryDescription": "string", "categoryFavoriteDescription": "string", "categoryFavoriteId": 0, "categoryLinks": [ { "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" ] } ], "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 } } ], "categoryPresetId": 0, "categoryPresetExternalReference": "string", "chainedChildren": [], "currentStatus": { "remarks": "string", "statusDateTime": "2019-08-24T14:15:22Z", "statusDescription": "string", "statusValue": 0 }, "description": "string", "dimensionsInfo": { "maxHeight": 0, "maxWidth": 0, "minHeight": 0, "minWidth": 0 }, "documentations": [ { "description": "string", "documentationKind": "General", "documentationUrl": "string", "mediaType": "None" } ], "grossHeight": 0, "grossWidth": 0, "height": 0, "heightCorrection": 0, "isDescriptionEnabled": true, "isDeleted": true, "isHeightEnabled": true, "isReadonly": true, "isWidthEnabled": true, "leadTime": 0.1, "modelCode": "string", "modelDescription": "string", "modelId": "string", "modelImageUrl": "string", "modelInterfaceKey": "string", "polygonNumber": "string", "polygonNumberGrouped": "string", "polygonTypeId": 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 }, "productCategoryId": 0, "productCategoryInterfaceKey": "string", "productCode": "string", "state": "New", "visuals": [ { "name": "string", "url": "string", "remarks": "string" } ], "width": 0, "widthCorrection": 0, "widthMeasurementTypeSettingId": 0, "heightMeasurementTypeSettingId": 0 } ], "currentStatus": { "remarks": "string", "statusDateTime": "2019-08-24T14:15:22Z", "statusDescription": "string", "statusValue": 0 }, "description": "string", "dimensionsInfo": { "maxHeight": 0, "maxWidth": 0, "minHeight": 0, "minWidth": 0 }, "documentations": [ { "description": "string", "documentationKind": "General", "documentationUrl": "string", "mediaType": "None" } ], "grossHeight": 0, "grossWidth": 0, "height": 0, "heightCorrection": 0, "isDescriptionEnabled": true, "isDeleted": true, "isHeightEnabled": true, "isReadonly": true, "isWidthEnabled": true, "leadTime": 0.1, "modelCode": "string", "modelDescription": "string", "modelId": "string", "modelImageUrl": "string", "modelInterfaceKey": "string", "polygonNumber": "string", "polygonNumberGrouped": "string", "polygonTypeId": 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 }, "productCategoryId": 0, "productCategoryInterfaceKey": "string", "productCode": "string", "state": "New", "visuals": [ { "name": "string", "url": "string", "remarks": "string" } ], "width": 0, "widthCorrection": 0, "widthMeasurementTypeSettingId": 0, "heightMeasurementTypeSettingId": 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}/api/gateway/v2/standalonepolygon/canceleditCancel 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/standalonepolygon/canceledit" \ -H "Content-Type: application/json" \ -d '{ "polygonId": "string" }'{ "id": "string", "entityId": 0, "lineNumber": 0, "lineNumberSuffix": "string", "attributes": { "property1": "string", "property2": "string" }, "categoryDescription": "string", "categoryFavoriteDescription": "string", "categoryFavoriteId": 0, "categoryLinks": [ { "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" ] } ], "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 } } ], "categoryPresetId": 0, "categoryPresetExternalReference": "string", "chainedChildren": [ { "id": "string", "entityId": 0, "lineNumber": 0, "lineNumberSuffix": "string", "attributes": { "property1": "string", "property2": "string" }, "categoryDescription": "string", "categoryFavoriteDescription": "string", "categoryFavoriteId": 0, "categoryLinks": [ { "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" ] } ], "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 } } ], "categoryPresetId": 0, "categoryPresetExternalReference": "string", "chainedChildren": [], "currentStatus": { "remarks": "string", "statusDateTime": "2019-08-24T14:15:22Z", "statusDescription": "string", "statusValue": 0 }, "description": "string", "dimensionsInfo": { "maxHeight": 0, "maxWidth": 0, "minHeight": 0, "minWidth": 0 }, "documentations": [ { "description": "string", "documentationKind": "General", "documentationUrl": "string", "mediaType": "None" } ], "grossHeight": 0, "grossWidth": 0, "height": 0, "heightCorrection": 0, "isDescriptionEnabled": true, "isDeleted": true, "isHeightEnabled": true, "isReadonly": true, "isWidthEnabled": true, "leadTime": 0.1, "modelCode": "string", "modelDescription": "string", "modelId": "string", "modelImageUrl": "string", "modelInterfaceKey": "string", "polygonNumber": "string", "polygonNumberGrouped": "string", "polygonTypeId": 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 }, "productCategoryId": 0, "productCategoryInterfaceKey": "string", "productCode": "string", "state": "New", "visuals": [ { "name": "string", "url": "string", "remarks": "string" } ], "width": 0, "widthCorrection": 0, "widthMeasurementTypeSettingId": 0, "heightMeasurementTypeSettingId": 0 } ], "currentStatus": { "remarks": "string", "statusDateTime": "2019-08-24T14:15:22Z", "statusDescription": "string", "statusValue": 0 }, "description": "string", "dimensionsInfo": { "maxHeight": 0, "maxWidth": 0, "minHeight": 0, "minWidth": 0 }, "documentations": [ { "description": "string", "documentationKind": "General", "documentationUrl": "string", "mediaType": "None" } ], "grossHeight": 0, "grossWidth": 0, "height": 0, "heightCorrection": 0, "isDescriptionEnabled": true, "isDeleted": true, "isHeightEnabled": true, "isReadonly": true, "isWidthEnabled": true, "leadTime": 0.1, "modelCode": "string", "modelDescription": "string", "modelId": "string", "modelImageUrl": "string", "modelInterfaceKey": "string", "polygonNumber": "string", "polygonNumberGrouped": "string", "polygonTypeId": 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 }, "productCategoryId": 0, "productCategoryInterfaceKey": "string", "productCode": "string", "state": "New", "visuals": [ { "name": "string", "url": "string", "remarks": "string" } ], "width": 0, "widthCorrection": 0, "widthMeasurementTypeSettingId": 0, "heightMeasurementTypeSettingId": 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}/api/gateway/v2/standalonepolygon/completeSet 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/standalonepolygon/complete" \ -H "Content-Type: application/json" \ -d '{ "polygonId": "string" }'{ "id": "string", "entityId": 0, "lineNumber": 0, "lineNumberSuffix": "string", "attributes": { "property1": "string", "property2": "string" }, "categoryDescription": "string", "categoryFavoriteDescription": "string", "categoryFavoriteId": 0, "categoryLinks": [ { "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" ] } ], "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 } } ], "categoryPresetId": 0, "categoryPresetExternalReference": "string", "chainedChildren": [ { "id": "string", "entityId": 0, "lineNumber": 0, "lineNumberSuffix": "string", "attributes": { "property1": "string", "property2": "string" }, "categoryDescription": "string", "categoryFavoriteDescription": "string", "categoryFavoriteId": 0, "categoryLinks": [ { "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" ] } ], "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 } } ], "categoryPresetId": 0, "categoryPresetExternalReference": "string", "chainedChildren": [], "currentStatus": { "remarks": "string", "statusDateTime": "2019-08-24T14:15:22Z", "statusDescription": "string", "statusValue": 0 }, "description": "string", "dimensionsInfo": { "maxHeight": 0, "maxWidth": 0, "minHeight": 0, "minWidth": 0 }, "documentations": [ { "description": "string", "documentationKind": "General", "documentationUrl": "string", "mediaType": "None" } ], "grossHeight": 0, "grossWidth": 0, "height": 0, "heightCorrection": 0, "isDescriptionEnabled": true, "isDeleted": true, "isHeightEnabled": true, "isReadonly": true, "isWidthEnabled": true, "leadTime": 0.1, "modelCode": "string", "modelDescription": "string", "modelId": "string", "modelImageUrl": "string", "modelInterfaceKey": "string", "polygonNumber": "string", "polygonNumberGrouped": "string", "polygonTypeId": 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 }, "productCategoryId": 0, "productCategoryInterfaceKey": "string", "productCode": "string", "state": "New", "visuals": [ { "name": "string", "url": "string", "remarks": "string" } ], "width": 0, "widthCorrection": 0, "widthMeasurementTypeSettingId": 0, "heightMeasurementTypeSettingId": 0 } ], "currentStatus": { "remarks": "string", "statusDateTime": "2019-08-24T14:15:22Z", "statusDescription": "string", "statusValue": 0 }, "description": "string", "dimensionsInfo": { "maxHeight": 0, "maxWidth": 0, "minHeight": 0, "minWidth": 0 }, "documentations": [ { "description": "string", "documentationKind": "General", "documentationUrl": "string", "mediaType": "None" } ], "grossHeight": 0, "grossWidth": 0, "height": 0, "heightCorrection": 0, "isDescriptionEnabled": true, "isDeleted": true, "isHeightEnabled": true, "isReadonly": true, "isWidthEnabled": true, "leadTime": 0.1, "modelCode": "string", "modelDescription": "string", "modelId": "string", "modelImageUrl": "string", "modelInterfaceKey": "string", "polygonNumber": "string", "polygonNumberGrouped": "string", "polygonTypeId": 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 }, "productCategoryId": 0, "productCategoryInterfaceKey": "string", "productCode": "string", "state": "New", "visuals": [ { "name": "string", "url": "string", "remarks": "string" } ], "width": 0, "widthCorrection": 0, "widthMeasurementTypeSettingId": 0, "heightMeasurementTypeSettingId": 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}/api/gateway/v2/standalonepolygon/copyCopy a standalone 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/standalonepolygon/copy" \ -H "Content-Type: application/json" \ -d '{ "polygonId": "string" }'{ "id": "string", "entityId": 0, "lineNumber": 0, "lineNumberSuffix": "string", "attributes": { "property1": "string", "property2": "string" }, "categoryDescription": "string", "categoryFavoriteDescription": "string", "categoryFavoriteId": 0, "categoryLinks": [ { "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" ] } ], "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 } } ], "categoryPresetId": 0, "categoryPresetExternalReference": "string", "chainedChildren": [ { "id": "string", "entityId": 0, "lineNumber": 0, "lineNumberSuffix": "string", "attributes": { "property1": "string", "property2": "string" }, "categoryDescription": "string", "categoryFavoriteDescription": "string", "categoryFavoriteId": 0, "categoryLinks": [ { "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" ] } ], "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 } } ], "categoryPresetId": 0, "categoryPresetExternalReference": "string", "chainedChildren": [], "currentStatus": { "remarks": "string", "statusDateTime": "2019-08-24T14:15:22Z", "statusDescription": "string", "statusValue": 0 }, "description": "string", "dimensionsInfo": { "maxHeight": 0, "maxWidth": 0, "minHeight": 0, "minWidth": 0 }, "documentations": [ { "description": "string", "documentationKind": "General", "documentationUrl": "string", "mediaType": "None" } ], "grossHeight": 0, "grossWidth": 0, "height": 0, "heightCorrection": 0, "isDescriptionEnabled": true, "isDeleted": true, "isHeightEnabled": true, "isReadonly": true, "isWidthEnabled": true, "leadTime": 0.1, "modelCode": "string", "modelDescription": "string", "modelId": "string", "modelImageUrl": "string", "modelInterfaceKey": "string", "polygonNumber": "string", "polygonNumberGrouped": "string", "polygonTypeId": 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 }, "productCategoryId": 0, "productCategoryInterfaceKey": "string", "productCode": "string", "state": "New", "visuals": [ { "name": "string", "url": "string", "remarks": "string" } ], "width": 0, "widthCorrection": 0, "widthMeasurementTypeSettingId": 0, "heightMeasurementTypeSettingId": 0 } ], "currentStatus": { "remarks": "string", "statusDateTime": "2019-08-24T14:15:22Z", "statusDescription": "string", "statusValue": 0 }, "description": "string", "dimensionsInfo": { "maxHeight": 0, "maxWidth": 0, "minHeight": 0, "minWidth": 0 }, "documentations": [ { "description": "string", "documentationKind": "General", "documentationUrl": "string", "mediaType": "None" } ], "grossHeight": 0, "grossWidth": 0, "height": 0, "heightCorrection": 0, "isDescriptionEnabled": true, "isDeleted": true, "isHeightEnabled": true, "isReadonly": true, "isWidthEnabled": true, "leadTime": 0.1, "modelCode": "string", "modelDescription": "string", "modelId": "string", "modelImageUrl": "string", "modelInterfaceKey": "string", "polygonNumber": "string", "polygonNumberGrouped": "string", "polygonTypeId": 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 }, "productCategoryId": 0, "productCategoryInterfaceKey": "string", "productCode": "string", "state": "New", "visuals": [ { "name": "string", "url": "string", "remarks": "string" } ], "width": 0, "widthCorrection": 0, "widthMeasurementTypeSettingId": 0, "heightMeasurementTypeSettingId": 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}/api/gateway/v2/standalonepolygon/editSet 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/standalonepolygon/edit" \ -H "Content-Type: application/json" \ -d '{ "polygonId": "string" }'{ "id": "string", "entityId": 0, "lineNumber": 0, "lineNumberSuffix": "string", "attributes": { "property1": "string", "property2": "string" }, "categoryDescription": "string", "categoryFavoriteDescription": "string", "categoryFavoriteId": 0, "categoryLinks": [ { "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" ] } ], "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 } } ], "categoryPresetId": 0, "categoryPresetExternalReference": "string", "chainedChildren": [ { "id": "string", "entityId": 0, "lineNumber": 0, "lineNumberSuffix": "string", "attributes": { "property1": "string", "property2": "string" }, "categoryDescription": "string", "categoryFavoriteDescription": "string", "categoryFavoriteId": 0, "categoryLinks": [ { "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" ] } ], "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 } } ], "categoryPresetId": 0, "categoryPresetExternalReference": "string", "chainedChildren": [], "currentStatus": { "remarks": "string", "statusDateTime": "2019-08-24T14:15:22Z", "statusDescription": "string", "statusValue": 0 }, "description": "string", "dimensionsInfo": { "maxHeight": 0, "maxWidth": 0, "minHeight": 0, "minWidth": 0 }, "documentations": [ { "description": "string", "documentationKind": "General", "documentationUrl": "string", "mediaType": "None" } ], "grossHeight": 0, "grossWidth": 0, "height": 0, "heightCorrection": 0, "isDescriptionEnabled": true, "isDeleted": true, "isHeightEnabled": true, "isReadonly": true, "isWidthEnabled": true, "leadTime": 0.1, "modelCode": "string", "modelDescription": "string", "modelId": "string", "modelImageUrl": "string", "modelInterfaceKey": "string", "polygonNumber": "string", "polygonNumberGrouped": "string", "polygonTypeId": 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 }, "productCategoryId": 0, "productCategoryInterfaceKey": "string", "productCode": "string", "state": "New", "visuals": [ { "name": "string", "url": "string", "remarks": "string" } ], "width": 0, "widthCorrection": 0, "widthMeasurementTypeSettingId": 0, "heightMeasurementTypeSettingId": 0 } ], "currentStatus": { "remarks": "string", "statusDateTime": "2019-08-24T14:15:22Z", "statusDescription": "string", "statusValue": 0 }, "description": "string", "dimensionsInfo": { "maxHeight": 0, "maxWidth": 0, "minHeight": 0, "minWidth": 0 }, "documentations": [ { "description": "string", "documentationKind": "General", "documentationUrl": "string", "mediaType": "None" } ], "grossHeight": 0, "grossWidth": 0, "height": 0, "heightCorrection": 0, "isDescriptionEnabled": true, "isDeleted": true, "isHeightEnabled": true, "isReadonly": true, "isWidthEnabled": true, "leadTime": 0.1, "modelCode": "string", "modelDescription": "string", "modelId": "string", "modelImageUrl": "string", "modelInterfaceKey": "string", "polygonNumber": "string", "polygonNumberGrouped": "string", "polygonTypeId": 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 }, "productCategoryId": 0, "productCategoryInterfaceKey": "string", "productCode": "string", "state": "New", "visuals": [ { "name": "string", "url": "string", "remarks": "string" } ], "width": 0, "widthCorrection": 0, "widthMeasurementTypeSettingId": 0, "heightMeasurementTypeSettingId": 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}/api/gateway/v2/standalonepolygon/getGet an existing standalone Polygon.
Query Parameters
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/standalonepolygon/get?id=string"{ "id": "string", "entityId": 0, "lineNumber": 0, "lineNumberSuffix": "string", "attributes": { "property1": "string", "property2": "string" }, "categoryDescription": "string", "categoryFavoriteDescription": "string", "categoryFavoriteId": 0, "categoryLinks": [ { "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" ] } ], "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 } } ], "categoryPresetId": 0, "categoryPresetExternalReference": "string", "chainedChildren": [ { "id": "string", "entityId": 0, "lineNumber": 0, "lineNumberSuffix": "string", "attributes": { "property1": "string", "property2": "string" }, "categoryDescription": "string", "categoryFavoriteDescription": "string", "categoryFavoriteId": 0, "categoryLinks": [ { "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" ] } ], "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 } } ], "categoryPresetId": 0, "categoryPresetExternalReference": "string", "chainedChildren": [], "currentStatus": { "remarks": "string", "statusDateTime": "2019-08-24T14:15:22Z", "statusDescription": "string", "statusValue": 0 }, "description": "string", "dimensionsInfo": { "maxHeight": 0, "maxWidth": 0, "minHeight": 0, "minWidth": 0 }, "documentations": [ { "description": "string", "documentationKind": "General", "documentationUrl": "string", "mediaType": "None" } ], "grossHeight": 0, "grossWidth": 0, "height": 0, "heightCorrection": 0, "isDescriptionEnabled": true, "isDeleted": true, "isHeightEnabled": true, "isReadonly": true, "isWidthEnabled": true, "leadTime": 0.1, "modelCode": "string", "modelDescription": "string", "modelId": "string", "modelImageUrl": "string", "modelInterfaceKey": "string", "polygonNumber": "string", "polygonNumberGrouped": "string", "polygonTypeId": 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 }, "productCategoryId": 0, "productCategoryInterfaceKey": "string", "productCode": "string", "state": "New", "visuals": [ { "name": "string", "url": "string", "remarks": "string" } ], "width": 0, "widthCorrection": 0, "widthMeasurementTypeSettingId": 0, "heightMeasurementTypeSettingId": 0 } ], "currentStatus": { "remarks": "string", "statusDateTime": "2019-08-24T14:15:22Z", "statusDescription": "string", "statusValue": 0 }, "description": "string", "dimensionsInfo": { "maxHeight": 0, "maxWidth": 0, "minHeight": 0, "minWidth": 0 }, "documentations": [ { "description": "string", "documentationKind": "General", "documentationUrl": "string", "mediaType": "None" } ], "grossHeight": 0, "grossWidth": 0, "height": 0, "heightCorrection": 0, "isDescriptionEnabled": true, "isDeleted": true, "isHeightEnabled": true, "isReadonly": true, "isWidthEnabled": true, "leadTime": 0.1, "modelCode": "string", "modelDescription": "string", "modelId": "string", "modelImageUrl": "string", "modelInterfaceKey": "string", "polygonNumber": "string", "polygonNumberGrouped": "string", "polygonTypeId": 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 }, "productCategoryId": 0, "productCategoryInterfaceKey": "string", "productCode": "string", "state": "New", "visuals": [ { "name": "string", "url": "string", "remarks": "string" } ], "width": 0, "widthCorrection": 0, "widthMeasurementTypeSettingId": 0, "heightMeasurementTypeSettingId": 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}/api/gateway/v2/standalonepolygon/getmultipleGet multiple existing standalone Polygons.
Query Parameters
The unique identifiers of the Polygons to retrieve.
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/api/gateway/v2/standalonepolygon/getmultiple?ids=string"[ { "id": "string", "entityId": 0, "lineNumber": 0, "lineNumberSuffix": "string", "attributes": { "property1": "string", "property2": "string" }, "categoryDescription": "string", "categoryFavoriteDescription": "string", "categoryFavoriteId": 0, "categoryLinks": [ { "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" ] } ], "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 } } ], "categoryPresetId": 0, "categoryPresetExternalReference": "string", "chainedChildren": [ { "id": "string", "entityId": 0, "lineNumber": 0, "lineNumberSuffix": "string", "attributes": { "property1": "string", "property2": "string" }, "categoryDescription": "string", "categoryFavoriteDescription": "string", "categoryFavoriteId": 0, "categoryLinks": [ { "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" ] } ], "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 } } ], "categoryPresetId": 0, "categoryPresetExternalReference": "string", "chainedChildren": [], "currentStatus": { "remarks": "string", "statusDateTime": "2019-08-24T14:15:22Z", "statusDescription": "string", "statusValue": 0 }, "description": "string", "dimensionsInfo": { "maxHeight": 0, "maxWidth": 0, "minHeight": 0, "minWidth": 0 }, "documentations": [ { "description": "string", "documentationKind": "General", "documentationUrl": "string", "mediaType": "None" } ], "grossHeight": 0, "grossWidth": 0, "height": 0, "heightCorrection": 0, "isDescriptionEnabled": true, "isDeleted": true, "isHeightEnabled": true, "isReadonly": true, "isWidthEnabled": true, "leadTime": 0.1, "modelCode": "string", "modelDescription": "string", "modelId": "string", "modelImageUrl": "string", "modelInterfaceKey": "string", "polygonNumber": "string", "polygonNumberGrouped": "string", "polygonTypeId": 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 }, "productCategoryId": 0, "productCategoryInterfaceKey": "string", "productCode": "string", "state": "New", "visuals": [ { "name": "string", "url": "string", "remarks": "string" } ], "width": 0, "widthCorrection": 0, "widthMeasurementTypeSettingId": 0, "heightMeasurementTypeSettingId": 0 } ], "currentStatus": { "remarks": "string", "statusDateTime": "2019-08-24T14:15:22Z", "statusDescription": "string", "statusValue": 0 }, "description": "string", "dimensionsInfo": { "maxHeight": 0, "maxWidth": 0, "minHeight": 0, "minWidth": 0 }, "documentations": [ { "description": "string", "documentationKind": "General", "documentationUrl": "string", "mediaType": "None" } ], "grossHeight": 0, "grossWidth": 0, "height": 0, "heightCorrection": 0, "isDescriptionEnabled": true, "isDeleted": true, "isHeightEnabled": true, "isReadonly": true, "isWidthEnabled": true, "leadTime": 0.1, "modelCode": "string", "modelDescription": "string", "modelId": "string", "modelImageUrl": "string", "modelInterfaceKey": "string", "polygonNumber": "string", "polygonNumberGrouped": "string", "polygonTypeId": 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 }, "productCategoryId": 0, "productCategoryInterfaceKey": "string", "productCode": "string", "state": "New", "visuals": [ { "name": "string", "url": "string", "remarks": "string" } ], "width": 0, "widthCorrection": 0, "widthMeasurementTypeSettingId": 0, "heightMeasurementTypeSettingId": 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}/api/gateway/v2/standalonepolygon/removematerialRemove 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/standalonepolygon/removematerial" \ -H "Content-Type: application/json" \ -d '{}'{ "id": "string", "entityId": 0, "lineNumber": 0, "lineNumberSuffix": "string", "attributes": { "property1": "string", "property2": "string" }, "categoryDescription": "string", "categoryFavoriteDescription": "string", "categoryFavoriteId": 0, "categoryLinks": [ { "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" ] } ], "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 } } ], "categoryPresetId": 0, "categoryPresetExternalReference": "string", "chainedChildren": [ { "id": "string", "entityId": 0, "lineNumber": 0, "lineNumberSuffix": "string", "attributes": { "property1": "string", "property2": "string" }, "categoryDescription": "string", "categoryFavoriteDescription": "string", "categoryFavoriteId": 0, "categoryLinks": [ { "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" ] } ], "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 } } ], "categoryPresetId": 0, "categoryPresetExternalReference": "string", "chainedChildren": [], "currentStatus": { "remarks": "string", "statusDateTime": "2019-08-24T14:15:22Z", "statusDescription": "string", "statusValue": 0 }, "description": "string", "dimensionsInfo": { "maxHeight": 0, "maxWidth": 0, "minHeight": 0, "minWidth": 0 }, "documentations": [ { "description": "string", "documentationKind": "General", "documentationUrl": "string", "mediaType": "None" } ], "grossHeight": 0, "grossWidth": 0, "height": 0, "heightCorrection": 0, "isDescriptionEnabled": true, "isDeleted": true, "isHeightEnabled": true, "isReadonly": true, "isWidthEnabled": true, "leadTime": 0.1, "modelCode": "string", "modelDescription": "string", "modelId": "string", "modelImageUrl": "string", "modelInterfaceKey": "string", "polygonNumber": "string", "polygonNumberGrouped": "string", "polygonTypeId": 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 }, "productCategoryId": 0, "productCategoryInterfaceKey": "string", "productCode": "string", "state": "New", "visuals": [ { "name": "string", "url": "string", "remarks": "string" } ], "width": 0, "widthCorrection": 0, "widthMeasurementTypeSettingId": 0, "heightMeasurementTypeSettingId": 0 } ], "currentStatus": { "remarks": "string", "statusDateTime": "2019-08-24T14:15:22Z", "statusDescription": "string", "statusValue": 0 }, "description": "string", "dimensionsInfo": { "maxHeight": 0, "maxWidth": 0, "minHeight": 0, "minWidth": 0 }, "documentations": [ { "description": "string", "documentationKind": "General", "documentationUrl": "string", "mediaType": "None" } ], "grossHeight": 0, "grossWidth": 0, "height": 0, "heightCorrection": 0, "isDescriptionEnabled": true, "isDeleted": true, "isHeightEnabled": true, "isReadonly": true, "isWidthEnabled": true, "leadTime": 0.1, "modelCode": "string", "modelDescription": "string", "modelId": "string", "modelImageUrl": "string", "modelInterfaceKey": "string", "polygonNumber": "string", "polygonNumberGrouped": "string", "polygonTypeId": 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 }, "productCategoryId": 0, "productCategoryInterfaceKey": "string", "productCode": "string", "state": "New", "visuals": [ { "name": "string", "url": "string", "remarks": "string" } ], "width": 0, "widthCorrection": 0, "widthMeasurementTypeSettingId": 0, "heightMeasurementTypeSettingId": 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}/api/gateway/v2/standalonepolygon/setattributesReplaces 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/standalonepolygon/setattributes" \ -H "Content-Type: application/json" \ -d '{ "polygonId": "string", "attributes": { "property1": "string", "property2": "string" } }'{ "id": "string", "entityId": 0, "lineNumber": 0, "lineNumberSuffix": "string", "attributes": { "property1": "string", "property2": "string" }, "categoryDescription": "string", "categoryFavoriteDescription": "string", "categoryFavoriteId": 0, "categoryLinks": [ { "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" ] } ], "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 } } ], "categoryPresetId": 0, "categoryPresetExternalReference": "string", "chainedChildren": [ { "id": "string", "entityId": 0, "lineNumber": 0, "lineNumberSuffix": "string", "attributes": { "property1": "string", "property2": "string" }, "categoryDescription": "string", "categoryFavoriteDescription": "string", "categoryFavoriteId": 0, "categoryLinks": [ { "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" ] } ], "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 } } ], "categoryPresetId": 0, "categoryPresetExternalReference": "string", "chainedChildren": [], "currentStatus": { "remarks": "string", "statusDateTime": "2019-08-24T14:15:22Z", "statusDescription": "string", "statusValue": 0 }, "description": "string", "dimensionsInfo": { "maxHeight": 0, "maxWidth": 0, "minHeight": 0, "minWidth": 0 }, "documentations": [ { "description": "string", "documentationKind": "General", "documentationUrl": "string", "mediaType": "None" } ], "grossHeight": 0, "grossWidth": 0, "height": 0, "heightCorrection": 0, "isDescriptionEnabled": true, "isDeleted": true, "isHeightEnabled": true, "isReadonly": true, "isWidthEnabled": true, "leadTime": 0.1, "modelCode": "string", "modelDescription": "string", "modelId": "string", "modelImageUrl": "string", "modelInterfaceKey": "string", "polygonNumber": "string", "polygonNumberGrouped": "string", "polygonTypeId": 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 }, "productCategoryId": 0, "productCategoryInterfaceKey": "string", "productCode": "string", "state": "New", "visuals": [ { "name": "string", "url": "string", "remarks": "string" } ], "width": 0, "widthCorrection": 0, "widthMeasurementTypeSettingId": 0, "heightMeasurementTypeSettingId": 0 } ], "currentStatus": { "remarks": "string", "statusDateTime": "2019-08-24T14:15:22Z", "statusDescription": "string", "statusValue": 0 }, "description": "string", "dimensionsInfo": { "maxHeight": 0, "maxWidth": 0, "minHeight": 0, "minWidth": 0 }, "documentations": [ { "description": "string", "documentationKind": "General", "documentationUrl": "string", "mediaType": "None" } ], "grossHeight": 0, "grossWidth": 0, "height": 0, "heightCorrection": 0, "isDescriptionEnabled": true, "isDeleted": true, "isHeightEnabled": true, "isReadonly": true, "isWidthEnabled": true, "leadTime": 0.1, "modelCode": "string", "modelDescription": "string", "modelId": "string", "modelImageUrl": "string", "modelInterfaceKey": "string", "polygonNumber": "string", "polygonNumberGrouped": "string", "polygonTypeId": 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 }, "productCategoryId": 0, "productCategoryInterfaceKey": "string", "productCode": "string", "state": "New", "visuals": [ { "name": "string", "url": "string", "remarks": "string" } ], "width": 0, "widthCorrection": 0, "widthMeasurementTypeSettingId": 0, "heightMeasurementTypeSettingId": 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}/api/gateway/v2/standalonepolygon/addattributesAdds 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/standalonepolygon/addattributes" \ -H "Content-Type: application/json" \ -d '{ "polygonId": "string", "attributes": { "property1": "string", "property2": "string" } }'{ "id": "string", "entityId": 0, "lineNumber": 0, "lineNumberSuffix": "string", "attributes": { "property1": "string", "property2": "string" }, "categoryDescription": "string", "categoryFavoriteDescription": "string", "categoryFavoriteId": 0, "categoryLinks": [ { "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" ] } ], "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 } } ], "categoryPresetId": 0, "categoryPresetExternalReference": "string", "chainedChildren": [ { "id": "string", "entityId": 0, "lineNumber": 0, "lineNumberSuffix": "string", "attributes": { "property1": "string", "property2": "string" }, "categoryDescription": "string", "categoryFavoriteDescription": "string", "categoryFavoriteId": 0, "categoryLinks": [ { "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" ] } ], "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 } } ], "categoryPresetId": 0, "categoryPresetExternalReference": "string", "chainedChildren": [], "currentStatus": { "remarks": "string", "statusDateTime": "2019-08-24T14:15:22Z", "statusDescription": "string", "statusValue": 0 }, "description": "string", "dimensionsInfo": { "maxHeight": 0, "maxWidth": 0, "minHeight": 0, "minWidth": 0 }, "documentations": [ { "description": "string", "documentationKind": "General", "documentationUrl": "string", "mediaType": "None" } ], "grossHeight": 0, "grossWidth": 0, "height": 0, "heightCorrection": 0, "isDescriptionEnabled": true, "isDeleted": true, "isHeightEnabled": true, "isReadonly": true, "isWidthEnabled": true, "leadTime": 0.1, "modelCode": "string", "modelDescription": "string", "modelId": "string", "modelImageUrl": "string", "modelInterfaceKey": "string", "polygonNumber": "string", "polygonNumberGrouped": "string", "polygonTypeId": 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 }, "productCategoryId": 0, "productCategoryInterfaceKey": "string", "productCode": "string", "state": "New", "visuals": [ { "name": "string", "url": "string", "remarks": "string" } ], "width": 0, "widthCorrection": 0, "widthMeasurementTypeSettingId": 0, "heightMeasurementTypeSettingId": 0 } ], "currentStatus": { "remarks": "string", "statusDateTime": "2019-08-24T14:15:22Z", "statusDescription": "string", "statusValue": 0 }, "description": "string", "dimensionsInfo": { "maxHeight": 0, "maxWidth": 0, "minHeight": 0, "minWidth": 0 }, "documentations": [ { "description": "string", "documentationKind": "General", "documentationUrl": "string", "mediaType": "None" } ], "grossHeight": 0, "grossWidth": 0, "height": 0, "heightCorrection": 0, "isDescriptionEnabled": true, "isDeleted": true, "isHeightEnabled": true, "isReadonly": true, "isWidthEnabled": true, "leadTime": 0.1, "modelCode": "string", "modelDescription": "string", "modelId": "string", "modelImageUrl": "string", "modelInterfaceKey": "string", "polygonNumber": "string", "polygonNumberGrouped": "string", "polygonTypeId": 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 }, "productCategoryId": 0, "productCategoryInterfaceKey": "string", "productCode": "string", "state": "New", "visuals": [ { "name": "string", "url": "string", "remarks": "string" } ], "width": 0, "widthCorrection": 0, "widthMeasurementTypeSettingId": 0, "heightMeasurementTypeSettingId": 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}/api/gateway/v2/standalonepolygon/deleteattributesDeletes 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/standalonepolygon/deleteattributes" \ -H "Content-Type: application/json" \ -d '{ "polygonId": "string", "attributes": { "property1": "string", "property2": "string" } }'{ "id": "string", "entityId": 0, "lineNumber": 0, "lineNumberSuffix": "string", "attributes": { "property1": "string", "property2": "string" }, "categoryDescription": "string", "categoryFavoriteDescription": "string", "categoryFavoriteId": 0, "categoryLinks": [ { "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" ] } ], "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 } } ], "categoryPresetId": 0, "categoryPresetExternalReference": "string", "chainedChildren": [ { "id": "string", "entityId": 0, "lineNumber": 0, "lineNumberSuffix": "string", "attributes": { "property1": "string", "property2": "string" }, "categoryDescription": "string", "categoryFavoriteDescription": "string", "categoryFavoriteId": 0, "categoryLinks": [ { "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" ] } ], "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 } } ], "categoryPresetId": 0, "categoryPresetExternalReference": "string", "chainedChildren": [], "currentStatus": { "remarks": "string", "statusDateTime": "2019-08-24T14:15:22Z", "statusDescription": "string", "statusValue": 0 }, "description": "string", "dimensionsInfo": { "maxHeight": 0, "maxWidth": 0, "minHeight": 0, "minWidth": 0 }, "documentations": [ { "description": "string", "documentationKind": "General", "documentationUrl": "string", "mediaType": "None" } ], "grossHeight": 0, "grossWidth": 0, "height": 0, "heightCorrection": 0, "isDescriptionEnabled": true, "isDeleted": true, "isHeightEnabled": true, "isReadonly": true, "isWidthEnabled": true, "leadTime": 0.1, "modelCode": "string", "modelDescription": "string", "modelId": "string", "modelImageUrl": "string", "modelInterfaceKey": "string", "polygonNumber": "string", "polygonNumberGrouped": "string", "polygonTypeId": 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 }, "productCategoryId": 0, "productCategoryInterfaceKey": "string", "productCode": "string", "state": "New", "visuals": [ { "name": "string", "url": "string", "remarks": "string" } ], "width": 0, "widthCorrection": 0, "widthMeasurementTypeSettingId": 0, "heightMeasurementTypeSettingId": 0 } ], "currentStatus": { "remarks": "string", "statusDateTime": "2019-08-24T14:15:22Z", "statusDescription": "string", "statusValue": 0 }, "description": "string", "dimensionsInfo": { "maxHeight": 0, "maxWidth": 0, "minHeight": 0, "minWidth": 0 }, "documentations": [ { "description": "string", "documentationKind": "General", "documentationUrl": "string", "mediaType": "None" } ], "grossHeight": 0, "grossWidth": 0, "height": 0, "heightCorrection": 0, "isDescriptionEnabled": true, "isDeleted": true, "isHeightEnabled": true, "isReadonly": true, "isWidthEnabled": true, "leadTime": 0.1, "modelCode": "string", "modelDescription": "string", "modelId": "string", "modelImageUrl": "string", "modelInterfaceKey": "string", "polygonNumber": "string", "polygonNumberGrouped": "string", "polygonTypeId": 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 }, "productCategoryId": 0, "productCategoryInterfaceKey": "string", "productCode": "string", "state": "New", "visuals": [ { "name": "string", "url": "string", "remarks": "string" } ], "width": 0, "widthCorrection": 0, "widthMeasurementTypeSettingId": 0, "heightMeasurementTypeSettingId": 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}/api/gateway/v2/standalonepolygon/setdescriptionSets 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/standalonepolygon/setdescription" \ -H "Content-Type: application/json" \ -d '{ "polygonId": "string" }'{ "id": "string", "entityId": 0, "lineNumber": 0, "lineNumberSuffix": "string", "attributes": { "property1": "string", "property2": "string" }, "categoryDescription": "string", "categoryFavoriteDescription": "string", "categoryFavoriteId": 0, "categoryLinks": [ { "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" ] } ], "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 } } ], "categoryPresetId": 0, "categoryPresetExternalReference": "string", "chainedChildren": [ { "id": "string", "entityId": 0, "lineNumber": 0, "lineNumberSuffix": "string", "attributes": { "property1": "string", "property2": "string" }, "categoryDescription": "string", "categoryFavoriteDescription": "string", "categoryFavoriteId": 0, "categoryLinks": [ { "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" ] } ], "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 } } ], "categoryPresetId": 0, "categoryPresetExternalReference": "string", "chainedChildren": [], "currentStatus": { "remarks": "string", "statusDateTime": "2019-08-24T14:15:22Z", "statusDescription": "string", "statusValue": 0 }, "description": "string", "dimensionsInfo": { "maxHeight": 0, "maxWidth": 0, "minHeight": 0, "minWidth": 0 }, "documentations": [ { "description": "string", "documentationKind": "General", "documentationUrl": "string", "mediaType": "None" } ], "grossHeight": 0, "grossWidth": 0, "height": 0, "heightCorrection": 0, "isDescriptionEnabled": true, "isDeleted": true, "isHeightEnabled": true, "isReadonly": true, "isWidthEnabled": true, "leadTime": 0.1, "modelCode": "string", "modelDescription": "string", "modelId": "string", "modelImageUrl": "string", "modelInterfaceKey": "string", "polygonNumber": "string", "polygonNumberGrouped": "string", "polygonTypeId": 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 }, "productCategoryId": 0, "productCategoryInterfaceKey": "string", "productCode": "string", "state": "New", "visuals": [ { "name": "string", "url": "string", "remarks": "string" } ], "width": 0, "widthCorrection": 0, "widthMeasurementTypeSettingId": 0, "heightMeasurementTypeSettingId": 0 } ], "currentStatus": { "remarks": "string", "statusDateTime": "2019-08-24T14:15:22Z", "statusDescription": "string", "statusValue": 0 }, "description": "string", "dimensionsInfo": { "maxHeight": 0, "maxWidth": 0, "minHeight": 0, "minWidth": 0 }, "documentations": [ { "description": "string", "documentationKind": "General", "documentationUrl": "string", "mediaType": "None" } ], "grossHeight": 0, "grossWidth": 0, "height": 0, "heightCorrection": 0, "isDescriptionEnabled": true, "isDeleted": true, "isHeightEnabled": true, "isReadonly": true, "isWidthEnabled": true, "leadTime": 0.1, "modelCode": "string", "modelDescription": "string", "modelId": "string", "modelImageUrl": "string", "modelInterfaceKey": "string", "polygonNumber": "string", "polygonNumberGrouped": "string", "polygonTypeId": 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 }, "productCategoryId": 0, "productCategoryInterfaceKey": "string", "productCode": "string", "state": "New", "visuals": [ { "name": "string", "url": "string", "remarks": "string" } ], "width": 0, "widthCorrection": 0, "widthMeasurementTypeSettingId": 0, "heightMeasurementTypeSettingId": 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}/api/gateway/v2/standalonepolygon/setpolygontypeSets 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/standalonepolygon/setpolygontype" \ -H "Content-Type: application/json" \ -d '{ "polygonId": "string", "polygonTypeId": 0 }'{ "id": "string", "entityId": 0, "lineNumber": 0, "lineNumberSuffix": "string", "attributes": { "property1": "string", "property2": "string" }, "categoryDescription": "string", "categoryFavoriteDescription": "string", "categoryFavoriteId": 0, "categoryLinks": [ { "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" ] } ], "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 } } ], "categoryPresetId": 0, "categoryPresetExternalReference": "string", "chainedChildren": [ { "id": "string", "entityId": 0, "lineNumber": 0, "lineNumberSuffix": "string", "attributes": { "property1": "string", "property2": "string" }, "categoryDescription": "string", "categoryFavoriteDescription": "string", "categoryFavoriteId": 0, "categoryLinks": [ { "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" ] } ], "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 } } ], "categoryPresetId": 0, "categoryPresetExternalReference": "string", "chainedChildren": [], "currentStatus": { "remarks": "string", "statusDateTime": "2019-08-24T14:15:22Z", "statusDescription": "string", "statusValue": 0 }, "description": "string", "dimensionsInfo": { "maxHeight": 0, "maxWidth": 0, "minHeight": 0, "minWidth": 0 }, "documentations": [ { "description": "string", "documentationKind": "General", "documentationUrl": "string", "mediaType": "None" } ], "grossHeight": 0, "grossWidth": 0, "height": 0, "heightCorrection": 0, "isDescriptionEnabled": true, "isDeleted": true, "isHeightEnabled": true, "isReadonly": true, "isWidthEnabled": true, "leadTime": 0.1, "modelCode": "string", "modelDescription": "string", "modelId": "string", "modelImageUrl": "string", "modelInterfaceKey": "string", "polygonNumber": "string", "polygonNumberGrouped": "string", "polygonTypeId": 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 }, "productCategoryId": 0, "productCategoryInterfaceKey": "string", "productCode": "string", "state": "New", "visuals": [ { "name": "string", "url": "string", "remarks": "string" } ], "width": 0, "widthCorrection": 0, "widthMeasurementTypeSettingId": 0, "heightMeasurementTypeSettingId": 0 } ], "currentStatus": { "remarks": "string", "statusDateTime": "2019-08-24T14:15:22Z", "statusDescription": "string", "statusValue": 0 }, "description": "string", "dimensionsInfo": { "maxHeight": 0, "maxWidth": 0, "minHeight": 0, "minWidth": 0 }, "documentations": [ { "description": "string", "documentationKind": "General", "documentationUrl": "string", "mediaType": "None" } ], "grossHeight": 0, "grossWidth": 0, "height": 0, "heightCorrection": 0, "isDescriptionEnabled": true, "isDeleted": true, "isHeightEnabled": true, "isReadonly": true, "isWidthEnabled": true, "leadTime": 0.1, "modelCode": "string", "modelDescription": "string", "modelId": "string", "modelImageUrl": "string", "modelInterfaceKey": "string", "polygonNumber": "string", "polygonNumberGrouped": "string", "polygonTypeId": 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 }, "productCategoryId": 0, "productCategoryInterfaceKey": "string", "productCode": "string", "state": "New", "visuals": [ { "name": "string", "url": "string", "remarks": "string" } ], "width": 0, "widthCorrection": 0, "widthMeasurementTypeSettingId": 0, "heightMeasurementTypeSettingId": 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}/api/gateway/v2/standalonepolygon/setdimensionsSet 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/standalonepolygon/setdimensions" \ -H "Content-Type: application/json" \ -d '{}'{ "id": "string", "entityId": 0, "lineNumber": 0, "lineNumberSuffix": "string", "attributes": { "property1": "string", "property2": "string" }, "categoryDescription": "string", "categoryFavoriteDescription": "string", "categoryFavoriteId": 0, "categoryLinks": [ { "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" ] } ], "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 } } ], "categoryPresetId": 0, "categoryPresetExternalReference": "string", "chainedChildren": [ { "id": "string", "entityId": 0, "lineNumber": 0, "lineNumberSuffix": "string", "attributes": { "property1": "string", "property2": "string" }, "categoryDescription": "string", "categoryFavoriteDescription": "string", "categoryFavoriteId": 0, "categoryLinks": [ { "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" ] } ], "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 } } ], "categoryPresetId": 0, "categoryPresetExternalReference": "string", "chainedChildren": [], "currentStatus": { "remarks": "string", "statusDateTime": "2019-08-24T14:15:22Z", "statusDescription": "string", "statusValue": 0 }, "description": "string", "dimensionsInfo": { "maxHeight": 0, "maxWidth": 0, "minHeight": 0, "minWidth": 0 }, "documentations": [ { "description": "string", "documentationKind": "General", "documentationUrl": "string", "mediaType": "None" } ], "grossHeight": 0, "grossWidth": 0, "height": 0, "heightCorrection": 0, "isDescriptionEnabled": true, "isDeleted": true, "isHeightEnabled": true, "isReadonly": true, "isWidthEnabled": true, "leadTime": 0.1, "modelCode": "string", "modelDescription": "string", "modelId": "string", "modelImageUrl": "string", "modelInterfaceKey": "string", "polygonNumber": "string", "polygonNumberGrouped": "string", "polygonTypeId": 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 }, "productCategoryId": 0, "productCategoryInterfaceKey": "string", "productCode": "string", "state": "New", "visuals": [ { "name": "string", "url": "string", "remarks": "string" } ], "width": 0, "widthCorrection": 0, "widthMeasurementTypeSettingId": 0, "heightMeasurementTypeSettingId": 0 } ], "currentStatus": { "remarks": "string", "statusDateTime": "2019-08-24T14:15:22Z", "statusDescription": "string", "statusValue": 0 }, "description": "string", "dimensionsInfo": { "maxHeight": 0, "maxWidth": 0, "minHeight": 0, "minWidth": 0 }, "documentations": [ { "description": "string", "documentationKind": "General", "documentationUrl": "string", "mediaType": "None" } ], "grossHeight": 0, "grossWidth": 0, "height": 0, "heightCorrection": 0, "isDescriptionEnabled": true, "isDeleted": true, "isHeightEnabled": true, "isReadonly": true, "isWidthEnabled": true, "leadTime": 0.1, "modelCode": "string", "modelDescription": "string", "modelId": "string", "modelImageUrl": "string", "modelInterfaceKey": "string", "polygonNumber": "string", "polygonNumberGrouped": "string", "polygonTypeId": 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 }, "productCategoryId": 0, "productCategoryInterfaceKey": "string", "productCode": "string", "state": "New", "visuals": [ { "name": "string", "url": "string", "remarks": "string" } ], "width": 0, "widthCorrection": 0, "widthMeasurementTypeSettingId": 0, "heightMeasurementTypeSettingId": 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}/api/gateway/v2/standalonepolygon/setmeasurementtypesettingSet 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/standalonepolygon/setmeasurementtypesetting" \ -H "Content-Type: application/json" \ -d '{}'{ "id": "string", "entityId": 0, "lineNumber": 0, "lineNumberSuffix": "string", "attributes": { "property1": "string", "property2": "string" }, "categoryDescription": "string", "categoryFavoriteDescription": "string", "categoryFavoriteId": 0, "categoryLinks": [ { "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" ] } ], "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 } } ], "categoryPresetId": 0, "categoryPresetExternalReference": "string", "chainedChildren": [ { "id": "string", "entityId": 0, "lineNumber": 0, "lineNumberSuffix": "string", "attributes": { "property1": "string", "property2": "string" }, "categoryDescription": "string", "categoryFavoriteDescription": "string", "categoryFavoriteId": 0, "categoryLinks": [ { "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" ] } ], "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 } } ], "categoryPresetId": 0, "categoryPresetExternalReference": "string", "chainedChildren": [], "currentStatus": { "remarks": "string", "statusDateTime": "2019-08-24T14:15:22Z", "statusDescription": "string", "statusValue": 0 }, "description": "string", "dimensionsInfo": { "maxHeight": 0, "maxWidth": 0, "minHeight": 0, "minWidth": 0 }, "documentations": [ { "description": "string", "documentationKind": "General", "documentationUrl": "string", "mediaType": "None" } ], "grossHeight": 0, "grossWidth": 0, "height": 0, "heightCorrection": 0, "isDescriptionEnabled": true, "isDeleted": true, "isHeightEnabled": true, "isReadonly": true, "isWidthEnabled": true, "leadTime": 0.1, "modelCode": "string", "modelDescription": "string", "modelId": "string", "modelImageUrl": "string", "modelInterfaceKey": "string", "polygonNumber": "string", "polygonNumberGrouped": "string", "polygonTypeId": 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 }, "productCategoryId": 0, "productCategoryInterfaceKey": "string", "productCode": "string", "state": "New", "visuals": [ { "name": "string", "url": "string", "remarks": "string" } ], "width": 0, "widthCorrection": 0, "widthMeasurementTypeSettingId": 0, "heightMeasurementTypeSettingId": 0 } ], "currentStatus": { "remarks": "string", "statusDateTime": "2019-08-24T14:15:22Z", "statusDescription": "string", "statusValue": 0 }, "description": "string", "dimensionsInfo": { "maxHeight": 0, "maxWidth": 0, "minHeight": 0, "minWidth": 0 }, "documentations": [ { "description": "string", "documentationKind": "General", "documentationUrl": "string", "mediaType": "None" } ], "grossHeight": 0, "grossWidth": 0, "height": 0, "heightCorrection": 0, "isDescriptionEnabled": true, "isDeleted": true, "isHeightEnabled": true, "isReadonly": true, "isWidthEnabled": true, "leadTime": 0.1, "modelCode": "string", "modelDescription": "string", "modelId": "string", "modelImageUrl": "string", "modelInterfaceKey": "string", "polygonNumber": "string", "polygonNumberGrouped": "string", "polygonTypeId": 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 }, "productCategoryId": 0, "productCategoryInterfaceKey": "string", "productCode": "string", "state": "New", "visuals": [ { "name": "string", "url": "string", "remarks": "string" } ], "width": 0, "widthCorrection": 0, "widthMeasurementTypeSettingId": 0, "heightMeasurementTypeSettingId": 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}/api/gateway/v2/standalonepolygon/setwidthSet 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/standalonepolygon/setwidth" \ -H "Content-Type: application/json" \ -d '{}'{ "id": "string", "entityId": 0, "lineNumber": 0, "lineNumberSuffix": "string", "attributes": { "property1": "string", "property2": "string" }, "categoryDescription": "string", "categoryFavoriteDescription": "string", "categoryFavoriteId": 0, "categoryLinks": [ { "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" ] } ], "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 } } ], "categoryPresetId": 0, "categoryPresetExternalReference": "string", "chainedChildren": [ { "id": "string", "entityId": 0, "lineNumber": 0, "lineNumberSuffix": "string", "attributes": { "property1": "string", "property2": "string" }, "categoryDescription": "string", "categoryFavoriteDescription": "string", "categoryFavoriteId": 0, "categoryLinks": [ { "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" ] } ], "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 } } ], "categoryPresetId": 0, "categoryPresetExternalReference": "string", "chainedChildren": [], "currentStatus": { "remarks": "string", "statusDateTime": "2019-08-24T14:15:22Z", "statusDescription": "string", "statusValue": 0 }, "description": "string", "dimensionsInfo": { "maxHeight": 0, "maxWidth": 0, "minHeight": 0, "minWidth": 0 }, "documentations": [ { "description": "string", "documentationKind": "General", "documentationUrl": "string", "mediaType": "None" } ], "grossHeight": 0, "grossWidth": 0, "height": 0, "heightCorrection": 0, "isDescriptionEnabled": true, "isDeleted": true, "isHeightEnabled": true, "isReadonly": true, "isWidthEnabled": true, "leadTime": 0.1, "modelCode": "string", "modelDescription": "string", "modelId": "string", "modelImageUrl": "string", "modelInterfaceKey": "string", "polygonNumber": "string", "polygonNumberGrouped": "string", "polygonTypeId": 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 }, "productCategoryId": 0, "productCategoryInterfaceKey": "string", "productCode": "string", "state": "New", "visuals": [ { "name": "string", "url": "string", "remarks": "string" } ], "width": 0, "widthCorrection": 0, "widthMeasurementTypeSettingId": 0, "heightMeasurementTypeSettingId": 0 } ], "currentStatus": { "remarks": "string", "statusDateTime": "2019-08-24T14:15:22Z", "statusDescription": "string", "statusValue": 0 }, "description": "string", "dimensionsInfo": { "maxHeight": 0, "maxWidth": 0, "minHeight": 0, "minWidth": 0 }, "documentations": [ { "description": "string", "documentationKind": "General", "documentationUrl": "string", "mediaType": "None" } ], "grossHeight": 0, "grossWidth": 0, "height": 0, "heightCorrection": 0, "isDescriptionEnabled": true, "isDeleted": true, "isHeightEnabled": true, "isReadonly": true, "isWidthEnabled": true, "leadTime": 0.1, "modelCode": "string", "modelDescription": "string", "modelId": "string", "modelImageUrl": "string", "modelInterfaceKey": "string", "polygonNumber": "string", "polygonNumberGrouped": "string", "polygonTypeId": 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 }, "productCategoryId": 0, "productCategoryInterfaceKey": "string", "productCode": "string", "state": "New", "visuals": [ { "name": "string", "url": "string", "remarks": "string" } ], "width": 0, "widthCorrection": 0, "widthMeasurementTypeSettingId": 0, "heightMeasurementTypeSettingId": 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}/api/gateway/v2/standalonepolygon/setheightSet 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/standalonepolygon/setheight" \ -H "Content-Type: application/json" \ -d '{}'{ "id": "string", "entityId": 0, "lineNumber": 0, "lineNumberSuffix": "string", "attributes": { "property1": "string", "property2": "string" }, "categoryDescription": "string", "categoryFavoriteDescription": "string", "categoryFavoriteId": 0, "categoryLinks": [ { "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" ] } ], "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 } } ], "categoryPresetId": 0, "categoryPresetExternalReference": "string", "chainedChildren": [ { "id": "string", "entityId": 0, "lineNumber": 0, "lineNumberSuffix": "string", "attributes": { "property1": "string", "property2": "string" }, "categoryDescription": "string", "categoryFavoriteDescription": "string", "categoryFavoriteId": 0, "categoryLinks": [ { "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" ] } ], "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 } } ], "categoryPresetId": 0, "categoryPresetExternalReference": "string", "chainedChildren": [], "currentStatus": { "remarks": "string", "statusDateTime": "2019-08-24T14:15:22Z", "statusDescription": "string", "statusValue": 0 }, "description": "string", "dimensionsInfo": { "maxHeight": 0, "maxWidth": 0, "minHeight": 0, "minWidth": 0 }, "documentations": [ { "description": "string", "documentationKind": "General", "documentationUrl": "string", "mediaType": "None" } ], "grossHeight": 0, "grossWidth": 0, "height": 0, "heightCorrection": 0, "isDescriptionEnabled": true, "isDeleted": true, "isHeightEnabled": true, "isReadonly": true, "isWidthEnabled": true, "leadTime": 0.1, "modelCode": "string", "modelDescription": "string", "modelId": "string", "modelImageUrl": "string", "modelInterfaceKey": "string", "polygonNumber": "string", "polygonNumberGrouped": "string", "polygonTypeId": 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 }, "productCategoryId": 0, "productCategoryInterfaceKey": "string", "productCode": "string", "state": "New", "visuals": [ { "name": "string", "url": "string", "remarks": "string" } ], "width": 0, "widthCorrection": 0, "widthMeasurementTypeSettingId": 0, "heightMeasurementTypeSettingId": 0 } ], "currentStatus": { "remarks": "string", "statusDateTime": "2019-08-24T14:15:22Z", "statusDescription": "string", "statusValue": 0 }, "description": "string", "dimensionsInfo": { "maxHeight": 0, "maxWidth": 0, "minHeight": 0, "minWidth": 0 }, "documentations": [ { "description": "string", "documentationKind": "General", "documentationUrl": "string", "mediaType": "None" } ], "grossHeight": 0, "grossWidth": 0, "height": 0, "heightCorrection": 0, "isDescriptionEnabled": true, "isDeleted": true, "isHeightEnabled": true, "isReadonly": true, "isWidthEnabled": true, "leadTime": 0.1, "modelCode": "string", "modelDescription": "string", "modelId": "string", "modelImageUrl": "string", "modelInterfaceKey": "string", "polygonNumber": "string", "polygonNumberGrouped": "string", "polygonTypeId": 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 }, "productCategoryId": 0, "productCategoryInterfaceKey": "string", "productCode": "string", "state": "New", "visuals": [ { "name": "string", "url": "string", "remarks": "string" } ], "width": 0, "widthCorrection": 0, "widthMeasurementTypeSettingId": 0, "heightMeasurementTypeSettingId": 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}/api/gateway/v2/standalonepolygon/setmaterialSet 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/standalonepolygon/setmaterial" \ -H "Content-Type: application/json" \ -d '{}'{ "id": "string", "entityId": 0, "lineNumber": 0, "lineNumberSuffix": "string", "attributes": { "property1": "string", "property2": "string" }, "categoryDescription": "string", "categoryFavoriteDescription": "string", "categoryFavoriteId": 0, "categoryLinks": [ { "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" ] } ], "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 } } ], "categoryPresetId": 0, "categoryPresetExternalReference": "string", "chainedChildren": [ { "id": "string", "entityId": 0, "lineNumber": 0, "lineNumberSuffix": "string", "attributes": { "property1": "string", "property2": "string" }, "categoryDescription": "string", "categoryFavoriteDescription": "string", "categoryFavoriteId": 0, "categoryLinks": [ { "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" ] } ], "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 } } ], "categoryPresetId": 0, "categoryPresetExternalReference": "string", "chainedChildren": [], "currentStatus": { "remarks": "string", "statusDateTime": "2019-08-24T14:15:22Z", "statusDescription": "string", "statusValue": 0 }, "description": "string", "dimensionsInfo": { "maxHeight": 0, "maxWidth": 0, "minHeight": 0, "minWidth": 0 }, "documentations": [ { "description": "string", "documentationKind": "General", "documentationUrl": "string", "mediaType": "None" } ], "grossHeight": 0, "grossWidth": 0, "height": 0, "heightCorrection": 0, "isDescriptionEnabled": true, "isDeleted": true, "isHeightEnabled": true, "isReadonly": true, "isWidthEnabled": true, "leadTime": 0.1, "modelCode": "string", "modelDescription": "string", "modelId": "string", "modelImageUrl": "string", "modelInterfaceKey": "string", "polygonNumber": "string", "polygonNumberGrouped": "string", "polygonTypeId": 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 }, "productCategoryId": 0, "productCategoryInterfaceKey": "string", "productCode": "string", "state": "New", "visuals": [ { "name": "string", "url": "string", "remarks": "string" } ], "width": 0, "widthCorrection": 0, "widthMeasurementTypeSettingId": 0, "heightMeasurementTypeSettingId": 0 } ], "currentStatus": { "remarks": "string", "statusDateTime": "2019-08-24T14:15:22Z", "statusDescription": "string", "statusValue": 0 }, "description": "string", "dimensionsInfo": { "maxHeight": 0, "maxWidth": 0, "minHeight": 0, "minWidth": 0 }, "documentations": [ { "description": "string", "documentationKind": "General", "documentationUrl": "string", "mediaType": "None" } ], "grossHeight": 0, "grossWidth": 0, "height": 0, "heightCorrection": 0, "isDescriptionEnabled": true, "isDeleted": true, "isHeightEnabled": true, "isReadonly": true, "isWidthEnabled": true, "leadTime": 0.1, "modelCode": "string", "modelDescription": "string", "modelId": "string", "modelImageUrl": "string", "modelInterfaceKey": "string", "polygonNumber": "string", "polygonNumberGrouped": "string", "polygonTypeId": 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 }, "productCategoryId": 0, "productCategoryInterfaceKey": "string", "productCode": "string", "state": "New", "visuals": [ { "name": "string", "url": "string", "remarks": "string" } ], "width": 0, "widthCorrection": 0, "widthMeasurementTypeSettingId": 0, "heightMeasurementTypeSettingId": 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}/api/gateway/v2/standalonepolygon/applymainmaterialtocategorylinkSet 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/standalonepolygon/applymainmaterialtocategorylink" \ -H "Content-Type: application/json" \ -d '{ "polygonId": "string", "categoryLinkId": 0 }'{ "id": "string", "entityId": 0, "lineNumber": 0, "lineNumberSuffix": "string", "attributes": { "property1": "string", "property2": "string" }, "categoryDescription": "string", "categoryFavoriteDescription": "string", "categoryFavoriteId": 0, "categoryLinks": [ { "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" ] } ], "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 } } ], "categoryPresetId": 0, "categoryPresetExternalReference": "string", "chainedChildren": [ { "id": "string", "entityId": 0, "lineNumber": 0, "lineNumberSuffix": "string", "attributes": { "property1": "string", "property2": "string" }, "categoryDescription": "string", "categoryFavoriteDescription": "string", "categoryFavoriteId": 0, "categoryLinks": [ { "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" ] } ], "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 } } ], "categoryPresetId": 0, "categoryPresetExternalReference": "string", "chainedChildren": [], "currentStatus": { "remarks": "string", "statusDateTime": "2019-08-24T14:15:22Z", "statusDescription": "string", "statusValue": 0 }, "description": "string", "dimensionsInfo": { "maxHeight": 0, "maxWidth": 0, "minHeight": 0, "minWidth": 0 }, "documentations": [ { "description": "string", "documentationKind": "General", "documentationUrl": "string", "mediaType": "None" } ], "grossHeight": 0, "grossWidth": 0, "height": 0, "heightCorrection": 0, "isDescriptionEnabled": true, "isDeleted": true, "isHeightEnabled": true, "isReadonly": true, "isWidthEnabled": true, "leadTime": 0.1, "modelCode": "string", "modelDescription": "string", "modelId": "string", "modelImageUrl": "string", "modelInterfaceKey": "string", "polygonNumber": "string", "polygonNumberGrouped": "string", "polygonTypeId": 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 }, "productCategoryId": 0, "productCategoryInterfaceKey": "string", "productCode": "string", "state": "New", "visuals": [ { "name": "string", "url": "string", "remarks": "string" } ], "width": 0, "widthCorrection": 0, "widthMeasurementTypeSettingId": 0, "heightMeasurementTypeSettingId": 0 } ], "currentStatus": { "remarks": "string", "statusDateTime": "2019-08-24T14:15:22Z", "statusDescription": "string", "statusValue": 0 }, "description": "string", "dimensionsInfo": { "maxHeight": 0, "maxWidth": 0, "minHeight": 0, "minWidth": 0 }, "documentations": [ { "description": "string", "documentationKind": "General", "documentationUrl": "string", "mediaType": "None" } ], "grossHeight": 0, "grossWidth": 0, "height": 0, "heightCorrection": 0, "isDescriptionEnabled": true, "isDeleted": true, "isHeightEnabled": true, "isReadonly": true, "isWidthEnabled": true, "leadTime": 0.1, "modelCode": "string", "modelDescription": "string", "modelId": "string", "modelImageUrl": "string", "modelInterfaceKey": "string", "polygonNumber": "string", "polygonNumberGrouped": "string", "polygonTypeId": 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 }, "productCategoryId": 0, "productCategoryInterfaceKey": "string", "productCode": "string", "state": "New", "visuals": [ { "name": "string", "url": "string", "remarks": "string" } ], "width": 0, "widthCorrection": 0, "widthMeasurementTypeSettingId": 0, "heightMeasurementTypeSettingId": 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}/api/gateway/v2/standalonepolygon/setmaterialbycodeSet 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/standalonepolygon/setmaterialbycode" \ -H "Content-Type: application/json" \ -d '{}'{ "id": "string", "entityId": 0, "lineNumber": 0, "lineNumberSuffix": "string", "attributes": { "property1": "string", "property2": "string" }, "categoryDescription": "string", "categoryFavoriteDescription": "string", "categoryFavoriteId": 0, "categoryLinks": [ { "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" ] } ], "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 } } ], "categoryPresetId": 0, "categoryPresetExternalReference": "string", "chainedChildren": [ { "id": "string", "entityId": 0, "lineNumber": 0, "lineNumberSuffix": "string", "attributes": { "property1": "string", "property2": "string" }, "categoryDescription": "string", "categoryFavoriteDescription": "string", "categoryFavoriteId": 0, "categoryLinks": [ { "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" ] } ], "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 } } ], "categoryPresetId": 0, "categoryPresetExternalReference": "string", "chainedChildren": [], "currentStatus": { "remarks": "string", "statusDateTime": "2019-08-24T14:15:22Z", "statusDescription": "string", "statusValue": 0 }, "description": "string", "dimensionsInfo": { "maxHeight": 0, "maxWidth": 0, "minHeight": 0, "minWidth": 0 }, "documentations": [ { "description": "string", "documentationKind": "General", "documentationUrl": "string", "mediaType": "None" } ], "grossHeight": 0, "grossWidth": 0, "height": 0, "heightCorrection": 0, "isDescriptionEnabled": true, "isDeleted": true, "isHeightEnabled": true, "isReadonly": true, "isWidthEnabled": true, "leadTime": 0.1, "modelCode": "string", "modelDescription": "string", "modelId": "string", "modelImageUrl": "string", "modelInterfaceKey": "string", "polygonNumber": "string", "polygonNumberGrouped": "string", "polygonTypeId": 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 }, "productCategoryId": 0, "productCategoryInterfaceKey": "string", "productCode": "string", "state": "New", "visuals": [ { "name": "string", "url": "string", "remarks": "string" } ], "width": 0, "widthCorrection": 0, "widthMeasurementTypeSettingId": 0, "heightMeasurementTypeSettingId": 0 } ], "currentStatus": { "remarks": "string", "statusDateTime": "2019-08-24T14:15:22Z", "statusDescription": "string", "statusValue": 0 }, "description": "string", "dimensionsInfo": { "maxHeight": 0, "maxWidth": 0, "minHeight": 0, "minWidth": 0 }, "documentations": [ { "description": "string", "documentationKind": "General", "documentationUrl": "string", "mediaType": "None" } ], "grossHeight": 0, "grossWidth": 0, "height": 0, "heightCorrection": 0, "isDescriptionEnabled": true, "isDeleted": true, "isHeightEnabled": true, "isReadonly": true, "isWidthEnabled": true, "leadTime": 0.1, "modelCode": "string", "modelDescription": "string", "modelId": "string", "modelImageUrl": "string", "modelInterfaceKey": "string", "polygonNumber": "string", "polygonNumberGrouped": "string", "polygonTypeId": 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 }, "productCategoryId": 0, "productCategoryInterfaceKey": "string", "productCode": "string", "state": "New", "visuals": [ { "name": "string", "url": "string", "remarks": "string" } ], "width": 0, "widthCorrection": 0, "widthMeasurementTypeSettingId": 0, "heightMeasurementTypeSettingId": 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}/api/gateway/v2/standalonepolygon/setmodelSet 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/standalonepolygon/setmodel" \ -H "Content-Type: application/json" \ -d '{ "polygonId": "string", "modelId": "string" }'{ "id": "string", "entityId": 0, "lineNumber": 0, "lineNumberSuffix": "string", "attributes": { "property1": "string", "property2": "string" }, "categoryDescription": "string", "categoryFavoriteDescription": "string", "categoryFavoriteId": 0, "categoryLinks": [ { "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" ] } ], "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 } } ], "categoryPresetId": 0, "categoryPresetExternalReference": "string", "chainedChildren": [ { "id": "string", "entityId": 0, "lineNumber": 0, "lineNumberSuffix": "string", "attributes": { "property1": "string", "property2": "string" }, "categoryDescription": "string", "categoryFavoriteDescription": "string", "categoryFavoriteId": 0, "categoryLinks": [ { "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" ] } ], "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 } } ], "categoryPresetId": 0, "categoryPresetExternalReference": "string", "chainedChildren": [], "currentStatus": { "remarks": "string", "statusDateTime": "2019-08-24T14:15:22Z", "statusDescription": "string", "statusValue": 0 }, "description": "string", "dimensionsInfo": { "maxHeight": 0, "maxWidth": 0, "minHeight": 0, "minWidth": 0 }, "documentations": [ { "description": "string", "documentationKind": "General", "documentationUrl": "string", "mediaType": "None" } ], "grossHeight": 0, "grossWidth": 0, "height": 0, "heightCorrection": 0, "isDescriptionEnabled": true, "isDeleted": true, "isHeightEnabled": true, "isReadonly": true, "isWidthEnabled": true, "leadTime": 0.1, "modelCode": "string", "modelDescription": "string", "modelId": "string", "modelImageUrl": "string", "modelInterfaceKey": "string", "polygonNumber": "string", "polygonNumberGrouped": "string", "polygonTypeId": 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 }, "productCategoryId": 0, "productCategoryInterfaceKey": "string", "productCode": "string", "state": "New", "visuals": [ { "name": "string", "url": "string", "remarks": "string" } ], "width": 0, "widthCorrection": 0, "widthMeasurementTypeSettingId": 0, "heightMeasurementTypeSettingId": 0 } ], "currentStatus": { "remarks": "string", "statusDateTime": "2019-08-24T14:15:22Z", "statusDescription": "string", "statusValue": 0 }, "description": "string", "dimensionsInfo": { "maxHeight": 0, "maxWidth": 0, "minHeight": 0, "minWidth": 0 }, "documentations": [ { "description": "string", "documentationKind": "General", "documentationUrl": "string", "mediaType": "None" } ], "grossHeight": 0, "grossWidth": 0, "height": 0, "heightCorrection": 0, "isDescriptionEnabled": true, "isDeleted": true, "isHeightEnabled": true, "isReadonly": true, "isWidthEnabled": true, "leadTime": 0.1, "modelCode": "string", "modelDescription": "string", "modelId": "string", "modelImageUrl": "string", "modelInterfaceKey": "string", "polygonNumber": "string", "polygonNumberGrouped": "string", "polygonTypeId": 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 }, "productCategoryId": 0, "productCategoryInterfaceKey": "string", "productCode": "string", "state": "New", "visuals": [ { "name": "string", "url": "string", "remarks": "string" } ], "width": 0, "widthCorrection": 0, "widthMeasurementTypeSettingId": 0, "heightMeasurementTypeSettingId": 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}/api/gateway/v2/standalonepolygon/setpropertyvalueSet 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/standalonepolygon/setpropertyvalue" \ -H "Content-Type: application/json" \ -d '{ "categoryLinkMaterialPropertyId": 0, "polygonId": "string" }'{ "id": "string", "entityId": 0, "lineNumber": 0, "lineNumberSuffix": "string", "attributes": { "property1": "string", "property2": "string" }, "categoryDescription": "string", "categoryFavoriteDescription": "string", "categoryFavoriteId": 0, "categoryLinks": [ { "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" ] } ], "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 } } ], "categoryPresetId": 0, "categoryPresetExternalReference": "string", "chainedChildren": [ { "id": "string", "entityId": 0, "lineNumber": 0, "lineNumberSuffix": "string", "attributes": { "property1": "string", "property2": "string" }, "categoryDescription": "string", "categoryFavoriteDescription": "string", "categoryFavoriteId": 0, "categoryLinks": [ { "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" ] } ], "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 } } ], "categoryPresetId": 0, "categoryPresetExternalReference": "string", "chainedChildren": [], "currentStatus": { "remarks": "string", "statusDateTime": "2019-08-24T14:15:22Z", "statusDescription": "string", "statusValue": 0 }, "description": "string", "dimensionsInfo": { "maxHeight": 0, "maxWidth": 0, "minHeight": 0, "minWidth": 0 }, "documentations": [ { "description": "string", "documentationKind": "General", "documentationUrl": "string", "mediaType": "None" } ], "grossHeight": 0, "grossWidth": 0, "height": 0, "heightCorrection": 0, "isDescriptionEnabled": true, "isDeleted": true, "isHeightEnabled": true, "isReadonly": true, "isWidthEnabled": true, "leadTime": 0.1, "modelCode": "string", "modelDescription": "string", "modelId": "string", "modelImageUrl": "string", "modelInterfaceKey": "string", "polygonNumber": "string", "polygonNumberGrouped": "string", "polygonTypeId": 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 }, "productCategoryId": 0, "productCategoryInterfaceKey": "string", "productCode": "string", "state": "New", "visuals": [ { "name": "string", "url": "string", "remarks": "string" } ], "width": 0, "widthCorrection": 0, "widthMeasurementTypeSettingId": 0, "heightMeasurementTypeSettingId": 0 } ], "currentStatus": { "remarks": "string", "statusDateTime": "2019-08-24T14:15:22Z", "statusDescription": "string", "statusValue": 0 }, "description": "string", "dimensionsInfo": { "maxHeight": 0, "maxWidth": 0, "minHeight": 0, "minWidth": 0 }, "documentations": [ { "description": "string", "documentationKind": "General", "documentationUrl": "string", "mediaType": "None" } ], "grossHeight": 0, "grossWidth": 0, "height": 0, "heightCorrection": 0, "isDescriptionEnabled": true, "isDeleted": true, "isHeightEnabled": true, "isReadonly": true, "isWidthEnabled": true, "leadTime": 0.1, "modelCode": "string", "modelDescription": "string", "modelId": "string", "modelImageUrl": "string", "modelInterfaceKey": "string", "polygonNumber": "string", "polygonNumberGrouped": "string", "polygonTypeId": 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 }, "productCategoryId": 0, "productCategoryInterfaceKey": "string", "productCode": "string", "state": "New", "visuals": [ { "name": "string", "url": "string", "remarks": "string" } ], "width": 0, "widthCorrection": 0, "widthMeasurementTypeSettingId": 0, "heightMeasurementTypeSettingId": 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}/api/gateway/v2/standalonepolygon/setpropertyvaluesSet multiple property values for a Polygon
Request Body
application/json
Options for which Property values 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/standalonepolygon/setpropertyvalues" \ -H "Content-Type: application/json" \ -d '{ "polygonId": "string", "propertyValues": { "property1": "string", "property2": "string" } }'{ "id": "string", "entityId": 0, "lineNumber": 0, "lineNumberSuffix": "string", "attributes": { "property1": "string", "property2": "string" }, "categoryDescription": "string", "categoryFavoriteDescription": "string", "categoryFavoriteId": 0, "categoryLinks": [ { "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" ] } ], "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 } } ], "categoryPresetId": 0, "categoryPresetExternalReference": "string", "chainedChildren": [ { "id": "string", "entityId": 0, "lineNumber": 0, "lineNumberSuffix": "string", "attributes": { "property1": "string", "property2": "string" }, "categoryDescription": "string", "categoryFavoriteDescription": "string", "categoryFavoriteId": 0, "categoryLinks": [ { "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" ] } ], "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 } } ], "categoryPresetId": 0, "categoryPresetExternalReference": "string", "chainedChildren": [], "currentStatus": { "remarks": "string", "statusDateTime": "2019-08-24T14:15:22Z", "statusDescription": "string", "statusValue": 0 }, "description": "string", "dimensionsInfo": { "maxHeight": 0, "maxWidth": 0, "minHeight": 0, "minWidth": 0 }, "documentations": [ { "description": "string", "documentationKind": "General", "documentationUrl": "string", "mediaType": "None" } ], "grossHeight": 0, "grossWidth": 0, "height": 0, "heightCorrection": 0, "isDescriptionEnabled": true, "isDeleted": true, "isHeightEnabled": true, "isReadonly": true, "isWidthEnabled": true, "leadTime": 0.1, "modelCode": "string", "modelDescription": "string", "modelId": "string", "modelImageUrl": "string", "modelInterfaceKey": "string", "polygonNumber": "string", "polygonNumberGrouped": "string", "polygonTypeId": 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 }, "productCategoryId": 0, "productCategoryInterfaceKey": "string", "productCode": "string", "state": "New", "visuals": [ { "name": "string", "url": "string", "remarks": "string" } ], "width": 0, "widthCorrection": 0, "widthMeasurementTypeSettingId": 0, "heightMeasurementTypeSettingId": 0 } ], "currentStatus": { "remarks": "string", "statusDateTime": "2019-08-24T14:15:22Z", "statusDescription": "string", "statusValue": 0 }, "description": "string", "dimensionsInfo": { "maxHeight": 0, "maxWidth": 0, "minHeight": 0, "minWidth": 0 }, "documentations": [ { "description": "string", "documentationKind": "General", "documentationUrl": "string", "mediaType": "None" } ], "grossHeight": 0, "grossWidth": 0, "height": 0, "heightCorrection": 0, "isDescriptionEnabled": true, "isDeleted": true, "isHeightEnabled": true, "isReadonly": true, "isWidthEnabled": true, "leadTime": 0.1, "modelCode": "string", "modelDescription": "string", "modelId": "string", "modelImageUrl": "string", "modelInterfaceKey": "string", "polygonNumber": "string", "polygonNumberGrouped": "string", "polygonTypeId": 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 }, "productCategoryId": 0, "productCategoryInterfaceKey": "string", "productCode": "string", "state": "New", "visuals": [ { "name": "string", "url": "string", "remarks": "string" } ], "width": 0, "widthCorrection": 0, "widthMeasurementTypeSettingId": 0, "heightMeasurementTypeSettingId": 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}/api/gateway/v2/standalonepolygon/applymultipleactionsApply multiple actions to a Polygon, like setting property values, attributes and model.
Request Body
application/json
Options for which actions to apply to the Polygon.
TypeScript Definitions
Use the request body type in TypeScript.
Applies multiple actions to the Polygon
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/api/gateway/v2/standalonepolygon/applymultipleactions" \ -H "Content-Type: application/json" \ -d '{ "polygonId": "string" }'{ "id": "string", "entityId": 0, "lineNumber": 0, "lineNumberSuffix": "string", "attributes": { "property1": "string", "property2": "string" }, "categoryDescription": "string", "categoryFavoriteDescription": "string", "categoryFavoriteId": 0, "categoryLinks": [ { "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" ] } ], "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 } } ], "categoryPresetId": 0, "categoryPresetExternalReference": "string", "chainedChildren": [ { "id": "string", "entityId": 0, "lineNumber": 0, "lineNumberSuffix": "string", "attributes": { "property1": "string", "property2": "string" }, "categoryDescription": "string", "categoryFavoriteDescription": "string", "categoryFavoriteId": 0, "categoryLinks": [ { "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" ] } ], "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 } } ], "categoryPresetId": 0, "categoryPresetExternalReference": "string", "chainedChildren": [], "currentStatus": { "remarks": "string", "statusDateTime": "2019-08-24T14:15:22Z", "statusDescription": "string", "statusValue": 0 }, "description": "string", "dimensionsInfo": { "maxHeight": 0, "maxWidth": 0, "minHeight": 0, "minWidth": 0 }, "documentations": [ { "description": "string", "documentationKind": "General", "documentationUrl": "string", "mediaType": "None" } ], "grossHeight": 0, "grossWidth": 0, "height": 0, "heightCorrection": 0, "isDescriptionEnabled": true, "isDeleted": true, "isHeightEnabled": true, "isReadonly": true, "isWidthEnabled": true, "leadTime": 0.1, "modelCode": "string", "modelDescription": "string", "modelId": "string", "modelImageUrl": "string", "modelInterfaceKey": "string", "polygonNumber": "string", "polygonNumberGrouped": "string", "polygonTypeId": 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 }, "productCategoryId": 0, "productCategoryInterfaceKey": "string", "productCode": "string", "state": "New", "visuals": [ { "name": "string", "url": "string", "remarks": "string" } ], "width": 0, "widthCorrection": 0, "widthMeasurementTypeSettingId": 0, "heightMeasurementTypeSettingId": 0 } ], "currentStatus": { "remarks": "string", "statusDateTime": "2019-08-24T14:15:22Z", "statusDescription": "string", "statusValue": 0 }, "description": "string", "dimensionsInfo": { "maxHeight": 0, "maxWidth": 0, "minHeight": 0, "minWidth": 0 }, "documentations": [ { "description": "string", "documentationKind": "General", "documentationUrl": "string", "mediaType": "None" } ], "grossHeight": 0, "grossWidth": 0, "height": 0, "heightCorrection": 0, "isDescriptionEnabled": true, "isDeleted": true, "isHeightEnabled": true, "isReadonly": true, "isWidthEnabled": true, "leadTime": 0.1, "modelCode": "string", "modelDescription": "string", "modelId": "string", "modelImageUrl": "string", "modelInterfaceKey": "string", "polygonNumber": "string", "polygonNumberGrouped": "string", "polygonTypeId": 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 }, "productCategoryId": 0, "productCategoryInterfaceKey": "string", "productCode": "string", "state": "New", "visuals": [ { "name": "string", "url": "string", "remarks": "string" } ], "width": 0, "widthCorrection": 0, "widthMeasurementTypeSettingId": 0, "heightMeasurementTypeSettingId": 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}/api/gateway/v2/standalonepolygon/createprojectCreate a project for one or multiple standalone polygons
Request Body
application/json
Options for creating a project for standalone polygons
TypeScript Definitions
Use the request body type in TypeScript.
Contains information about the request for initial creation of a Project for Standalone Polygons.
Response Body
application/json
application/json
curl -X POST "https://example.com/api/gateway/v2/standalonepolygon/createproject" \ -H "Content-Type: application/json" \ -d '{}'{ "projectId": "string"}{ "type": "string", "title": "string", "status": 0, "detail": "string", "instance": "string", "extensions": { "property1": null, "property2": null }, "errors": { "property1": [ "string" ], "property2": [ "string" ] }, "property1": null, "property2": null}