POST api/admin/pricing/preview
Request Information
URI Parameters
None.
Body Parameters
PricingPreviewRequestDto| Name | Description | Type | Additional information |
|---|---|---|---|
| StoreId | integer |
None. |
|
| StoreLat | decimal number |
None. |
|
| StoreLng | decimal number |
None. |
|
| CustomerLat | decimal number |
None. |
|
| CustomerLng | decimal number |
None. |
|
| SubtotalBase | decimal number |
None. |
|
| IsPriority | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"storeId": 1,
"storeLat": 1.0,
"storeLng": 1.0,
"customerLat": 1.0,
"customerLng": 2.0,
"subtotalBase": 3.0,
"isPriority": true
}
application/xml, text/xml
Sample:
<PricingPreviewRequestDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Del.Api.Models.Dtos"> <CustomerLat>1</CustomerLat> <CustomerLng>2</CustomerLng> <IsPriority>true</IsPriority> <StoreId>1</StoreId> <StoreLat>1</StoreLat> <StoreLng>1</StoreLng> <SubtotalBase>3</SubtotalBase> </PricingPreviewRequestDto>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.