getHistoricalSubmissions¶
-
GET
/getHistoricalSubmissions?apikey=
(apikey)&sessionid=
(sessionid)¶ Returns the list of historical (past) Submissions of a user space.
Example Request
GET /getHistoricalSubmissions?apikey=E14D8D73-0C78-4583-897A-EE9C1B10E10A&sessionid=48F2E9A0-ABD6-4C80-B8DA-61D0DDE4A43B HTTP/1.1 Accept: application/json
Example Response
HTTP/1.1 200 OK Content-Type: application/json { "data":[ {"submissionId":"7f747f19-223f-4a46-bc07-6b629fdb1b94","updatedDate":"635666001432430000","updatedBy":"jsmith","submissionData":[{"data":"<DocumentElement> <FormData> <FormID>c9bcd814-4935-48b5-8d21-35c8be90776f</FormID> <FormName>a value test</FormName> <PageID>a3819b73-22a0-41bf-a6ae-3e19342e7f9b</PageID> <PageName>TPL1</PageName> <FormSubmissionID>7f747f19-223f-4a46-bc07-6b629fdb1b94</FormSubmissionID> <PageSubmissionID>3add97df-e577-47c1-aedd-17457b9d9b22</PageSubmissionID> <ElementName>new\_input1</ElementName> <ElementData>12/13/2015</ElementData> <CreatedDate>5/7/2015 8:55:42 AM</CreatedDate> <CreatedBy>jsmith</CreatedBy> </FormData></DocumentElement>"}]}, {"submissionId":"41c490b5-24ae-4085-a1b7-c5da86864e8a","updatedDate":"635666001292330000","updatedBy":"jsmith","submissionData":[{"data":"<DocumentElement> <FormData> <FormID>c9bcd814-4935-48b5-8d21-35c8be90776f</FormID> <FormName>a value test</FormName> <PageID>a3819b73-22a0-41bf-a6ae-3e19342e7f9b</PageID> <PageName>TPL1</PageName> <FormSubmissionID>41c490b5-24ae-4085-a1b7-c5da86864e8a</FormSubmissionID> <PageSubmissionID>b56d1cb1-767f-4970-ad6a-c9fd4ee0380f</PageSubmissionID> <ElementName>new\_input1</ElementName> <ElementData>12/13/2015</ElementData> <CreatedDate>5/7/2015 8:55:28 AM</CreatedDate> <CreatedBy>jsmith</CreatedBy> </FormData></DocumentElement>"}]} ], "message":"Records returned: 2.", "success":true }
Query Parameters: - apikey – User API key
- sessionid – User session ID
Response JSON Object: - data – List of historical Submissions associated with the user space
- message – Response message
- success – Returns
true
if request successful,false
otherwise