POST api/ReportManagement/Delete

Request Information

URI Parameters

None.

Body Parameters

ReportBindingModel
NameDescriptionTypeAdditional information
SqlId

integer

Required

ReportTitle

string

Required

ReportDescription

string

None.

ReportName

string

Required

RequiresMarket

boolean

Required

RequiresHospital

boolean

Required

RequiresProgram

boolean

Required

RequiresRadioStation

boolean

Required

RequiresDateRange

boolean

Required

RequiresCampaign

boolean

Required

ShowInReportPage

boolean

Required

Roles

Collection of string

None.

Request Formats

application/json, text/json

Sample:
{
  "sqlId": 1,
  "reportTitle": "sample string 2",
  "reportDescription": "sample string 3",
  "reportName": "sample string 4",
  "requiresMarket": true,
  "requiresHospital": true,
  "requiresProgram": true,
  "requiresRadioStation": true,
  "requiresDateRange": true,
  "requiresCampaign": true,
  "showInReportPage": true,
  "roles": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<ReportBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMN.DonorNet.V3.Binding.Models">
  <ReportDescription>sample string 3</ReportDescription>
  <ReportName>sample string 4</ReportName>
  <ReportTitle>sample string 2</ReportTitle>
  <RequiresCampaign>true</RequiresCampaign>
  <RequiresDateRange>true</RequiresDateRange>
  <RequiresHospital>true</RequiresHospital>
  <RequiresMarket>true</RequiresMarket>
  <RequiresProgram>true</RequiresProgram>
  <RequiresRadioStation>true</RequiresRadioStation>
  <Roles xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Roles>
  <ShowInReportPage>true</ShowInReportPage>
  <SqlId>1</SqlId>
</ReportBindingModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.