PUT api/admin/features

Request Information

URI Parameters

None.

Body Parameters

PlatformFeatureFlagsDto
NameDescriptionTypeAdditional information
AdminDashboard

boolean

None.

AdminOrderCancel

boolean

None.

AdminOrderRedispatch

boolean

None.

AdminDriverPromotion

boolean

None.

StoreSubscriptions

boolean

None.

FinanceModule

boolean

None.

CustomerPreferredDriver

boolean

None.

CustomerFavoriteDrivers

boolean

None.

DriverPromotionInList

boolean

None.

NearbyDriversList

boolean

None.

PreferredDriverExclusiveDispatch

boolean

None.

ScheduledDelivery

boolean

None.

Coupons

boolean

None.

LoyaltyPointsRedemption

boolean

None.

FavoriteStores

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "adminDashboard": true,
  "adminOrderCancel": true,
  "adminOrderRedispatch": true,
  "adminDriverPromotion": true,
  "storeSubscriptions": true,
  "financeModule": true,
  "customerPreferredDriver": true,
  "customerFavoriteDrivers": true,
  "driverPromotionInList": true,
  "nearbyDriversList": true,
  "preferredDriverExclusiveDispatch": true,
  "scheduledDelivery": true,
  "coupons": true,
  "loyaltyPointsRedemption": true,
  "favoriteStores": true
}

application/xml, text/xml

Sample:
<PlatformFeatureFlagsDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Del.Api.Models.Dtos">
  <AdminDashboard>true</AdminDashboard>
  <AdminDriverPromotion>true</AdminDriverPromotion>
  <AdminOrderCancel>true</AdminOrderCancel>
  <AdminOrderRedispatch>true</AdminOrderRedispatch>
  <Coupons>true</Coupons>
  <CustomerFavoriteDrivers>true</CustomerFavoriteDrivers>
  <CustomerPreferredDriver>true</CustomerPreferredDriver>
  <DriverPromotionInList>true</DriverPromotionInList>
  <FavoriteStores>true</FavoriteStores>
  <FinanceModule>true</FinanceModule>
  <LoyaltyPointsRedemption>true</LoyaltyPointsRedemption>
  <NearbyDriversList>true</NearbyDriversList>
  <PreferredDriverExclusiveDispatch>true</PreferredDriverExclusiveDispatch>
  <ScheduledDelivery>true</ScheduledDelivery>
  <StoreSubscriptions>true</StoreSubscriptions>
</PlatformFeatureFlagsDto>

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 'PlatformFeatureFlagsDto'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.