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

POST /category HTTP/1.1 
Host: service.cemberle.com 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

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

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