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 .jsv suffix or ?format=jsv

HTTP + JSV

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

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

{
	DeliveryType: 0,
	start: 2021-12-08T03:43:58.3004264+03:00,
	DeviceUUID: String,
	APIKey: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
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
	}
}