Needio.Services

<back to all web services

GetChatBasketRequest

Requires Authentication
The following routes are available for this service:
All Verbs/Chat/GetChatBasket/
GetChatBasketRequest Parameters:
NameParameterData TypeRequiredDescription
ChatIdquerystringNo
IncludeDeliveryTypeInfoqueryboolNo
BaseRequest Parameters:
NameParameterData TypeRequiredDescription
startformDateTimeNo
DeviceUUIDformstringNo
GetChatBasketResponse Parameters:
NameParameterData TypeRequiredDescription
BasketformChatBasketNo
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
ResultformboolNo
ResMessageformstringNo
ErrorformErrorNo
PageInfoformBasePageInfoNo
Error Parameters:
NameParameterData TypeRequiredDescription
ErrorYnformboolNo
ErrorCodeformstringNo
ErrorDescriptionformstringNo
BasePageInfo Parameters:
NameParameterData TypeRequiredDescription
TotalRecordCountformintNo
TotalPageCountformintNo
CurrentPageformintNo
ChatBasket Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
GrandTotalformdecimalNo
VendorTotalformdecimalNo
VendorTotalExpireformDateTime?No
BasketTotalformdecimalNo
SalerOfferYnformboolNo
TransTotalformdecimalNo
ShippingAmountformdecimalNo
PaymentTotalformdecimalNo
DeliveryTypeformDeliveryTypesNo
ItemsformList<ChatBasketItem>No
StoreIdformintNo
StockQuantityUpdatedYNformboolNo
PricesUpdateYnformboolNo
ItemStateUpdatedYNformboolNo
ShippingAddressIdformint?No
BillingAddressIdformint?No
BasketDeliveryInfosformList<ChatBasketDeliveryInfo>No
StoreTypeformStoreTypesNo
PostHeaderformstringNo
StoreHeaderformstringNo
TransactionTypeformTransactionTypes?No
SalerIdformint?No
BuyerIdformint?No
SessionIdformstringNo
DeliveryTypes Enum:
NameValue
None0
DeliveryToAddress1
DeliveryInStore2
DeliveryByCargo4
ChatBasketItem Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
StoreIdformintNo
PostIdformintNo
VariantIdformintNo
NameformstringNo
DescriptionformstringNo
ListPriceformdecimalNo
SalePriceformdecimalNo
UnitPriceformdecimalNo
OldUnitPriceformdecimalNo
QuantityformintNo
NewQuantityformintNo
NewUnitPriceformintNo
StockQuantityUpdatedYNformboolNo
PricesUpdateYnformboolNo
ItemStateUpdatedYNformboolNo
TotalPriceformdecimalNo
MediaIdformint?No
VariantformstringNo
StockTypeformintNo
ItemTypeformPaymentDetailItemTypeNo
PriceTypesformPriceTypes?No
StoreHeaderformstringNo
OldTotalPriceformdecimalNo
CategoryNameformstringNo
PaymentDetailItemType Enum:
NameValue
PHYSICAL0
VIRTUAL1
PriceTypes Enum:
NameValue
NoPrice0
SinglePrice1
MultiVariant2
ChatBasketDeliveryInfo Parameters:
NameParameterData TypeRequiredDescription
DeliveryTypeformDeliveryTypesNo
AmountformdecimalNo
PaymentAmountformdecimalNo
AddressInfoformAddressDTONo
AddressDTO Parameters:
NameParameterData TypeRequiredDescription
AddressAliasformstringNo
Address1formstringNo
Address2formstringNo
CityformstringNo
StateformstringNo
CountryformstringNo
ZipCodeformstringNo
CityIdformint?No
StateIdformint?No
CountryIdformint?No
DistrictformstringNo
StreetformstringNo
BuildingNoformstringNo
DoorNoformstringNo
AddressRecipeformstringNo
GeoAddressformstringNo
LocationformGeoLocationNo
InvoiceYnformboolNo
DeliveryYnformboolNo
ActiveYnformboolNo
DefaultYnformboolNo
Registerformbool?No
GeoLocation Parameters:
NameParameterData TypeRequiredDescription
LonformstringNo
LatformstringNo
GeoAddressformstringNo
IsDeletedformboolNo
StoreTypes Enum:
NameValue
Personel1
PrivateCompany2
LimitedCompany3
TransactionTypes Enum:
NameValue
P2P1
Doping2
SellerAcceptAggrements3
GetChatBasketResponse Parameters:
NameParameterData TypeRequiredDescription
BasketformChatBasketNo

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 /Chat/GetChatBasket/ HTTP/1.1 
Host: baseservices2.needion.com 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"ChatId":"String","IncludeDeliveryTypeInfo":false,"start":"\/Date(1601105117709+0300)\/","DeviceUUID":"String"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"Basket":{"Id":"String","GrandTotal":0,"VendorTotal":0,"VendorTotalExpire":"\/Date(-62135596800000-0000)\/","BasketTotal":0,"SalerOfferYn":false,"TransTotal":0,"ShippingAmount":0,"PaymentTotal":0,"DeliveryType":0,"Items":[{"Id":0,"StoreId":0,"PostId":0,"VariantId":0,"Name":"String","Description":"String","ListPrice":0,"SalePrice":0,"UnitPrice":0,"OldUnitPrice":0,"Quantity":0,"NewQuantity":0,"NewUnitPrice":0,"StockQuantityUpdatedYN":false,"PricesUpdateYn":false,"ItemStateUpdatedYN":false,"TotalPrice":0,"MediaId":0,"Variant":"String","StockType":0,"ItemType":0,"PriceTypes":0,"StoreHeader":"String","OldTotalPrice":0,"CategoryName":"String"}],"StoreId":0,"StockQuantityUpdatedYN":false,"PricesUpdateYn":false,"ItemStateUpdatedYN":false,"ShippingAddressId":0,"BillingAddressId":0,"BasketDeliveryInfos":[{"DeliveryType":0,"Amount":0,"PaymentAmount":0,"AddressInfo":{"AddressAlias":"String","Address1":"String","Address2":"String","City":"String","State":"String","Country":"String","ZipCode":"String","CityId":0,"StateId":0,"CountryId":0,"District":"String","Street":"String","BuildingNo":"String","DoorNo":"String","AddressRecipe":"String","GeoAddress":"String","Location":{"Lon":"String","Lat":"String","GeoAddress":"String","IsDeleted":false},"InvoiceYn":false,"DeliveryYn":false,"ActiveYn":false,"DefaultYn":false,"Register":false}}],"StoreType":1,"PostHeader":"String","StoreHeader":"String","TransactionType":0,"SalerId":0,"BuyerId":0,"SessionId":"String"},"Result":false,"ResMessage":"String","Error":{"ErrorYn":false,"ErrorCode":"String","ErrorDescription":"String"},"PageInfo":{"TotalRecordCount":0,"TotalPageCount":0,"CurrentPage":0}}