POST api/Quoting?IsQuote={IsQuote}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| IsQuote | boolean |
Default value is True |
Body Parameters
BindQuoteViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Name | string |
Required |
|
| Description | string |
None. |
|
| QuoteTypeId | integer |
None. |
|
| ValidFrom | date |
None. |
|
| ValidTo | date |
None. |
|
| CustomerIds | Collection of integer |
None. |
|
| CarrierIds | Collection of integer |
None. |
|
| StatusId | integer |
Required |
|
| Rates | Collection of SimplifiedRateQuoteCategoryViewModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"Name": "sample string 1",
"Description": "sample string 2",
"QuoteTypeId": 1,
"ValidFrom": "2025-12-05T23:58:59.3412441-08:00",
"ValidTo": "2025-12-05T23:58:59.3412441-08:00",
"CustomerIds": [
1,
1
],
"CarrierIds": [
1,
1
],
"StatusId": 3,
"Rates": [
{
"RateCategoryId": 1,
"RateCategoryName": "sample string 1",
"ServiceId": 2,
"ModeId": 1,
"QuoteRates": [
{
"RateId": 1,
"Position": 2,
"ChargeId": 3,
"QuoteChargeCalculId": 1,
"Rate": 4.0,
"MinCharge": 1.0,
"MaxCharge": 1.0,
"FreeTime": 1.0,
"IsVariable": true,
"IsQuickAdd": true,
"IsRounding": true,
"RoundingDigits": 8,
"RatingTableId": 1
},
{
"RateId": 1,
"Position": 2,
"ChargeId": 3,
"QuoteChargeCalculId": 1,
"Rate": 4.0,
"MinCharge": 1.0,
"MaxCharge": 1.0,
"FreeTime": 1.0,
"IsVariable": true,
"IsQuickAdd": true,
"IsRounding": true,
"RoundingDigits": 8,
"RatingTableId": 1
}
]
},
{
"RateCategoryId": 1,
"RateCategoryName": "sample string 1",
"ServiceId": 2,
"ModeId": 1,
"QuoteRates": [
{
"RateId": 1,
"Position": 2,
"ChargeId": 3,
"QuoteChargeCalculId": 1,
"Rate": 4.0,
"MinCharge": 1.0,
"MaxCharge": 1.0,
"FreeTime": 1.0,
"IsVariable": true,
"IsQuickAdd": true,
"IsRounding": true,
"RoundingDigits": 8,
"RatingTableId": 1
},
{
"RateId": 1,
"Position": 2,
"ChargeId": 3,
"QuoteChargeCalculId": 1,
"Rate": 4.0,
"MinCharge": 1.0,
"MaxCharge": 1.0,
"FreeTime": 1.0,
"IsVariable": true,
"IsQuickAdd": true,
"IsRounding": true,
"RoundingDigits": 8,
"RatingTableId": 1
}
]
}
]
}
application/xml, text/xml
Sample:
<BindQuoteViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eMpowerCore.ViewModels.Quote">
<CarrierIds xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:int>1</d2p1:int>
<d2p1:int>1</d2p1:int>
</CarrierIds>
<CustomerIds xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:int>1</d2p1:int>
<d2p1:int>1</d2p1:int>
</CustomerIds>
<Description>sample string 2</Description>
<Name>sample string 1</Name>
<QuoteTypeId>1</QuoteTypeId>
<Rates>
<SimplifiedRateQuoteCategoryViewModel>
<ModeId>1</ModeId>
<QuoteRates>
<SimplifiedRateQuoteViewModel>
<ChargeId>3</ChargeId>
<FreeTime>1</FreeTime>
<IsQuickAdd>true</IsQuickAdd>
<IsRounding>true</IsRounding>
<IsVariable>true</IsVariable>
<MaxCharge>1</MaxCharge>
<MinCharge>1</MinCharge>
<Position>2</Position>
<QuoteChargeCalculId>1</QuoteChargeCalculId>
<Rate>4</Rate>
<RateId>1</RateId>
<RatingTableId>1</RatingTableId>
<RoundingDigits>8</RoundingDigits>
</SimplifiedRateQuoteViewModel>
<SimplifiedRateQuoteViewModel>
<ChargeId>3</ChargeId>
<FreeTime>1</FreeTime>
<IsQuickAdd>true</IsQuickAdd>
<IsRounding>true</IsRounding>
<IsVariable>true</IsVariable>
<MaxCharge>1</MaxCharge>
<MinCharge>1</MinCharge>
<Position>2</Position>
<QuoteChargeCalculId>1</QuoteChargeCalculId>
<Rate>4</Rate>
<RateId>1</RateId>
<RatingTableId>1</RatingTableId>
<RoundingDigits>8</RoundingDigits>
</SimplifiedRateQuoteViewModel>
</QuoteRates>
<RateCategoryId>1</RateCategoryId>
<RateCategoryName>sample string 1</RateCategoryName>
<ServiceId>2</ServiceId>
</SimplifiedRateQuoteCategoryViewModel>
<SimplifiedRateQuoteCategoryViewModel>
<ModeId>1</ModeId>
<QuoteRates>
<SimplifiedRateQuoteViewModel>
<ChargeId>3</ChargeId>
<FreeTime>1</FreeTime>
<IsQuickAdd>true</IsQuickAdd>
<IsRounding>true</IsRounding>
<IsVariable>true</IsVariable>
<MaxCharge>1</MaxCharge>
<MinCharge>1</MinCharge>
<Position>2</Position>
<QuoteChargeCalculId>1</QuoteChargeCalculId>
<Rate>4</Rate>
<RateId>1</RateId>
<RatingTableId>1</RatingTableId>
<RoundingDigits>8</RoundingDigits>
</SimplifiedRateQuoteViewModel>
<SimplifiedRateQuoteViewModel>
<ChargeId>3</ChargeId>
<FreeTime>1</FreeTime>
<IsQuickAdd>true</IsQuickAdd>
<IsRounding>true</IsRounding>
<IsVariable>true</IsVariable>
<MaxCharge>1</MaxCharge>
<MinCharge>1</MinCharge>
<Position>2</Position>
<QuoteChargeCalculId>1</QuoteChargeCalculId>
<Rate>4</Rate>
<RateId>1</RateId>
<RatingTableId>1</RatingTableId>
<RoundingDigits>8</RoundingDigits>
</SimplifiedRateQuoteViewModel>
</QuoteRates>
<RateCategoryId>1</RateCategoryId>
<RateCategoryName>sample string 1</RateCategoryName>
<ServiceId>2</ServiceId>
</SimplifiedRateQuoteCategoryViewModel>
</Rates>
<StatusId>3</StatusId>
<ValidFrom>2025-12-05T23:58:59.3412441-08:00</ValidFrom>
<ValidTo>2025-12-05T23:58:59.3412441-08:00</ValidTo>
</BindQuoteViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.