Cemberle

<back to all web services

CategoryRequest

The following routes are available for this service:
All Verbs/category
CategoryResponse Parameters:
NameParameterData TypeRequiredDescription
SuccessformboolNo
myCategoryformList<CategoryModel>No
CategoryModel Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
categorynameformstringNo
imageformstringNo
iconnameformstringNo

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 /category HTTP/1.1 
Host: service.cemberle.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	success: False,
	myCategory: 
	[
		{
			id: 0,
			categoryname: String,
			image: String,
			iconname: String
		}
	]
}