ipOne API Documentation


data/activity_type_list

Important:  An API Key is required to work with these API Calls

Returns the list of Job Types of the Application

Sample Request

http://api.verifiapp.com/data/activity_type_list/{API-KEY}/{PROJECT_ID}

The {PROJECT_ID} parameter is optional. It would filter the activity types available for the given project.

Sample Response

{"result":"success","results":[{"activity_type_id":"1","activity_type_name":"testing"},{"activity_type_id":"2","activity_type_name":"SURVEY"},{"activity_type_id":"3","activity_type_name":"CIVILS"},{"activity_type_id":"4","activity_type_name":"CABLING"},{"activity_type_id":"5","activity_type_name":"RESIDENTIAL INSTALL CHECK"}]}

Successful response reference

A successful response will return the following items in a JSON array

Preference Description
result success
results An array containing the following information:
  activity_type_id The unique Job Type ID
  activity_type_name The name of the Job Type associated with this ID