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 .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.

GET /Common/Dictionary/HCategories HTTP/1.1 
Host: apex.nikoratrade.ge 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
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":"\/Date(-62135596800000-0000)\/","Unid":"00000000000000000000000000000000","IsDefault":false,"Canceled":false,"ShortDescription":"String","Description":"String","UrlSlug":"String","VideoUrl":"String","ShortDescription2":"String","Description2":"String","MinCount":0}]}