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
SetBasketsDeliveryTypeResponse Parameters:
NameParameterData TypeRequiredDescription
BasketPricesformBasketPricesDTONo
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
ResultformboolNo
ResMessageformstringNo
ErrorformErrorNo
PageInfoformBasePageInfoNo
Error Parameters:
NameParameterData TypeRequiredDescription
ErrorYnformboolNo
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(1635365688044+0300)\/","DeviceUUID":"String","APIKey":"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,"ErrorCode":"String","ErrorDescription":"String"},"PageInfo":{"TotalRecordCount":0,"TotalPageCount":0,"CurrentPage":0}}