POST quote/template/{quote}/{quoteTemplate}
Adds a quote templates entries to a quote.
Request Information
URI
https://ofd-api.blueprintcpq.net/quote/template/{quote}/{quoteTemplate}
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
quote |
Quote Identifier. |
globally unique identifier |
Required |
quoteTemplate |
The quote template identifier. |
globally unique identifier |
Required |
Body Parameters
The entries.
Collection of QuoteTemplateEntryUpdateName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
Quantity | integer |
None. |
|
Variants | integer |
None. |
Request Formats
application/json, text/json
Sample:
[ { "Id": "4204ddc5-145e-4d47-9c80-9f46d5a2d037", "Quantity": 2, "Variants": 3 }, { "Id": "4204ddc5-145e-4d47-9c80-9f46d5a2d037", "Quantity": 2, "Variants": 3 } ]
text/html
Sample:
[{"Id":"4204ddc5-145e-4d47-9c80-9f46d5a2d037","Quantity":2,"Variants":3},{"Id":"4204ddc5-145e-4d47-9c80-9f46d5a2d037","Quantity":2,"Variants":3}]
application/xml, text/xml
Sample:
<ArrayOfQuoteTemplateEntryUpdate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Shared.Models.DataModels"> <QuoteTemplateEntryUpdate> <Id>4204ddc5-145e-4d47-9c80-9f46d5a2d037</Id> <Quantity>2</Quantity> <Variants>3</Variants> </QuoteTemplateEntryUpdate> <QuoteTemplateEntryUpdate> <Id>4204ddc5-145e-4d47-9c80-9f46d5a2d037</Id> <Quantity>2</Quantity> <Variants>3</Variants> </QuoteTemplateEntryUpdate> </ArrayOfQuoteTemplateEntryUpdate>
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>