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 .jsv suffix or ?format=jsv

HTTP + JSV

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/jsv
Content-Type: text/jsv
Content-Length: length

{
	Code: String,
	CType: 0,
	start: 2020-07-08T14:44:02.3437908+03:00
}
HTTP/1.1 200 OK
Content-Type: text/jsv
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
	}
}