Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.mileapp.dev/llms.txt

Use this file to discover all available pages before exploring further.

What is Data Source?

The Data source could help you simplify the process of filling in task information based on existing data at MileApp. This data could consist of information such as name, number, date, coordinate, and multiple options. The Data typically represents entities such as customers, products, employees, suppliers, or any other critical data elements that are used across the application. To see the details of data source object, please follow this link

Key Features

Read data source

GET /data

Create data source

POST /data

Read data source by ID

GET /data/

Read data source by dataTypeName and dataId

GET /data/type//

Field Accessibility

If the requesting user’s role has field accessibility configured (via permissionDetails with permissionName: view/data), certain data source fields may be restricted based on the data type.
  • GET endpoints without fields parameter: Hidden fields are automatically excluded from the response.
  • GET endpoints with fields parameter: If a requested field is restricted, the API returns a 403 Forbidden error listing the restricted field names.
  • POST/PUT/PATCH endpoints: Write operations are not affected.
Field accessibility is configured per role in the Permission Settings. Refer to the Role API for details on permissionDetails.