ipOne API Documentation


survey/items2

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

Returns the JSON to generate the Q-Diary. The date passed must be in the format YYYY-MM-DD (MySQL's format).

Sample Request

http://api.verifiapp.com/survey/items2/{API-KEY}/{DATE}

Sample Response

{"result":"success","results":{"09:40":{"id":"15808","start":"09:40","end":"10:20","text":"Paul Mcevoy","type":"pending","minutes":40,"title":"[complete_assignment.html#assignment_id_15808]Scheduled Start: 08\/10\/2012 09:40\nScheduled End: 08\/10\/2012 10:20\nName: Paul Mcevoy\nArea: LEIXLIP\nAdditional Comments: R507 \/ R405 \/ R147 \/ RN\nInstall Type: R507 \/ R405 \/ R147 \/ RN"},"10:20":{"id":"15809","start":"10:20","end":"11:30","text":"B. Neville","type":"pending","minutes":70,"title":"[complete_assignment.html#assignment_id_15809]Scheduled Start: 08\/10\/2012 10:20\nScheduled End: 08\/10\/2012 11:30\nName: B. Neville\nArea: LEIXLIP\nAdditional Comments: R502 \/ R405 \/ R133\nInstall Type: R502 \/ R405 \/ R133"},"11:00":{"id":"15810","start":"11:00","end":"11:40","text":"P j & helena Harding","type":"pending","minutes":40,"title":"[complete_assignment.html#assignment_id_15810]Scheduled Start: 08\/10\/2012 11:00\nScheduled End: 08\/10\/2012 11:40\nName: P j & helena Harding\nArea: LEIXLIP\nAdditional Comments: R603 \/ R602 \/ R133\nInstall Type: R603 \/ R602 \/ R133"},"11:40":{"id":"15812","start":"11:40","end":"12:20","text":"Michael Harding","type":"pending","minutes":40,"title":"[complete_assignment.html#assignment_id_15812]Scheduled Start: 08\/10\/2012 11:40\nScheduled End: 08\/10\/2012 12:20\nName: Michael Harding\nArea: LEIXLIP\nAdditional Comments: R601 \/ R147 \/ RN\nInstall Type: R601 \/ R147 \/ RN"},"12:20":{"id":"15813","start":"12:20","end":"13:10","text":"Michael Curran","type":"pending","minutes":50,"title":"[complete_assignment.html#assignment_id_15813]Scheduled Start: 08\/10\/2012 12:20\nScheduled End: 08\/10\/2012 13:10\nName: Michael Curran\nArea: LEIXLIP\nAdditional Comments: R603 \/ R133\nInstall Type: R603 \/ R133"},"14:00":{"id":"15814","start":"14:00","end":"14:50","text":"Jennifer Hennebey","type":"pending","minutes":50,"title":"[complete_assignment.html#assignment_id_15814]Scheduled Start: 08\/10\/2012 14:00\nScheduled End: 08\/10\/2012 14:50\nName: Jennifer Hennebey\nArea: LEIXLIP\nAdditional Comments: SELF INSTALL ASSISTANCE\nInstall Type: "},"14:50":{"id":"15815","start":"14:50","end":"15:50","text":"Anne O`boyle","type":"pending","minutes":60,"title":"[complete_assignment.html#assignment_id_15815]Scheduled Start: 08\/10\/2012 14:50\nScheduled End: 08\/10\/2012 15:50\nName: Anne O`boyle\nArea: LEIXLIP\nAdditional Comments: R149\nInstall Type: R149"},"15:40":{"id":"15816","start":"15:40","end":"16:30","text":"Mary Behan","type":"pending","minutes":50,"title":"[complete_assignment.html#assignment_id_15816]Scheduled Start: 08\/10\/2012 15:40\nScheduled End: 08\/10\/2012 16:30\nName: Mary Behan\nArea: LEIXLIP\nAdditional Comments: R507 \/ R602 \/ R604 \/ R133 \/ R147 \/ RN \/ R405\nInstall Type: R507 \/ R602 \/ R604 \/ R133 \/ R147 \/ RN \/ R405"},"16:30":{"id":"15817","start":"16:30","end":"17:20","text":"Raghabuir & maura Rawat","type":"pending","minutes":50,"title":"[complete_assignment.html#assignment_id_15817]Scheduled Start: 08\/10\/2012 16:30\nScheduled End: 08\/10\/2012 17:20\nName: Raghabuir & maura Rawat\nArea: LEIXLIP\nAdditional Comments: R502 \/ R405\nInstall Type: R502 \/ R405"}},"project":0,"scheduled":0}

Successful Response Reference

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

Preference Description Default value Notes
result success    
results An associative array with the information of the event    
id The ID of the element. It can be an assignment_id, q_diary_id, etc.    
start Start of the event (datetime)    
end End of the event (datetime)    
text Description of the event    
type Type of event (event, pending, scheduled, unscheduled)    
minutes Number of minutes of difference between start and end    
title Title of the event    

Unsuccessful Response Reference

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

Preference Description Sample response
result error  
error The specific error is described in the response Invalid API Key