Request ‒ Reports/{id}/share
Property
Type
Description
Mandatory
id
String
This is the unique identifier automatically assigned by IoT Platform when a Report is created. This ID is returned in the response of the Reports/Post.
Y
tenants
Array of Strings
The unique identifier of one or more IoT Platform Tenants with whom to share this report with its Users. This identifier is automatically generated by IoT Platform and is returned in response to the Tenants/Post request.
applicationId
Array of Strings
The unique identifier of one or more IoT Platform Applications with whom to share this report with its Users. This identifier is automatically added by IoT Platform when the Applications/Post request is used.
Example JSON Reports/[id]/share Request
curl -X POST \
https://api.stg.axonize.com/odata/reports/5b682f64e5cdcf20a87788d8/share/\
-H ‘Content-Type: application/json’ \
-H ‘Authorization: Token’ \
-H ‘appId: be517433-c4b8-4748-9258-1b1234567890’ \
-d ‘ {“applicationsIds”:[“8f71b610-34ab-1234-5674-7228d5f68a08″,”e8f2873f-1234-5674-8a08-02f884853960″],”tenants”:[“e8f2873f-0cab-4fa2-8a08-8a0884858a08”]}’