Assign a report to a table

Assigns a report to a table of a project. The report is added at the end of the table's reports.

Required role: ORG_EDITOR, and the current user must have the MODIFY permission on the project.

Fields

FieldRequiredDescription
reportIdYesThe id of a report of the table's data source.

Response

201 with the report id in result. Its URL is also in the Location header.

When it fails

400 if reportId is missing or empty, if the report isn't a report of the table's data source in your organization, or if the report is already assigned to the table.

Report assignments

Reports are created on a data source (POST .../datasources/{datasource}/reports). Assigning a report to a table makes it available on the table's rows in the project. A table can have several reports, in a display order.

  • The report must be a report of the table's data source, owned by your organization. The reports of a data source shared by another organization can't be assigned.
  • Deleting the report or the table removes the assignment. Copying a project copies its tables, without their report assignments.

Organization and project

organization must be the organization of the access token, and the project must belong to it. The table must belong to the project; otherwise the request returns 404.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required

Id of your organization (must match the access token)

uuid
required

Id of the project

uuid
required

Id of the table

Body Params

Report to assign

uuid
required

Id of the report to assign. It must be a report of the data source of the layer or table.

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json