ApexERPHost

<back to all web services

GetHCategories

იერარქიული საქონლის კატეგორიები

Requires Authentication
The following routes are available for this service:
GET/Common/Dictionary/HCategories
GetHCategoriesResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ResultformList<HCategory>No
HCategory Parameters:
NameParameterData TypeRequiredDescription
IDformintNo
NameformstringNo
ParentIDformint?No
HCodeformstringNo
HccrtformstringNo
NameEnformstringNo
CrTimeformDateTime?No
UnidformGuid?No
IsDefaultformbool?No
Canceledformbool?No
ShortDescriptionformstringNo
DescriptionformstringNo
UrlSlugformstringNo
VideoUrlformstringNo
ShortDescription2formstringNo
Description2formstringNo
MinCountformdecimal?No

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.

GET /Common/Dictionary/HCategories HTTP/1.1 
Host: apex.nikoratrade.ge 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String,
				Meta: 
				{
					String: String
				}
			}
		],
		Meta: 
		{
			String: String
		}
	},
	Result: 
	[
		{
			ID: 0,
			Name: String,
			ParentID: 0,
			HCode: String,
			Hccrt: String,
			NameEn: String,
			CrTime: 0001-01-01,
			Unid: 00000000000000000000000000000000,
			IsDefault: False,
			Canceled: False,
			ShortDescription: String,
			Description: String,
			UrlSlug: String,
			VideoUrl: String,
			ShortDescription2: String,
			Description2: String,
			MinCount: 0
		}
	]
}