PUT api/article/update/styleintersection
Updates a style intersection A ∩ B (everthing but the list of variants)
Request Information
URI Parameters
None.
Body Parameters
PublicAPI.Models.StyleIntersectionUpsertModel| Name | Description | Type | Additional information |
|---|---|---|---|
| StyleId |
The perant id so to say, linking all variants of a certen style together |
integer |
None. |
| SupplierId |
the Id of the supplier providing this style |
integer |
None. |
| ItemGroup |
The ItemGroupId that this style operates in |
integer |
None. |
| StyleParameter1 |
Contains Style information (Season, Brans etc.). See api/article/parameterconfig to find out what goes where |
string |
None. |
| StyleParameter2 |
Contains Style information (Season, Brans etc.). See api/article/parameterconfig to find out what goes where |
string |
None. |
| StyleParameter3 |
Contains Style information (Season, Brans etc.). See api/article/parameterconfig to find out what goes where |
string |
None. |
| StyleParameter4 |
Contains Style information (Season, Brans etc.). See api/article/parameterconfig to find out what goes where |
string |
None. |
| StyleParameter5 |
Contains Style information (Season, Brans etc.). See api/article/parameterconfig to find out what goes where |
string |
None. |
| CostPrice | decimal number |
None. |
|
| SalesPrice | decimal number |
None. |
Request Formats
application/json, text/json
{
"StyleId": 1,
"SupplierId": 2,
"ItemGroup": 3,
"StyleParameter1": "sample string 4",
"StyleParameter2": "sample string 5",
"StyleParameter3": "sample string 6",
"StyleParameter4": "sample string 7",
"StyleParameter5": "sample string 8",
"CostPrice": 9.0,
"SalesPrice": 10.0
}
application/xml, text/xml
<StyleIntersectionUpsertModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PublicAPI.Models"> <CostPrice>9</CostPrice> <ItemGroup>3</ItemGroup> <SalesPrice>10</SalesPrice> <StyleId>1</StyleId> <StyleParameter1>sample string 4</StyleParameter1> <StyleParameter2>sample string 5</StyleParameter2> <StyleParameter3>sample string 6</StyleParameter3> <StyleParameter4>sample string 7</StyleParameter4> <StyleParameter5>sample string 8</StyleParameter5> <SupplierId>2</SupplierId> </StyleIntersectionUpsertModel>
application/x-www-form-urlencoded
Response Information
Resource Description
None.