POST api/admin/pricing/preview

Request Information

URI Parameters

None.

Body Parameters

PricingPreviewRequestDto
NameDescriptionTypeAdditional 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:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'PricingPreviewRequestDto'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.