PUT /hcp/category


Update or insert a category record.

Resource URL

http://www.lsitampa.com/hcp/category.{response_format}

Method

PUT

Response Format

json

Parameters

id - required
The id of the record. If it is an insert (record does not exist) pass a value of 0.
#provider_type_id - optional
Provider Type ID of the Category.
#name - required
name is a requirment of the form
jsonp_callback - optional
If making cross domain Ajax calls use this as the call-back method name in your Ajax request.

HTTP Errors

400
{
  "error": {
    "code": 400,
    "message": "Bad request (if set by the developer, specific reason for bad request)"
  }
}
404
{
  "error": {
    "code": 404,
    "message": "Not found"
  }
}
500
{
  "error": {
    "code": 500,
    "message": "Internal Server Error"
  }
}