GET /hcp/company


Company: Get entire record for ALL or requested id, or return list of letters for GUI sorting.

Resource URL

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

Method

GET

Response Format

json

Parameters

id - optional
Id of the Company.
provider_type_id - optional
Provider Type ID of the Company.
letter - optional
First letter of the company name.
lettersonly - optional
return a list of letters for GUI sorting
orderby - optional
Used to set the returned ordering of rows. ex. field ASC field ASC,field2 DESC
offset - optional
The record offset from which point on to return records as a non-negative integer value. This is equivalent to the first parameter in the MySql LIMIT clause. If omitted: 0.
rowcount - optional
A non-negative integer value that specifies the number of records to return. If omitted: 500.
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"
  }
}