| GET | /Common/Dictionary/HCategories |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No | |
| Result | form | List<HCategory> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ID | form | int | No | |
| Name | form | string | No | |
| ParentID | form | int? | No | |
| HCode | form | string | No | |
| Hccrt | form | string | No | |
| NameEn | form | string | No | |
| CrTime | form | DateTime? | No | |
| Unid | form | Guid? | No | |
| IsDefault | form | bool? | No | |
| Canceled | form | bool? | No | |
| ShortDescription | form | string | No | |
| Description | form | string | No | |
| UrlSlug | form | string | No | |
| VideoUrl | form | string | No | |
| ShortDescription2 | form | string | No | |
| Description2 | form | string | No | |
| MinCount | form | decimal? | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .x-protobuf suffix or ?format=x-protobuf
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: 10.10.0.107 Accept: application/x-protobuf
HTTP/1.1 200 OK
Content-Type: application/x-protobuf
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}]}