PUT api/dashboard/{id}/share

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

ShareDashboardCommandDataContract
NameDescriptionTypeAdditional information
ShareWithAgency

boolean

None.

ShareWithTeams

Collection of integer

None.

Request Formats

application/json, text/json

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

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ShareDashboardCommandDataContract'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.