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
CTypequerySmCategoryTypeNo
BaseRequest Parameters:
NameParameterData TypeRequiredDescription
startformDateTimeNo
GetSmCategoryDetailResponse Parameters:
NameParameterData TypeRequiredDescription
CategoryformSmCategoryMetaDTONo
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
ResultformboolNo
ResMessageformstringNo
ErrorformErrorNo
Error Parameters:
NameParameterData TypeRequiredDescription
ErrorYnformboolNo
ErrorCodeformstringNo
ErrorDescriptionformstringNo
SmCategoryMetaDTO Parameters:
NameParameterData TypeRequiredDescription
CTypeformSmCategoryTypeNo
SearchYnformboolNo
OrderformintNo
NTypeformSmCategoryTypeNo
FriendlyURLformstringNo
SelectedformboolNo
SubCatsformList<SmCategoryMetaDTO>No
CountformintNo
SmCategoryInfoDTO Parameters:
NameParameterData TypeRequiredDescription
CategoryIdformintNo
NameformstringNo
CodeformstringNo
PIdformshort?No
ActiveYnformboolNo
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 .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/GetSmCategoryDetail/ HTTP/1.1 
Host: baseservices2.needion.com 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"Code":"String","CType":0,"start":"\/Date(1594324999530+0300)\/"}
HTTP/1.1 200 OK
Content-Type: text/csv
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":[{}],"Count":0,"CategoryId":0,"Name":"String","Code":"String","PId":0,"ActiveYn":false}],"Count":0,"CategoryId":0,"Name":"String","Code":"String","PId":0,"ActiveYn":false}],"Count":0,"CategoryId":0,"Name":"String","Code":"String","PId":0,"ActiveYn":false},"Result":false,"ResMessage":"String","Error":{"ErrorYn":false,"ErrorCode":"String","ErrorDescription":"String"}}