POST api/quotations/new
Request Information
URI Parameters
None.
Body Parameters
NewQuoteModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Overview | string |
None. |
|
| Plan | string |
None. |
|
| ExpiryDate | string |
None. |
|
| SubTotal | decimal number |
None. |
|
| Tax | integer |
None. |
|
| TaxAmount | decimal number |
None. |
|
| TotalAmount | decimal number |
None. |
|
| TermsConsditions | string |
None. |
|
| UserId | integer |
None. |
|
| ClientId | integer |
None. |
|
| ServiceList | Collection of NewQuoteDetailModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"Overview": "sample string 1",
"Plan": "sample string 2",
"ExpiryDate": "sample string 3",
"SubTotal": 4.1,
"Tax": 5,
"TaxAmount": 6.1,
"TotalAmount": 7.1,
"TermsConsditions": "sample string 8",
"UserId": 9,
"ClientId": 10,
"ServiceList": [
{
"ServiceId": 1,
"Rate": 2.1,
"Qty": 3,
"Discount": 4,
"SubTotal": 5.1
},
{
"ServiceId": 1,
"Rate": 2.1,
"Qty": 3,
"Discount": 4,
"SubTotal": 5.1
}
]
}
application/xml, text/xml
Sample:
<NewQuoteModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BizBook.Models.NewModels">
<ClientId>10</ClientId>
<ExpiryDate>sample string 3</ExpiryDate>
<Overview>sample string 1</Overview>
<Plan>sample string 2</Plan>
<ServiceList>
<NewQuoteDetailModel>
<Discount>4</Discount>
<Qty>3</Qty>
<Rate>2.1</Rate>
<ServiceId>1</ServiceId>
<SubTotal>5.1</SubTotal>
</NewQuoteDetailModel>
<NewQuoteDetailModel>
<Discount>4</Discount>
<Qty>3</Qty>
<Rate>2.1</Rate>
<ServiceId>1</ServiceId>
<SubTotal>5.1</SubTotal>
</NewQuoteDetailModel>
</ServiceList>
<SubTotal>4.1</SubTotal>
<Tax>5</Tax>
<TaxAmount>6.1</TaxAmount>
<TermsConsditions>sample string 8</TermsConsditions>
<TotalAmount>7.1</TotalAmount>
<UserId>9</UserId>
</NewQuoteModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |