ApexERPHost

<back to all web services

SaveHCategory

Requires Authentication
The following routes are available for this service:
POST/Common/Dictionary/HCategories
SaveHCategory Parameters:
NameParameterData TypeRequiredDescription
HCategorybodyHCategoryNo
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
SaveHCategoryResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
NewIdformint?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.

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

{
	HCategory: 
	{
		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
	}
}
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
		}
	},
	NewId: 0
}