POST api/quotation/save
Request Information
URI Parameters
None.
Body Parameters
Collection of QuotationDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| BOSEId | integer |
None. |
|
| BRQId | integer |
None. |
|
| UserId | integer |
None. |
|
| Quantity | decimal number |
None. |
|
| UnitPrice | decimal number |
None. |
|
| Price | decimal number |
None. |
|
| Status | boolean |
None. |
|
| Description | string |
None. |
|
| BuyerRequestId | integer |
None. |
|
| IsQuotationToMultipleBuyers | boolean |
None. |
|
| ActualQuantity | decimal number |
None. |
|
| ActualPrice | decimal number |
None. |
|
| QuotationCreateBy | string |
None. |
|
| OnbehalfOfId | integer |
None. |
|
| StatusId | integer |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"BOSEId": 1,
"BRQId": 2,
"UserId": 1,
"Quantity": 1.0,
"UnitPrice": 1.0,
"Price": 1.0,
"Status": true,
"Description": "sample string 4",
"BuyerRequestId": 5,
"IsQuotationToMultipleBuyers": true,
"ActualQuantity": 1.0,
"ActualPrice": 1.0,
"QuotationCreateBy": "sample string 6",
"OnbehalfOfId": 7,
"StatusId": 1
},
{
"BOSEId": 1,
"BRQId": 2,
"UserId": 1,
"Quantity": 1.0,
"UnitPrice": 1.0,
"Price": 1.0,
"Status": true,
"Description": "sample string 4",
"BuyerRequestId": 5,
"IsQuotationToMultipleBuyers": true,
"ActualQuantity": 1.0,
"ActualPrice": 1.0,
"QuotationCreateBy": "sample string 6",
"OnbehalfOfId": 7,
"StatusId": 1
}
]
application/xml, text/xml
Sample:
<ArrayOfQuotationDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SUM.Prod.RS.Common.Components.DTO.BuyerRequest">
<QuotationDTO>
<ActualPrice>1</ActualPrice>
<ActualQuantity>1</ActualQuantity>
<BOSEId>1</BOSEId>
<BRQId>2</BRQId>
<BuyerRequestId>5</BuyerRequestId>
<Description>sample string 4</Description>
<IsQuotationToMultipleBuyers>true</IsQuotationToMultipleBuyers>
<OnbehalfOfId>7</OnbehalfOfId>
<Price>1</Price>
<Quantity>1</Quantity>
<QuotationCreateBy>sample string 6</QuotationCreateBy>
<Status>true</Status>
<StatusId>1</StatusId>
<UnitPrice>1</UnitPrice>
<UserId>1</UserId>
</QuotationDTO>
<QuotationDTO>
<ActualPrice>1</ActualPrice>
<ActualQuantity>1</ActualQuantity>
<BOSEId>1</BOSEId>
<BRQId>2</BRQId>
<BuyerRequestId>5</BuyerRequestId>
<Description>sample string 4</Description>
<IsQuotationToMultipleBuyers>true</IsQuotationToMultipleBuyers>
<OnbehalfOfId>7</OnbehalfOfId>
<Price>1</Price>
<Quantity>1</Quantity>
<QuotationCreateBy>sample string 6</QuotationCreateBy>
<Status>true</Status>
<StatusId>1</StatusId>
<UnitPrice>1</UnitPrice>
<UserId>1</UserId>
</QuotationDTO>
</ArrayOfQuotationDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
booleanResponse Formats
application/json, text/json
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>