Use the sources API endpoint with the GET method to retrieve a list of Data Sources in a FormSpace.
Prerequisites
Note the FormSpace ID for the Data Sources that you want to manage.
Base URL
https://api.prontoforms.com
Endpoint
GET
/api/1.1/formspaces/{formSpaceID}/sources
Retrieves a list of Data Sources in a FormSpace.
URL structure
Copy
https://api.prontoforms.com/api/1.1/formspaces/{formspaceID}/sources
Request parameters
None
Request header
Include the standard authorization header. This includes the username and password, where username is the API Key ID and password is the API Key Secret.
cURL example
curl -v -k -u {username}:{password} -X GET https://api.prontoforms.com/api/1.1/formspaces/{formSpaceID}/sources
where username is the API Key ID and password is the API Key Secret.
Request body
None
Response code
200—OK
Response example
Copy
{
"totalNumberOfResults": 3,
"totalNumberOfPages": 1,
"zone": null,
"pageData": [
{
"identifier": "160000000",
"name": "Construction Materials List",
"description": null,
"type": "Upload"
},
{
"identifier": "162222222",
"name": "Customer Information",
"description": "Customer information",
"type": "SkyDrive"
},
{
"identifier": "161111111",
"name": "Site Locations",
"description": "Addresses of all sites",
"type": "Upload"
}
]
}
Error codes
Error code | Error message | HTTP response code | Description |
---|---|---|---|
AccessDenied | Access Denied: You are not allowed to access the requested resource. | 403 | The FormSpace doesn't exist in your account. |
ObjectNotFound | Object Not Found: The object you requested could not be found | 404 | The system couldn't find the FormSpace. Enter an existing FormSpace ID. |
Comments
0 comments
Please sign in to leave a comment.