Needio.Services

<back to all web services

GetSmCategoryDetailRequest

The following routes are available for this service:
All Verbs/Sm/GetSmCategoryDetail/
GetSmCategoryDetailRequest Parameters:
NameParameterData TypeRequiredDescription
CodequerystringNo
CategoryIdqueryintNo
CTypequerySmCategoryTypeNo
BaseRequest Parameters:
NameParameterData TypeRequiredDescription
startformDateTimeNo
DeviceUUIDformstringNo
APIKeyformstringNo
GetSmCategoryDetailResponse Parameters:
NameParameterData TypeRequiredDescription
CategoryformSmCategoryMetaDTONo
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
ResultformboolNo
ResMessageformstringNo
ErrorformErrorNo
PageInfoformBasePageInfoNo
Error Parameters:
NameParameterData TypeRequiredDescription
ErrorYnformboolNo
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
GetSmCategoryDetailResponse Parameters:
NameParameterData TypeRequiredDescription
CategoryformSmCategoryMetaDTONo

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

POST /Sm/GetSmCategoryDetail/ HTTP/1.1 
Host: baseservices.needion.com 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"Code":"String","CategoryId":0,"CType":0,"start":"\/Date(1634768126525+0300)\/","DeviceUUID":"String","APIKey":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"Category":{"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"},"Result":false,"ResMessage":"String","Error":{"ErrorYn":false,"ErrorCode":"String","ErrorDescription":"String"},"PageInfo":{"TotalRecordCount":0,"TotalPageCount":0,"CurrentPage":0}}