PUT api/dashboard/{id}/share

Share dashboard Processes this dashboard API request. The parameter and response sections describe the data exchanged with the API.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Dashboard Id

integer

Required

Body Parameters

The share dashboard command data contract supplied with the request.

ShareDashboardCommandDataContract
NameDescriptionTypeAdditional information
ShareWithAgency

Indicates whether share with agency is true.

boolean

None.

ShareWithTeams

The collection of share with teams.

Collection of integer

None.

Request Formats

application/x-www-form-urlencoded

Sample:

Sample not available.

application/json, text/json

Sample:
{
  "ShareWithAgency": true,
  "ShareWithTeams": [
    1,
    2
  ]
}

Response Information

Resource Description

The response returned after the operation completes.

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.