Needio.Services

<back to all web services

GetSmSettingsRequest

The following routes are available for this service:
All Verbs/Sm/GetSmCategorySettings
GetSmSettingsRequest Parameters:
NameParameterData TypeRequiredDescription
IdqueryintNo
CodequerystringNo
PostTypesYnqueryboolNo
CatChainYnqueryboolNo
CatListYnqueryboolNo
AttListYnqueryboolNo
StoreSettingYnqueryboolNo
PostSettingYnqueryboolNo
PtSettingYnqueryboolNo
BrandYnqueryboolNo
VAttDefYnqueryboolNo
VAttDataYnqueryboolNo
MinLevelqueryintNo
BaseRequest Parameters:
NameParameterData TypeRequiredDescription
startformDateTimeNo
DeviceUUIDformstringNo
APIKeyformstringNo
isAdminformboolNo
CmdformstringNo
GetSmSettingsResponse Parameters:
NameParameterData TypeRequiredDescription
CategoryChainformSmCategoryMetaDTONo
CategoryListformList<SmCategoryMetaDTO>No
PostTypeformSmCategoryMetaDTONo
PostTypesformList<SmCategoryMetaDTO>No
AttributesListformList<SmAttributeDefDTO>No
BrandsformList<BrandDto>No
PostSettingformPostSettingsNo
StoreSettingformStoreSettingsNo
PtSettingformPtSettingsNo
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
ResultformboolNo
ResMessageformstringNo
ErrorformErrorNo
PageInfoformBasePageInfoNo
Error Parameters:
NameParameterData TypeRequiredDescription
ErrorYnformboolNo
ExYnformboolNo
ErrorCodeformstringNo
ErrorDescriptionformstringNo
BasePageInfo Parameters:
NameParameterData TypeRequiredDescription
TotalRecordCountformintNo
TotalPageCountformintNo
CurrentPageformintNo
SmCategoryMetaDTO Parameters:
NameParameterData TypeRequiredDescription
CTypeformSmCategoryTypeNo
SearchYnformboolNo
OrderformintNo
NTypeformSmCategoryTypeNo
FriendlyURLformstringNo
SelectedformboolNo
SubCatsformList<SmCategoryMetaDTO>No
LevelformbyteNo
DeepestYnformbool?No
CountformintNo
SearchWeightformdecimal?No
SmCategoryInfoDTO Parameters:
NameParameterData TypeRequiredDescription
CategoryIdformintNo
NameformstringNo
CodeformstringNo
PIdformshort?No
ActiveYnformboolNo
TagsformstringNo
TitleformstringNo
KeywordsformstringNo
MetadataformstringNo
CategoryLabelformstringNo
SmCategoryType Enum:
NameValue
None0
PostType1
StoreCategory2
PostCategory3
Department11
Brand21
Model23
SmAttributeDefDTO Parameters:
NameParameterData TypeRequiredDescription
STypeformSmAttributeSearchTypesNo
AnyTextformstringNo
AllTextformstringNo
CodeformstringNo
ITypeformSmInputTypesNo
AttributeDatasformList<SmAttributeDataDTO>No
ParentAttributeDefIdformshort?No
HeaderTextformstringNo
SmAttributeInfoDTO Parameters:
NameParameterData TypeRequiredDescription
AttributeDefIdformshortNo
NameformstringNo
LabelTextformstringNo
RequiredformboolNo
ATypeformSmAttributeTypesNo
DefaultKeyformstringNo
DefaultValueformstringNo
MinValueformint?No
MaxValueformint?No
SmAttributeTypes Enum:
NameValue
Text1
Number2
Combo11
MultiSelect12
State13
Brand21
SmAttributeSearchTypes Enum:
NameValue
None0
NumberBetween2
SingleSelect11
MultiSelect12
SmInputTypes Enum:
NameValue
Text1
Number2
Tel3
SmAttributeDataDTO Parameters:
NameParameterData TypeRequiredDescription
KeyformstringNo
ValueformstringNo
CountformintNo
OrderformintNo
BrandDto Parameters:
NameParameterData TypeRequiredDescription
BrandIdformintNo
BrandKeyformstringNo
BrandNameformstringNo
CountformintNo
PostSettings Parameters:
NameParameterData TypeRequiredDescription
UseMapInPostformUseTypesNo
UseStartEndDateformboolNo
UseBrandYnformUseTypesNo
AddBrand2HeaderYnformboolNo
MaxMediaCountformintNo
UseStockformUseTypesNo
UseConditionformUseTypesNo
UseSaleTypeformUseTypesNo
UsePostDescformUseTypesNo
UsePostSummaryformUseTypesNo
AddressLevelformAddressLevelsNo
LabelDescriptionformstringNo
LabelHeaderformstringNo
LabelAddToBasketformstringNo
LabelChatformstringNo
LabelPriceformstringNo
UseNoPriceformboolNo
UseSinglePriceformboolNo
UseVariantformboolNo
UseRangePriceformboolNo
AllowCustomVariantformboolNo
TimeBasedVariantYnformboolNo
VariantAtt1DefformintNo
VariantAtt2DefformintNo
VariantAtt3DefformintNo
VariantAtt4DefformintNo
AllowSaleformboolNo
AllowReturnformboolNo
AllowSerialNumberformboolNo
MaxReturnDaysformintNo
AllowStopInSalerApproveformboolNo
AllowAddingToBasketformboolNo
ServiceRegionYnformboolNo
UseCatalogProductformUseTypesNo
MaxInstallmentNumberformintNo
MaxInstallmentNumber2formintNo
MaxInstallmentComNumberformintNo
MaxInstallmentLimitformdecimalNo
MaxInstallmentLimit2formdecimalNo
MaxInstallmentComLimitformdecimalNo
CommissionRateformdecimalNo
Plus18formboolNo
CategoryListStyleformintNo
AllowPersonalizedYnformboolNo
UseTypes Enum:
NameValue
None0
Optional1
Required2
AddressLevels Enum:
NameValue
None0
State2
City3
District4
StoreSettings Parameters:
NameParameterData TypeRequiredDescription
UseMapInStoreformUseTypesNo
UseStoreDescformUseTypesNo
UseStoreSummaryformUseTypesNo
AllowActiveLocationformboolNo
AllowRouteMessageformboolNo
MaxMediaCountformintNo
UseDepartmentYnformboolNo
UseMinAmountForOrderformboolNo
AllowEmptyOrCustomBasketformboolNo
UseDeliveryMethodsformboolNo
AllowDeliveryToAddressformboolNo
AllowDeliveryInStoreformboolNo
AllowDeliveryByCargoformboolNo
ShippingPriceYnformboolNo
UseAmountPerDistanceformboolNo
UseAmountPerMinuteformboolNo
UseOpenHoursformboolNo
DefaultMinAmountForOrderformintNo
UseAverageServiceTimeformboolNo
DefaultAverageServiceTimeformintNo
UseMaxDeliveryDistanceformboolNo
DefaultMaxDistanceformintNo
PaymentWithNeedionformboolNo
PaymentOnAddresYnformboolNo
DefaultCommissionRateformdecimalNo
PtSettings Parameters:
NameParameterData TypeRequiredDescription
SearchMapOnlyUsedConditionformboolNo
SearchMapDefaultScaleformintNo
SearchPostYnformboolNo
SearchStoreYnformboolNo
SearchPostOnMapYnformboolNo
SearchStoreOnMapYnformboolNo
SearchConditionYnformboolNo
SearchSaleTypeYnformboolNo
SearchDeliveryTypeYnformboolNo
SearchOpportunityProductsYnformboolNo
PtAllowSaleYnformboolNo
SearchDefaultformItemTypesNo
SearchMapMethodformItemTypesNo
DefaultCommissionRateformdecimalNo
VirtualDepartmentSourceformstringNo
FriendlyUrlSourceformstringNo
SearchAddressLevelformAddressLevelsNo
PostTypeDTO Parameters:
NameParameterData TypeRequiredDescription
PostTypeIdformintNo
NameformstringNo
DesciptionformstringNo
FriendlyUrlformstringNo
ActiveYnformboolNo
ItemTypes Enum:
NameValue
Post1
Store2
Category3
Product4
Campaign5
Banner21
GetSmSettingsResponse Parameters:
NameParameterData TypeRequiredDescription
CategoryChainformSmCategoryMetaDTONo
CategoryListformList<SmCategoryMetaDTO>No
PostTypeformSmCategoryMetaDTONo
PostTypesformList<SmCategoryMetaDTO>No
AttributesListformList<SmAttributeDefDTO>No
BrandsformList<BrandDto>No
PostSettingformPostSettingsNo
StoreSettingformStoreSettingsNo
PtSettingformPtSettingsNo

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 /Sm/GetSmCategorySettings HTTP/1.1 
Host: baseservices.needion.com 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"Id":0,"Code":"String","PostTypesYn":false,"CatChainYn":false,"CatListYn":false,"AttListYn":false,"StoreSettingYn":false,"PostSettingYn":false,"PtSettingYn":false,"BrandYn":false,"VAttDefYn":false,"VAttDataYn":false,"MinLevel":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

