PUT quote/product/{quote}/{quoteToProduct}
Sets discount percent.
Request Information
URI
https://eurotherm-web-api.xaitcpq.net/quote/product/{quote}/{quoteToProduct}
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
quote |
Quote Identifier. |
globally unique identifier |
Required |
quoteToProduct |
The quote to product identifier. |
globally unique identifier |
Required |
Body Parameters
QuoteProductUpdateName | Description | Type | Additional information |
---|---|---|---|
DiscountPercent | decimal number |
None. |
|
Group | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "DiscountPercent": 1.0, "Group": 2 }
text/html
Sample:
{"DiscountPercent":1.0,"Group":2}
application/xml, text/xml
Sample:
<QuoteProductUpdate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Shared.Models.DataModels"> <DiscountPercent>1</DiscountPercent> <Group>2</Group> </QuoteProductUpdate>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
True if it succeeds, false if it fails.
booleanResponse Formats
application/json, text/json, text/html
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>