OData Form Service
Service Document
Changed onThe Service Document is essentially the index of all available documents. From this document, you will find links to all other available information in this OData service. In particular, you will find the Metadata Document, as well as a data document for each table defined by the Form.
You will always find a link to the /Submissions subpath, which is the data document that represents the "root" table, the data from each Submission that is not nested within any repeats.
This document is available only in JSON format.
get/v1/projects/{projectId}/forms/{xmlFormId}.svc
Request
- Base URL/ (relative, and the document was published on a file host, not at the API’s origin)
- URL/v1/projects/{projectId}/forms/{xmlFormId}.svc
- Authnone declared
Path parameters
projectIdnumber required
The numeric ID of the Project
xmlFormIdstring required
The xmlFormId of the Form whose OData service you wish to access.
Response
OK
Example response
{
"@odata.context": "https://your.odk.server/v1/projects/7/forms/sample.svc/$metadata",
"value": [
{
"kind": "EntitySet",
"name": "Submissions",
"url": "Submissions"
},
{
"kind": "EntitySet",
"name": "Submissions.children.child",
"url": "Submissions.children.child"
}
]
}Changes
- info
api operation id
Service Documentremoved and replaced withserviceDocument
- info
- info
removed the non-success response with the status
- info