DC_ScanAssist
Click here for a complete list of operations.
GetScannedPdfFile
Get Scanned PDF file which was linked to invoice
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 /Web1243/services/DC_ScanAssist.asmx HTTP/1.1 Host: rmhs.rmdatacentral.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://restaurantmagic.com/services/GetScannedPdfFile" <?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> <GetScannedPdfFile xmlns="http://restaurantmagic.com/services"> <UnitID>int</UnitID> <VendorID>string</VendorID> <DocNumber>string</DocNumber> </GetScannedPdfFile> </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> <GetScannedPdfFileResponse xmlns="http://restaurantmagic.com/services"> <GetScannedPdfFileResult> <PdfFile> <File>base64Binary</File> </PdfFile> <PdfFile> <File>base64Binary</File> </PdfFile> </GetScannedPdfFileResult> </GetScannedPdfFileResponse> </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 /Web1243/services/DC_ScanAssist.asmx HTTP/1.1 Host: rmhs.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:Body> <GetScannedPdfFile xmlns="http://restaurantmagic.com/services"> <UnitID>int</UnitID> <VendorID>string</VendorID> <DocNumber>string</DocNumber> </GetScannedPdfFile> </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> <GetScannedPdfFileResponse xmlns="http://restaurantmagic.com/services"> <GetScannedPdfFileResult> <PdfFile> <File>base64Binary</File> </PdfFile> <PdfFile> <File>base64Binary</File> </PdfFile> </GetScannedPdfFileResult> </GetScannedPdfFileResponse> </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 /Web1243/services/DC_ScanAssist.asmx/GetScannedPdfFile?UnitID=string&VendorID=string&DocNumber=string HTTP/1.1 Host: rmhs.rmdatacentral.com
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <ArrayOfPdfFile xmlns="http://restaurantmagic.com/services"> <PdfFile> <File>base64Binary</File> </PdfFile> <PdfFile> <File>base64Binary</File> </PdfFile> </ArrayOfPdfFile>
HTTP POST
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
POST /Web1243/services/DC_ScanAssist.asmx/GetScannedPdfFile HTTP/1.1 Host: rmhs.rmdatacentral.com Content-Type: application/x-www-form-urlencoded Content-Length: length UnitID=string&VendorID=string&DocNumber=string
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <ArrayOfPdfFile xmlns="http://restaurantmagic.com/services"> <PdfFile> <File>base64Binary</File> </PdfFile> <PdfFile> <File>base64Binary</File> </PdfFile> </ArrayOfPdfFile>