Retrieve a single form submit job
get
/api/REST/1.0/data/form/{formId}/formData/{formSubmitJobId}
Retrieves asynchronous form submission data for a single form submit specified by the
formId
and formSubmitJobId
parameters. This API endpoint is released under our Controlled Availability program. You can request access to this feature by submitting a request to My Oracle Support.Request
Supported Media Types
- application/json
Path Parameters
-
formId(required): string
ID of the form.
-
formSubmitJobId(required): string
ID of the asynchronous form submission job.
Response
Supported Media Types
- application/json
400 Response
Bad request. See Status Codes for information about other possible HTTP status codes.
401 Response
Unauthorized. See Status Codes for information about other possible HTTP status codes.
403 Response
Forbidden. See Status Codes for information about other possible HTTP status codes.
404 Response
The requested resource was not found. See Status Codes for information about other possible HTTP status codes.
500 Response
The service has encountered an error. See Status Codes for information about other possible HTTP status codes.
Examples
The following examples demonstrate how to retrieve a single asynchronous form submission using an HTTP request and cURL. For more information on requests, see API requests.
HTTP Request Example
Retrieve the asynchronous form submission where the form ID is 5 and the form submit job ID is 4:
GET /api/REST/1.0/data/form/5/formData/4
Response:
{
"type": "FormData",
"currentStatus": "Success",
"id": "4",
"fieldValues": [
{
"type": "FieldValue",
"id": "14",
"value": "Aquamarine"
},
{
"type": "FieldValue",
"id": "84",
"value": ""
},
{
"type": "FieldValue",
"id": "17",
"value": ""
},
{
"type": "FieldValue",
"id": "88",
"value": ""
},
{
"type": "FieldValue",
"id": "15",
"value": ""
},
{
"type": "FieldValue",
"id": "68",
"value": ""
},
{
"type": "FieldValue",
"id": "85",
"value": ""
},
{
"type": "FieldValue",
"id": "16",
"value": ""
},
{
"type": "FieldValue",
"id": "82",
"value": ""
},
{
"type": "FieldValue",
"id": "86",
"value": ""
},
{
"type": "FieldValue",
"id": "83",
"value": ""
},
{
"type": "FieldValue",
"id": "87",
"value": ""
}
],
"submittedAt": "1555076161",
"processedAt": "1555076165",
"rowId": 243
}
cURL Example
Here is the same example in cURL given an instance with the name APITest
, username API.User
, and POD of 3
.
curl --user "APITest\API.User" --request GET https://secure.p03.eloqua.com/api/REST/1.0/data/form/5/formData/4