How to distinguish between G2.0 and newer releases
Incident Properties
Question
Hello,
Is there any API that we can use to query the device to determine what SOP generation version it is running? For example G2.0, G2.5, or G3.0.
The reason for this is that we need to figure out if the javaVM is used on the device or not.
API Call
Incident Properties
Question
Hello,
Is there any API I can use to install a CA certificate?
Why are some of my WebAPI endpoint values being ignored on G3 devices
Many of theSmartSDK WebAPI endpoints accept JSON encoded entities for payload when starting jobs. These JSON values are the only way to set configuration for that job type, and are documented in the WebAPI Specifications for the appropriate endpoint.
For example, in order to enable scan previews when scanning via the /rws/service/scanner/jobs
endpoint, you construct a jobSettings
JSON blob with the "originalPreview
" key set to a JSON Boolean.
Question regarding scanned image file
Incident Properties
Question
in SDK doc SmartSdk_DevKit_R2209/doc/en/webapi/320-04-0100.htm, it indicates "Scanned image file is automatically deleted when passing 15 minutes*1 after the last execution of API*2 for the job resource of "scan and store" (/rws/service/scanner/jobs/{job ID})."
but in SmartSdk_DevKit_R2209/doc/en/guide_web/300-02-0100.htm, it indicates "When "jobMode = scan_and_store_temporary" is specified for starting the scanner job, unnecessary image files must always be deleted by using this API. If not deleted, the machine may not be able to go to Energy Saver mode or the memory full error may occur."
Could you please clarify in what case the scanned image file would be deleted automatically and in what case the scanned image file must be deleted manually with DELETE WebApi call.
Thanks.
Remote Web API inquiry
Incident Properties
Question
Question regarding remote Web API calls for scanning using basic authentication. Is there a way calls these services when the device is configured to use Custom Authentication?
We looked into using Authentication Token (X-SS-AuthToken) instead, but the SDK documentation states that “An authentication token is generated at the time a user logs in from operation panel, and the token remains effective until the user logs out.” This is an issue, since the completion a scan job could take longer than user session on the device.
We cannot use scan with USER_AUTHENTICATION__SCANNER set to OFF, so authentication is required for remote Web API calls.
WebAPI
Incident Properties
Question
Is there way to get the rws WebAPI working on the Ricoh emulator.
Kent
notify remote app whenever scan job state and/or scanner state changes
Incident Properties
Question
Hello,
We are developing a remote app to control device's scanner with WebAPI. we are able to start scan with "POST http://<deviceIP>/rws/service/scanner/jobs".
Could you please let us know if there is a way to make the device to notify the remote app whenever scan job state and/or scanner state changes?
Thanks.
API responding with 404 error code every time
Incident Properties
Question
Hi Team,
I was experimenting with scanner apis and sample application I got stuck in one scenario where I am trying to get scanned file using following api.
GET /rws/service/scanner/jobs/{Job ID}/file with job id of scanning job that have "completed" status for example job id like "S1650962864178".
But I am always getting the same error while doing this api call it always sends me 404 error as status code and following as body of response.
{
"errors": [
{
"message_id": "error.path_no_exist",
"message": ""
}
]
}
I tried this api with real printer and emulator both are giving me same result. Can you please guide me what I am doing wrong here. I want to get file path of scanned file.
Printer WebAPI
Incident Properties
Question
Hello,
I am attempting to use the /rws/service/printer/* WebAPI to do some local printing from our Secure Delivery SmartSDK application. So far, all of the tests I am doing are on our IM C2000.
I don't really have any issues calling the API and getting the response I am expecting. But, I am having trouble getting 2 document types to print. Mostly, these are the only two types we really care about.
For PDF, when I have a PDF file on the HDD, I use the /rws/service/printer/jobs endpoint to send the job. When I send it, I get a 200 OK response, but I get the attached error response (pdf_error.txt). It basically says "document_format_error". I have tried this with many different PDF documents and it always gets the same error. I am also attaching one of the PDF documents I am testing with (test.pdf).
Any ideas why I keep on getting "document_format_error" for seemingly any PDF I throw at this? Also, all of the PDFs I have tried can be printed without issue when sending to port 9100.
For PCL, I print a text document with only the word "test" in it using a Ricoh PCL6 Universal driver. If I print directly to the device (9100), the document prints without an issue. If I send the document using the /rws/service/printer/jobs endpoint, the job prints without an error, but it just comes out with garbage, as if the PCL/PJL is not being processed by the printer properly. I am attaching the PCL document I am testing with (test.pcl). Why would the PCL print fine over 9100, but not using the Printer Jobs API?
Regards
Bryan
Request Web API for install application and configure device
Incident Properties
Question
Hi,
We are planning to create a new version of Installer (which install application and configure device).
We would like Web API for install application and configure device.
I wonder whether there is Web API for install application and configure device or when there is Web API for install application and configure device.
If we can use Web API for install application and configure device, we do not depend on Java, RXOP. It is better solution.
Please advise.
Best Regards,