POST api/Portal/Quotes/{QuoteID}/items
Create quote items.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
QuoteID | integer |
Required |
Body Parameters
IBMS_Cloud_API.QuotesModel+NewQuoteItemsFeildsName | Description | Type | Additional information |
---|---|---|---|
TypeID | integer |
None. |
|
QuoteItemDescription | string |
None. |
|
QuoteItemFixedRateSellPrice | decimal number |
None. |
|
QuoteItemFixedRateMarkup | decimal number |
None. |
|
QuoteItemFixedRateMargin | decimal number |
None. |
|
QuoteItemFixedRateCostPrice | decimal number |
None. |
|
QuoteItemQty | decimal number |
None. |
|
QuoteItemUnitCost | decimal number |
None. |
|
QuoteItemUnitSell | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{ "TypeID": 1, "QuoteItemDescription": "sample string 2", "QuoteItemFixedRateSellPrice": 3.1, "QuoteItemFixedRateMarkup": 4.1, "QuoteItemFixedRateMargin": 5.1, "QuoteItemFixedRateCostPrice": 6.1, "QuoteItemQty": 7.1, "QuoteItemUnitCost": 8.1, "QuoteItemUnitSell": 9.1 }
text/html
Sample:
{"TypeID":1,"QuoteItemDescription":"sample string 2","QuoteItemFixedRateSellPrice":3.1,"QuoteItemFixedRateMarkup":4.1,"QuoteItemFixedRateMargin":5.1,"QuoteItemFixedRateCostPrice":6.1,"QuoteItemQty":7.1,"QuoteItemUnitCost":8.1,"QuoteItemUnitSell":9.1}
application/xml, text/xml
Sample:
<QuotesModel.NewQuoteItemsFeilds xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IBMS_Cloud_API"> <QuoteItemDescription>sample string 2</QuoteItemDescription> <QuoteItemFixedRateCostPrice>6.1</QuoteItemFixedRateCostPrice> <QuoteItemFixedRateMargin>5.1</QuoteItemFixedRateMargin> <QuoteItemFixedRateMarkup>4.1</QuoteItemFixedRateMarkup> <QuoteItemFixedRateSellPrice>3.1</QuoteItemFixedRateSellPrice> <QuoteItemQty>7.1</QuoteItemQty> <QuoteItemUnitCost>8.1</QuoteItemUnitCost> <QuoteItemUnitSell>9.1</QuoteItemUnitSell> <TypeID>1</TypeID> </QuotesModel.NewQuoteItemsFeilds>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ObjectNone.
Response Formats
application/json, text/json, text/html
Sample:
{}
application/xml, text/xml
Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />