PUT api/ConfiguredItem/Configuration
Returns available ConfigAttributes, ConfigOptions, ConfigLineItems, and ConfigurationString based on selected options (and restrictions set up in SalesPad)
For each AttributeOptionPair, send Attribute ID and
EITHER
Option array:
- Option ID(s) for dropdowns,
- true/false for checkbox,
- or text value if textbox.
- Sub_Configuration (of AttributeOptionPairs)
Request Information
Request body formats
application/json, text/json
Sample:
{ "Item_Number": "sample string 1", "Version": 2, "AttributeOptionPairs": [ { "Attribute_ID": 1, "Option": [ "sample string 1", "sample string 2", "sample string 3" ], "Sub_Configuration": [] }, { "Attribute_ID": 1, "Option": [ "sample string 1", "sample string 2", "sample string 3" ], "Sub_Configuration": [] }, { "Attribute_ID": 1, "Option": [ "sample string 1", "sample string 2", "sample string 3" ], "Sub_Configuration": [] } ], "Quantity": 3, "UofM": "sample string 4", "Sales_Doc_Type": "sample string 5", "Sales_Doc_Num": "sample string 6", "Source": "sample string 7" }
Response Information
Response body formats
application/json, text/json
Sample:
{ "SaveMessage": "sample string 1", "ErrorMessage": "sample string 2", "Item_Number": "sample string 1", "Version": 2, "Configuration_ID": 3, "Name": "sample string 4", "Description": "sample string 5", "Status": 6, "Configuration_Type": 7, "String_Code": "sample string 8", "Price": 9.0, "Price_Formula": "sample string 10", "Pricing_Type": 11, "Begin_Date": "2025-04-04T00:12:54.98-04:00", "End_Date": "2025-04-04T00:12:54.98-04:00", "Backflush_Item": true, "Costing_Type": 15, "Flat_Fee": 16.0, "Attributes": [], "UofMs": [], "UnitOfMeasure": "sample string 20", "Quantity": 21.0, "Selections": {}, "IsEditable": false, "Configuration_String": "sample string 8", "Unit_Price": 5.0, "Created_By": "sample string 28", "Updated_By": "sample string 29", "Created_On": "2025-04-04T00:12:55.027-04:00", "Updated_On": "2025-04-04T00:12:55.027-04:00", "CanDeepCopy": false, "AA_Tiered_Mapping_Matched_On": "sample string 32", "IsNew": true, "FunctionalCurrency": true }