Needio.Services

<back to all web services

SetBasketsDeliveryTypeRequest

Requires Authentication
Required role:Guest
SetBasketsDeliveryTypeRequest Parameters:
NameParameterData TypeRequiredDescription
DeliveryTypequeryDeliveryTypesNo
BaseRequest Parameters:
NameParameterData TypeRequiredDescription
startformDateTimeNo
DeviceUUIDformstringNo
APIKeyformstringNo
isAdminformboolNo
CmdformstringNo
SetBasketsDeliveryTypeResponse Parameters:
NameParameterData TypeRequiredDescription
BasketPricesformBasketPricesDTONo
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
ResultformboolNo
ResMessageformstringNo
ErrorformErrorNo
PageInfoformBasePageInfoNo
Error Parameters:
NameParameterData TypeRequiredDescription
ErrorYnformboolNo
ExYnformboolNo
ErrorCodeformstringNo
ErrorDescriptionformstringNo
BasePageInfo Parameters:
NameParameterData TypeRequiredDescription
TotalRecordCountformintNo
TotalPageCountformintNo
CurrentPageformintNo
BasketPricesDTO Parameters:
NameParameterData TypeRequiredDescription
GiftAmountformdecimalNo
ShippingAmountformdecimalNo
PaymentTotalformdecimalNo
BasketsTotalformdecimalNo
TransTotalformdecimalNo
GrandTotalformdecimalNo
DeliveryTypes Enum:
NameValue
None0
DeliveryToAddress1
DeliveryInStore2
DeliveryByCargo4
SetBasketsDeliveryTypeResponse Parameters:
NameParameterData TypeRequiredDescription
BasketPricesformBasketPricesDTONo

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /csv/reply/SetBasketsDeliveryTypeRequest HTTP/1.1 
Host: baseservices.needion.com 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"DeliveryType":0,"start":"\/Date(-62135596800000-0000)\/","DeviceUUID":"String","APIKey":"String","isAdmin":false,"Cmd":"String"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"BasketPrices":{"GiftAmount":0,"ShippingAmount":0,"PaymentTotal":0,"BasketsTotal":0,"TransTotal":0,"GrandTotal":0},"Result":false,"ResMessage":"String","Error":{"ErrorYn":false,"ExYn":false,"ErrorCode":"String","ErrorDescription":"String"},"PageInfo":{"TotalRecordCount":0,"TotalPageCount":0,"CurrentPage":0}}