DC_OnDemandReport
Click here for a complete list of operations.
RunOnDemandReportWithParams2
Run OnDemand Report (output image only)
Test
To test the operation using the HTTP POST protocol, click the 'Invoke' button.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /web1244/services/DC_OnDemandReport.asmx HTTP/1.1
Host: dc01.rmdatacentral.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://restaurantmagic.com/services/RunOnDemandReportWithParams2"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header>
<AuthenticationHeader xmlns="http://restaurantmagic.com/services">
<UserName>string</UserName>
<Password>string</Password>
</AuthenticationHeader>
<AuthenticationKey xmlns="http://restaurantmagic.com/services">
<IntegrationKey>string</IntegrationKey>
</AuthenticationKey>
</soap:Header>
<soap:Body>
<RunOnDemandReportWithParams2 xmlns="http://restaurantmagic.com/services">
<OnDemandReport>string</OnDemandReport>
<OutputFormat>string</OutputFormat>
<Parameter1>string</Parameter1>
<Parameter2>string</Parameter2>
<Parameter3>string</Parameter3>
<Parameter4>string</Parameter4>
<Parameter5>string</Parameter5>
<Parameter6>string</Parameter6>
<Parameter7>string</Parameter7>
<Parameter8>string</Parameter8>
<Parameter9>string</Parameter9>
<Parameter10>string</Parameter10>
<Parameter11>string</Parameter11>
<Parameter12>string</Parameter12>
<Parameter13>string</Parameter13>
<Parameter14>string</Parameter14>
<Parameter15>string</Parameter15>
<Parameter16>string</Parameter16>
<Parameter17>string</Parameter17>
<Parameter18>string</Parameter18>
<Parameter19>string</Parameter19>
<Parameter20>string</Parameter20>
</RunOnDemandReportWithParams2>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<RunOnDemandReportWithParams2Response xmlns="http://restaurantmagic.com/services">
<RunOnDemandReportWithParams2Result>string</RunOnDemandReportWithParams2Result>
</RunOnDemandReportWithParams2Response>
</soap:Body>
</soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /web1244/services/DC_OnDemandReport.asmx HTTP/1.1
Host: dc01.rmdatacentral.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Header>
<AuthenticationHeader xmlns="http://restaurantmagic.com/services">
<UserName>string</UserName>
<Password>string</Password>
</AuthenticationHeader>
<AuthenticationKey xmlns="http://restaurantmagic.com/services">
<IntegrationKey>string</IntegrationKey>
</AuthenticationKey>
</soap12:Header>
<soap12:Body>
<RunOnDemandReportWithParams2 xmlns="http://restaurantmagic.com/services">
<OnDemandReport>string</OnDemandReport>
<OutputFormat>string</OutputFormat>
<Parameter1>string</Parameter1>
<Parameter2>string</Parameter2>
<Parameter3>string</Parameter3>
<Parameter4>string</Parameter4>
<Parameter5>string</Parameter5>
<Parameter6>string</Parameter6>
<Parameter7>string</Parameter7>
<Parameter8>string</Parameter8>
<Parameter9>string</Parameter9>
<Parameter10>string</Parameter10>
<Parameter11>string</Parameter11>
<Parameter12>string</Parameter12>
<Parameter13>string</Parameter13>
<Parameter14>string</Parameter14>
<Parameter15>string</Parameter15>
<Parameter16>string</Parameter16>
<Parameter17>string</Parameter17>
<Parameter18>string</Parameter18>
<Parameter19>string</Parameter19>
<Parameter20>string</Parameter20>
</RunOnDemandReportWithParams2>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<RunOnDemandReportWithParams2Response xmlns="http://restaurantmagic.com/services">
<RunOnDemandReportWithParams2Result>string</RunOnDemandReportWithParams2Result>
</RunOnDemandReportWithParams2Response>
</soap12:Body>
</soap12:Envelope>
HTTP GET
The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.
GET /web1244/services/DC_OnDemandReport.asmx/RunOnDemandReportWithParams2?OnDemandReport=string&OutputFormat=string&Parameter1=string&Parameter2=string&Parameter3=string&Parameter4=string&Parameter5=string&Parameter6=string&Parameter7=string&Parameter8=string&Parameter9=string&Parameter10=string&Parameter11=string&Parameter12=string&Parameter13=string&Parameter14=string&Parameter15=string&Parameter16=string&Parameter17=string&Parameter18=string&Parameter19=string&Parameter20=string HTTP/1.1 Host: dc01.rmdatacentral.com
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <string xmlns="http://restaurantmagic.com/services">string</string>
HTTP POST
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
POST /web1244/services/DC_OnDemandReport.asmx/RunOnDemandReportWithParams2 HTTP/1.1 Host: dc01.rmdatacentral.com Content-Type: application/x-www-form-urlencoded Content-Length: length OnDemandReport=string&OutputFormat=string&Parameter1=string&Parameter2=string&Parameter3=string&Parameter4=string&Parameter5=string&Parameter6=string&Parameter7=string&Parameter8=string&Parameter9=string&Parameter10=string&Parameter11=string&Parameter12=string&Parameter13=string&Parameter14=string&Parameter15=string&Parameter16=string&Parameter17=string&Parameter18=string&Parameter19=string&Parameter20=string
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <string xmlns="http://restaurantmagic.com/services">string</string>