All Verbs | /Sm/GetSearchSetting |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Code | query | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
start | form | DateTime | No | |
DeviceUUID | form | string | No | |
APIKey | form | string | No | |
isAdmin | form | bool | No | |
Cmd | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Settings | form | SearchSettings | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Result | form | bool | No | |
ResMessage | form | string | No | |
Error | form | Error | No | |
PageInfo | form | BasePageInfo | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ErrorYn | form | bool | No | |
ExYn | form | bool | No | |
ErrorCode | form | string | No | |
ErrorDescription | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
TotalRecordCount | form | int | No | |
TotalPageCount | form | int | No | |
CurrentPage | form | int | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
BreadCrumb | form | List<SmCategoryMetaDTO> | No | |
AttibuteDefs | form | List<SmAttributeDefDTO> | No | |
VariantDefs | form | List<SmAttributeDefDTO> | No | |
Brands | form | List<BrandDto> | No | |
PtSetting | form | PtSettings | No | |
SuggestAttributeDefIdList | form | string | No | |
SuggestTargetCatKey | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
CType | form | SmCategoryType | No | |
SearchYn | form | bool | No | |
Order | form | int | No | |
NType | form | SmCategoryType | No | |
FriendlyURL | form | string | No | |
Selected | form | bool | No | |
SubCats | form | List<SmCategoryMetaDTO> | No | |
Level | form | byte | No | |
DeepestYn | form | bool? | No | |
Count | form | int | No | |
SearchWeight | form | decimal? | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
CategoryId | form | int | No | |
Name | form | string | No | |
Code | form | string | No | |
PId | form | short? | No | |
ActiveYn | form | bool | No | |
Tags | form | string | No | |
Title | form | string | No | |
Keywords | form | string | No | |
Metadata | form | string | No | |
CategoryLabel | form | string | No |
Name | Value |
---|---|
None | 0 |
PostType | 1 |
StoreCategory | 2 |
PostCategory | 3 |
Department | 11 |
Brand | 21 |
Model | 23 |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
SType | form | SmAttributeSearchTypes | No | |
AnyText | form | string | No | |
AllText | form | string | No | |
Code | form | string | No | |
IType | form | SmInputTypes | No | |
AttributeDatas | form | List<SmAttributeDataDTO> | No | |
ParentAttributeDefId | form | short? | No | |
HeaderText | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
AttributeDefId | form | short | No | |
Name | form | string | No | |
LabelText | form | string | No | |
Required | form | bool | No | |
AType | form | SmAttributeTypes | No | |
DefaultKey | form | string | No | |
DefaultValue | form | string | No | |
MinValue | form | int? | No | |
MaxValue | form | int? | No |
Name | Value |
---|---|
Text | 1 |
Number | 2 |
Combo | 11 |
MultiSelect | 12 |
State | 13 |
Brand | 21 |
Name | Value |
---|---|
None | 0 |
NumberBetween | 2 |
SingleSelect | 11 |
MultiSelect | 12 |
Name | Value |
---|---|
Text | 1 |
Number | 2 |
Tel | 3 |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Key | form | string | No | |
Value | form | string | No | |
Count | form | int | No | |
Order | form | int | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
BrandId | form | int | No | |
BrandKey | form | string | No | |
BrandName | form | string | No | |
Count | form | int | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
SearchMapOnlyUsedCondition | form | bool | No | |
SearchMapDefaultScale | form | int | No | |
SearchPostYn | form | bool | No | |
SearchStoreYn | form | bool | No | |
SearchPostOnMapYn | form | bool | No | |
SearchStoreOnMapYn | form | bool | No | |
SearchConditionYn | form | bool | No | |
SearchSaleTypeYn | form | bool | No | |
SearchDeliveryTypeYn | form | bool | No | |
SearchOpportunityProductsYn | form | bool | No | |
PtAllowSaleYn | form | bool | No | |
SearchDefault | form | ItemTypes | No | |
SearchMapMethod | form | ItemTypes | No | |
DefaultCommissionRate | form | decimal | No | |
VirtualDepartmentSource | form | string | No | |
FriendlyUrlSource | form | string | No | |
SearchAddressLevel | form | AddressLevels | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
PostTypeId | form | int | No | |
Name | form | string | No | |
Desciption | form | string | No | |
FriendlyUrl | form | string | No | |
ActiveYn | form | bool | No |
Name | Value |
---|---|
Post | 1 |
Store | 2 |
Category | 3 |
Product | 4 |
Campaign | 5 |
Banner | 21 |
Name | Value |
---|---|
None | 0 |
State | 2 |
City | 3 |
District | 4 |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Settings | form | SearchSettings | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /Sm/GetSearchSetting HTTP/1.1
Host: baseservices.needion.com
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"Code":"String","start":"\/Date(-62135596800000-0000)\/","DeviceUUID":"String","APIKey":"String","isAdmin":false,"Cmd":"String"}
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length {"Settings":{"BreadCrumb":[{"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"}],"AttibuteDefs":[{"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}],"VariantDefs":[{"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}],"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},"SuggestAttributeDefIdList":"String","SuggestTargetCatKey":"String"},"Result":false,"ResMessage":"String","Error":{"ErrorYn":false,"ExYn":false,"ErrorCode":"String","ErrorDescription":"String"},"PageInfo":{"TotalRecordCount":0,"TotalPageCount":0,"CurrentPage":0}}