Draft Testing

Service Document

Identical to the non-Draft version of this endpoint.

get/v1/projects/{projectId}/forms/{xmlFormId}/draft.svc

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

@odata.contextstring

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

Changed in 3 of the 54 revisions of this API.4

    • api operation id Service Document for Dataset removed and replaced with serviceDocumentForDataset

      api-operation-id-removed

    • removed the non-success response with the status 403

      response-non-success-status-removed

    • api operation id serviceDocumentForDataset removed and replaced with Service Document for Dataset

      api-operation-id-removed

    • added the non-success response with the status 403

      response-non-success-status-added

    This revision also has 11 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog