Download OpenAPI specification:Download
The Endatix Platform is an open-source .NET library for data collection and management. This product is actively developed, and some API design characteristics may evolve. For more information, visit Endatix Documentation.
Creates a new form submission
| formId required | integer <int64> The ID of the form for which the submission is made. |
| isComplete | boolean or null Boolean flag to indicate if a submission is complete. Optional |
| currentPage | integer or null <int32> Current page if the form has multiple pages. Optional |
| jsonData required | string >= 2 characters Stringified form submission data |
| metadata | string or null Stringified metadata related to the form submission |
{- "isComplete": true,
- "currentPage": 0,
- "jsonData": "string",
- "metadata": "string"
}{- "id": "string",
- "isComplete": true,
- "jsonData": "string",
- "formId": "string",
- "formDefinitionId": "string",
- "currentPage": 0,
- "metadata": "string",
- "token": "string",
- "completedAt": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z",
- "modifiedAt": "2019-08-24T14:15:22Z",
- "status": "string"
}Returns all submissions for a form given formId. Includes all Form Definitions as well as complete and non-complete responses
| formId required | integer <int64> The ID of the form. |
| page | integer or null <int32> The number of the page |
| pageSize | integer or null <int32> The number of items to take. |
| filter | Array of strings or null The filter expressions |
[- {
- "id": 0,
- "isComplete": true,
- "jsonData": {
- "property1": null,
- "property2": null
}, - "metadata": "string",
- "formId": 0,
- "formDefinitionId": 0,
- "currentPage": 0,
- "completedAt": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z",
- "status": "string"
}
]Gets a single submission based of its Id and its respective formId
| formId required | integer <int64> The ID of the form. |
| submissionId required | integer <int64> The ID of the form submission. |
{- "id": "string",
- "isComplete": true,
- "jsonData": "string",
- "formId": "string",
- "formDefinitionId": "string",
- "currentPage": 0,
- "metadata": "string",
- "token": "string",
- "completedAt": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z",
- "modifiedAt": "2019-08-24T14:15:22Z",
- "status": "string",
- "formDefinition": {
- "id": "string",
- "isDraft": true,
- "jsonData": "string",
- "formId": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "modifiedAt": "2019-08-24T14:15:22Z"
}
}Updates a form submission for a given form.
| formId required | integer <int64> The ID of the form for which the submission is made. |
| submissionId required | integer <int64> The ID the submission that will be updated |
| jsonData | string or null >= 2 characters Stringified form submission data |
| isComplete | boolean or null Boolean flag to mark the form completion status |
| currentPage | integer or null <int32> > 0 The current page of the form |
| metadata | string or null Stringified metadata related to the form submission |
{- "jsonData": "string",
- "isComplete": true,
- "currentPage": 0,
- "metadata": "string"
}{- "id": "string",
- "isComplete": true,
- "jsonData": "string",
- "formId": "string",
- "formDefinitionId": "string",
- "currentPage": 0,
- "metadata": "string",
- "token": "string",
- "completedAt": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z",
- "modifiedAt": "2019-08-24T14:15:22Z",
- "status": "string"
}Updates a form submission for a given form.
| formId required | integer <int64> The ID of the form for which the submission is made. |
| submissionId required | integer <int64> The ID the submission that will be updated |
| jsonData required | string >= 2 characters Stringified form submission data |
| isComplete | boolean or null Boolean flag to mark the form completion status |
| currentPage | integer or null <int32> > 0 The current page of the form |
| metadata | string or null Stringified metadata related to the form submission |
{- "jsonData": "string",
- "isComplete": true,
- "currentPage": 0,
- "metadata": "string"
}{- "id": "string",
- "isComplete": true,
- "jsonData": "string",
- "formId": "string",
- "formDefinitionId": "string",
- "currentPage": 0,
- "metadata": "string",
- "token": "string",
- "completedAt": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z",
- "modifiedAt": "2019-08-24T14:15:22Z",
- "status": "string"
}Gets a single submission based on its token and its respective formId
| formId required | integer <int64> The ID of the form. |
| submissionToken required | string The token of the form submission. |
{- "id": "string",
- "isComplete": true,
- "jsonData": "string",
- "formId": "string",
- "formDefinitionId": "string",
- "currentPage": 0,
- "metadata": "string",
- "token": "string",
- "completedAt": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z",
- "modifiedAt": "2019-08-24T14:15:22Z",
- "status": "string"
}Updates a form submission for a given form by token.
| formId required | integer <int64> The ID of the form for which the submission is made. |
| submissionToken required | string The token of the submission that will be updated |
| jsonData | string or null >= 2 characters Stringified form submission data |
| isComplete | boolean or null Boolean flag to mark the form completion status |
| currentPage | integer or null <int32> >= 0 The current page of the form |
| metadata | string or null Stringified metadata related to the form submission |
{- "jsonData": "string",
- "isComplete": true,
- "currentPage": 0,
- "metadata": "string"
}{- "id": "string",
- "isComplete": true,
- "jsonData": "string",
- "formId": "string",
- "formDefinitionId": "string",
- "currentPage": 0,
- "metadata": "string",
- "token": "string",
- "completedAt": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z",
- "modifiedAt": "2019-08-24T14:15:22Z",
- "status": "string"
}Updates the status of a form submission.
| formId required | integer <int64> The ID of the form. |
| submissionId required | integer <int64> The ID of the submission to update. |
| status required | string [ 0 .. 16 ] characters The status of the submission. |
{- "status": "string"
}{- "submissionId": 0,
- "status": "string"
}Creates a new form and an active form definition for it.
| name required | string [ 2 .. 100 ] characters The name of the form. |
| description | string or null The description of the form. |
| isEnabled required | boolean non-empty Indicates if the form is enabled. |
| formDefinitionJsonData required | string >= 2 characters The JSON data of the active form definition. |
{- "name": "string",
- "description": "string",
- "isEnabled": true,
- "formDefinitionJsonData": "string"
}{- "id": "string",
- "name": "string",
- "description": "string",
- "isEnabled": true,
- "createdAt": "2019-08-24T14:15:22Z",
- "modifiedAt": "2019-08-24T14:15:22Z",
- "submissionsCount": 0
}Lists all forms with optional pagination.
| page | integer or null <int32> The number of the page |
| pageSize | integer or null <int32> The number of items to take. |
[- {
- "id": "string",
- "name": "string",
- "description": "string",
- "isEnabled": true,
- "createdAt": "2019-08-24T14:15:22Z",
- "modifiedAt": "2019-08-24T14:15:22Z",
- "submissionsCount": 0
}
]Gets a form by its ID.
| formId required | integer <int64> The ID of the form. |
{- "id": "string",
- "name": "string",
- "description": "string",
- "isEnabled": true,
- "createdAt": "2019-08-24T14:15:22Z",
- "modifiedAt": "2019-08-24T14:15:22Z",
- "submissionsCount": 0
}Partially updates a form.
| formId required | integer <int64> The ID of the form. |
| name | string or null The name of the form. |
| description | string or null The description of the form. |
| isEnabled | boolean or null Indicates if the form is enabled. |
{- "name": "string",
- "description": "string",
- "isEnabled": true
}{- "id": "string",
- "name": "string",
- "description": "string",
- "isEnabled": true,
- "createdAt": "2019-08-24T14:15:22Z",
- "modifiedAt": "2019-08-24T14:15:22Z",
- "submissionsCount": 0
}Updates a form.
| formId required | integer <int64> The ID of the form. |
| name required | string [ 2 .. 100 ] characters The name of the form. |
| description | string or null The description of the form. |
| isEnabled required | boolean non-empty Indicates if the form is enabled. |
{- "name": "string",
- "description": "string",
- "isEnabled": true
}{- "id": "string",
- "name": "string",
- "description": "string",
- "isEnabled": true,
- "createdAt": "2019-08-24T14:15:22Z",
- "modifiedAt": "2019-08-24T14:15:22Z",
- "submissionsCount": 0
}Creates a new form definition for a given form.
| formId required | integer <int64> The ID of the form. |
| isDraft required | boolean non-empty Indicates if the form definition is a draft. |
| jsonData required | string >= 2 characters The JSON data of the form definition. |
{- "isDraft": true,
- "jsonData": "string"
}{- "id": "string",
- "isDraft": true,
- "jsonData": "string",
- "formId": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "modifiedAt": "2019-08-24T14:15:22Z"
}Lists all form definitions for a given form with optional pagination.
| formId required | integer <int64> The ID of the form. |
| page | integer or null <int32> The number of the page |
| pageSize | integer or null <int32> The number of items to take. |
[- {
- "id": "string",
- "isDraft": true,
- "jsonData": "string",
- "formId": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "modifiedAt": "2019-08-24T14:15:22Z"
}
]Gets the active form definition for a given form.
| formId required | integer <int64> The ID of the form. |
{- "id": "string",
- "isDraft": true,
- "jsonData": "string",
- "formId": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "modifiedAt": "2019-08-24T14:15:22Z"
}Partially updates the active form definition for a given form.
| formId required | integer <int64> The ID of the form. |
| isDraft | boolean or null Indicates if the form definition is a draft. |
| jsonData | string or null The JSON data of the form definition. |
{- "isDraft": true,
- "jsonData": "string"
}{- "id": "string",
- "isDraft": true,
- "jsonData": "string",
- "formId": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "modifiedAt": "2019-08-24T14:15:22Z"
}Updates the active form definition for a given form.
| formId required | integer <int64> The ID of the form. |
| isDraft required | boolean non-empty Indicates if the form definition is a draft. |
| jsonData required | string non-empty The JSON data of the form definition. |
{- "isDraft": true,
- "jsonData": "string"
}{- "id": "string",
- "isDraft": true,
- "jsonData": "string",
- "formId": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "modifiedAt": "2019-08-24T14:15:22Z"
}Gets a form definition by its ID for a given form.
| formId required | integer <int64> The ID of the form. |
| definitionId required | integer <int64> The ID of the form definition. |
{- "id": "string",
- "isDraft": true,
- "jsonData": "string",
- "formId": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "modifiedAt": "2019-08-24T14:15:22Z"
}Partially updates a form definition for a given form.
| formId required | integer <int64> The ID of the form. |
| definitionId required | integer <int64> The ID of the form definition. |
| isDraft | boolean or null Indicates if the form definition is a draft. |
| jsonData | string or null The JSON data of the form definition. |
{- "isDraft": true,
- "jsonData": "string"
}{- "id": "string",
- "isDraft": true,
- "jsonData": "string",
- "formId": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "modifiedAt": "2019-08-24T14:15:22Z"
}Updates a form definition for a given form.
| formId required | integer <int64> The ID of the form. |
| definitionId required | integer <int64> The ID of the form definition. |
| isDraft required | boolean non-empty Indicates if the form definition is a draft. |
| jsonData required | string non-empty The JSON data of the form definition. |
{- "isDraft": true,
- "jsonData": "string"
}{- "id": "string",
- "isDraft": true,
- "jsonData": "string",
- "formId": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "modifiedAt": "2019-08-24T14:15:22Z"
}Allows an authenticated user to change their password.
| currentPassword required | string non-empty The user's current password |
| newPassword required | string non-empty The new password to set |
| confirmPassword required | string non-empty The new password to set |
{- "currentPassword": "string",
- "newPassword": "string",
- "confirmPassword": "string"
}{- "message": "string"
}Creates a new form template.
| name required | string [ 2 .. 100 ] characters The name of the form template. |
| description | string or null Optional description of the form template. |
| isEnabled required | boolean non-empty Indicates if the form template is enabled. |
| jsonData required | string >= 2 characters The JSON data representing the form template structure. |
{- "name": "string",
- "description": "string",
- "isEnabled": true,
- "jsonData": "string"
}{- "id": "string",
- "name": "string",
- "description": "string",
- "isEnabled": true,
- "createdAt": "2019-08-24T14:15:22Z",
- "modifiedAt": "2019-08-24T14:15:22Z",
- "jsonData": "string"
}Lists all form templates with optional pagination.
| page | integer or null <int32> The number of the page |
| pageSize | integer or null <int32> The number of items to take. |
[- {
- "id": "string",
- "name": "string",
- "description": "string",
- "isEnabled": true,
- "createdAt": "2019-08-24T14:15:22Z",
- "modifiedAt": "2019-08-24T14:15:22Z"
}
]Gets a form template by its ID.
| formTemplateId required | integer <int64> The ID of the form template to get. |
{- "id": "string",
- "name": "string",
- "description": "string",
- "isEnabled": true,
- "createdAt": "2019-08-24T14:15:22Z",
- "modifiedAt": "2019-08-24T14:15:22Z",
- "jsonData": "string"
}Partially updates a form template.
| formTemplateId required | integer <int64> The ID of the form template. |
| name | string or null The name of the form template. |
| description | string or null The description of the form template. |
| isEnabled | boolean or null Indicates if the form template is enabled. |
| jsonData | string or null The JSON data representing the form template structure. |
{- "name": "string",
- "description": "string",
- "isEnabled": true,
- "jsonData": "string"
}{- "id": "string",
- "name": "string",
- "description": "string",
- "isEnabled": true,
- "createdAt": "2019-08-24T14:15:22Z",
- "modifiedAt": "2019-08-24T14:15:22Z",
- "jsonData": "string"
}Authenticates a user based on valid credentials and returns JWT token and refresh token
| email required | string <email> non-empty ^[^@]+@[^@]+$ The Email of the user. Must be a valid email address |
| password required | string >= 8 characters The Password of the account |
{- "email": "user@example.com",
- "password": "Password123!"
}{- "email": "string",
- "accessToken": "string",
- "refreshToken": "string"
}Generates a new access token using a valid refresh token.
| refreshToken required | string non-empty The refresh token used to obtain a new access token. |
{- "refreshToken": "example-refresh-token"
}{- "accessToken": "string",
- "refreshToken": "string"
}Creates a new user account in the Endatix application using the provided email and password.
| email required | string <email> non-empty ^[^@]+@[^@]+$ The email address of the user. |
| password | string The password chosen by the user. |
| confirmPassword required | string non-empty The confirmation of the password chosen by the user. |
{- "email": "user@example.com",
- "password": "Password123!",
- "confirmPassword": "Password123!"
}{- "success": true,
- "message": "string"
}