{"CategoryChain":{"CType":0,"SearchYn":false,"Order":0,"NType":0,"FriendlyURL":"String","Selected":false,"SubCats":[{"CType":0,"SearchYn":false,"Order":0,"NType":0,"FriendlyURL":"String","Selected":false,"SubCats":[{"CType":0,"SearchYn":false,"Order":0,"NType":0,"FriendlyURL":"String","Selected":false,"SubCats":[{}],"Level":0,"DeepestYn":false,"Count":0,"SearchWeight":0,"CategoryId":0,"Name":"String","Code":"String","PId":0,"ActiveYn":false,"Tags":"String","Title":"String","Keywords":"String","Metadata":"String","CategoryLabel":"String"}],"Level":0,"DeepestYn":false,"Count":0,"SearchWeight":0,"CategoryId":0,"Name":"String","Code":"String","PId":0,"ActiveYn":false,"Tags":"String","Title":"String","Keywords":"String","Metadata":"String","CategoryLabel":"String"}],"Level":0,"DeepestYn":false,"Count":0,"SearchWeight":0,"CategoryId":0,"Name":"String","Code":"String","PId":0,"ActiveYn":false,"Tags":"String","Title":"String","Keywords":"String","Metadata":"String","CategoryLabel":"String"},"CategoryList":[{"CType":0,"SearchYn":false,"Order":0,"NType":0,"FriendlyURL":"String","Selected":false,"SubCats":[{"CType":0,"SearchYn":false,"Order":0,"NType":0,"FriendlyURL":"String","Selected":false,"SubCats":[{"CType":0,"SearchYn":false,"Order":0,"NType":0,"FriendlyURL":"String","Selected":false,"Level":0,"DeepestYn":false,"Count":0,"SearchWeight":0,"CategoryId":0,"Name":"String","Code":"String","PId":0,"ActiveYn":false,"Tags":"String","Title":"String","Keywords":"String","Metadata":"String","CategoryLabel":"String"}],"Level":0,"DeepestYn":false,"Count":0,"SearchWeight":0,"CategoryId":0,"Name":"String","Code":"String","PId":0,"ActiveYn":false,"Tags":"String","Title":"String","Keywords":"String","Metadata":"String","CategoryLabel":"String"}],"Level":0,"DeepestYn":false,"Count":0,"SearchWeight":0,"CategoryId":0,"Name":"String","Code":"String","PId":0,"ActiveYn":false,"Tags":"String","Title":"String","Keywords":"String","Metadata":"String","CategoryLabel":"String"}],"PostType":{"CType":0,"SearchYn":false,"Order":0,"NType":0,"FriendlyURL":"String","Selected":false,"SubCats":[{"CType":0,"SearchYn":false,"Order":0,"NType":0,"FriendlyURL":"String","Selected":false,"SubCats":[{"CType":0,"SearchYn":false,"Order":0,"NType":0,"FriendlyURL":"String","Selected":false,"SubCats":[{}],"Level":0,"DeepestYn":false,"Count":0,"SearchWeight":0,"CategoryId":0,"Name":"String","Code":"String","PId":0,"ActiveYn":false,"Tags":"String","Title":"String","Keywords":"String","Metadata":"String","CategoryLabel":"String"}],"Level":0,"DeepestYn":false,"Count":0,"SearchWeight":0,"CategoryId":0,"Name":"String","Code":"String","PId":0,"ActiveYn":false,"Tags":"String","Title":"String","Keywords":"String","Metadata":"String","CategoryLabel":"String"}],"Level":0,"DeepestYn":false,"Count":0,"SearchWeight":0,"CategoryId":0,"Name":"String","Code":"String","PId":0,"ActiveYn":false,"Tags":"String","Title":"String","Keywords":"String","Metadata":"String","CategoryLabel":"String"},"PostTypes":[{"CType":0,"SearchYn":false,"Order":0,"NType":0,"FriendlyURL":"String","Selected":false,"SubCats":[{"CType":0,"SearchYn":false,"Order":0,"NType":0,"FriendlyURL":"String","Selected":false,"SubCats":[{"CType":0,"SearchYn":false,"Order":0,"NType":0,"FriendlyURL":"String","Selected":false,"Level":0,"DeepestYn":false,"Count":0,"SearchWeight":0,"CategoryId":0,"Name":"String","Code":"String","PId":0,"ActiveYn":false,"Tags":"String","Title":"String","Keywords":"String","Metadata":"String","CategoryLabel":"String"}],"Level":0,"DeepestYn":false,"Count":0,"SearchWeight":0,"CategoryId":0,"Name":"String","Code":"String","PId":0,"ActiveYn":false,"Tags":"String","Title":"String","Keywords":"String","Metadata":"String","CategoryLabel":"String"}],"Level":0,"DeepestYn":false,"Count":0,"SearchWeight":0,"CategoryId":0,"Name":"String","Code":"String","PId":0,"ActiveYn":false,"Tags":"String","Title":"String","Keywords":"String","Metadata":"String","CategoryLabel":"String"}],"AttributesList":[{"SType":0,"AnyText":"String","AllText":"String","Code":"String","IType":1,"AttributeDatas":[{"Key":"String","Value":"String","Count":0,"Order":0}],"ParentAttributeDefId":0,"HeaderText":"String","AttributeDefId":0,"Name":"String","LabelText":"String","Required":false,"AType":1,"DefaultKey":"String","DefaultValue":"String","MinValue":0,"MaxValue":0}],"Brands":[{"BrandId":0,"BrandKey":"String","BrandName":"String","Count":0}],"PostSetting":{"UseMapInPost":0,"UseStartEndDate":false,"UseBrandYn":0,"AddBrand2HeaderYn":false,"MaxMediaCount":0,"UseStock":0,"UseCondition":0,"UseSaleType":0,"UsePostDesc":0,"UsePostSummary":0,"AddressLevel":0,"LabelDescription":"String","LabelHeader":"String","LabelAddToBasket":"String","LabelChat":"String","LabelPrice":"String","UseNoPrice":false,"UseSinglePrice":false,"UseVariant":false,"UseRangePrice":false,"AllowCustomVariant":false,"TimeBasedVariantYn":false,"VariantAtt1Def":0,"VariantAtt2Def":0,"VariantAtt3Def":0,"VariantAtt4Def":0,"AllowSale":false,"AllowReturn":false,"AllowSerialNumber":false,"MaxReturnDays":0,"AllowStopInSalerApprove":false,"AllowAddingToBasket":false,"ServiceRegionYn":false,"UseCatalogProduct":0,"MaxInstallmentNumber":0,"MaxInstallmentNumber2":0,"MaxInstallmentComNumber":0,"MaxInstallmentLimit":0,"MaxInstallmentLimit2":0,"MaxInstallmentComLimit":0,"CommissionRate":0,"Plus18":false,"CategoryListStyle":0,"AllowPersonalizedYn":false},"StoreSetting":{"UseMapInStore":0,"UseStoreDesc":0,"UseStoreSummary":0,"AllowActiveLocation":false,"AllowRouteMessage":false,"MaxMediaCount":0,"UseDepartmentYn":false,"UseMinAmountForOrder":false,"AllowEmptyOrCustomBasket":false,"UseDeliveryMethods":false,"AllowDeliveryToAddress":false,"AllowDeliveryInStore":false,"AllowDeliveryByCargo":false,"ShippingPriceYn":false,"UseAmountPerDistance":false,"UseAmountPerMinute":false,"UseOpenHours":false,"DefaultMinAmountForOrder":0,"UseAverageServiceTime":false,"DefaultAverageServiceTime":0,"UseMaxDeliveryDistance":false,"DefaultMaxDistance":0,"PaymentWithNeedion":false,"PaymentOnAddresYn":false,"DefaultCommissionRate":0},"PtSetting":{"SearchMapOnlyUsedCondition":false,"SearchMapDefaultScale":0,"SearchPostYn":false,"SearchStoreYn":false,"SearchPostOnMapYn":false,"SearchStoreOnMapYn":false,"SearchConditionYn":false,"SearchSaleTypeYn":false,"SearchDeliveryTypeYn":false,"SearchOpportunityProductsYn":false,"PtAllowSaleYn":false,"SearchDefault":1,"SearchMapMethod":1,"DefaultCommissionRate":0,"VirtualDepartmentSource":"String","FriendlyUrlSource":"String","SearchAddressLevel":0,"PostTypeId":0,"Name":"String","Desciption":"String","FriendlyUrl":"String","ActiveYn":false},"Result":false,"ResMessage":"String","Error":{"ErrorYn":false,"ExYn":false,"ErrorCode":"String","ErrorDescription":"String"},"PageInfo":{"TotalRecordCount":0,"TotalPageCount":0,"CurrentPage":0}}