docs/applicationDashboard.md in losant_rest-1.16.0 vs docs/applicationDashboard.md in losant_rest-1.16.1

- old
+ new

@@ -7,10 +7,11 @@ ##### Contents * [Delete](#delete) * [Get](#get) * [Patch](#patch) +* [Send Report](#send-report) <br/> ## Delete @@ -122,9 +123,51 @@ #### Successful Responses | Code | Type | Description | | ---- | ---- | ----------- | | 200 | [Dashboard](_schemas.md#dashboard) | Update dashboard information | + +#### Error Responses + +| Code | Type | Description | +| ---- | ---- | ----------- | +| 400 | [Error](_schemas.md#error) | Error if malformed request | +| 404 | [Error](_schemas.md#error) | Error if dashboard was not found | + +<br/> + +## Send Report + +Sends a snapshot of a dashboard + +```ruby +result = client.application_dashboard.send_report( + dashboardId: my_dashboard_id, + applicationId: my_application_id, + reportConfig: my_report_config) + +puts result +``` + +#### Authentication +The client must be configured with a valid api access token to call this +action. The token must include at least one of the following scopes: +all.Application, all.Application.read, all.Organization, all.Organization.read, all.User, all.User.read, applicationDashboard.*, or applicationDashboard.sendReport. + +#### Available Parameters + +| Name | Type | Required | Description | Default | Example | +| ---- | ---- | -------- | ----------- | ------- | ------- | +| dashboardId | string | Y | ID of the associated dashboard | | 575ece2b7ae143cd83dc4a9b | +| applicationId | string | Y | ID of the associated application | | 575ec8687ae143cd83dc4a97 | +| reportConfig | [Dashboard Send Report](_schemas.md#dashboard-send-report) | Y | Object containing report options | | [Dashboard Send Report Example](_schemas.md#dashboard-send-report-example) | +| losantdomain | string | N | Domain scope of request (rarely needed) | | example.com | + +#### Successful Responses + +| Code | Type | Description | +| ---- | ---- | ----------- | +| 200 | [Success](_schemas.md#success) | Send dashboard report | #### Error Responses | Code | Type | Description | | ---- | ---- | ----------- |