How to use .../getbatchstatus.jsp

Hello everyone,

I’m trying to make a request on the getbatchstatus endpoint of the API, I always end up receive the not-found response reported herebelow. I tried with both curl and HTTPie and many different variantions. Any ideas what could be the cause, here?

Also, I’m not sure it is relevant but the donation mode is enabled,

Thanks for your help!

A few request examples

  • Same system ids for the target and the identification:

http GET http://pvoutput.org/service/r2/getbatchstatus.jsp X-Pvoutput-SystemId:5***3 X-Pvoutput-Apikey:00****87d sid1==5***3

  • Different identifiers:

http GET http://pvoutput.org/service/r2/getbatchstatus.jsp X-Pvoutput-SystemId:5***3 X-Pvoutput-Apikey:00****87d sid1==18787

  • sid instead of sid1:

http GET http://pvoutput.org/service/r2/getbatchstatus.jsp X-Pvoutput-SystemId:5***3 X-Pvoutput-Apikey:00****87d sid==18787

  • with a date:

http GET http://pvoutput.org/service/r2/getbatchstatus.jsp X-Pvoutput-SystemId:5***3 X-Pvoutput-Apikey:00****87d sid==18787 dt==20180601

Error response

HTTP/1.1 404 Not Found
Connection: close
Content-Type: text/html;charset=ISO-8859-1
Date: Tue, 05 Jun 2018 09:19:14 GMT
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Server: Jetty(7.6.17.v20150415)
Set-Cookie: JSESSIONID=1fo0b8.....eiazj8;Path=/

<html><head><title>PVOutput</title><style type="text/css">
body{margin-top: 10%;font-family: arial;font-size: 18px;font-weight: bold;color: #888888;}
p{border-bottom: 1px solid #cccccc;border-top: 1px solid #cccccc;background: #FBFBEF;width: 700px;padding: 15px;}
</style></head>

<body><center><img src="images/logo.png"><br/><p>The page you requested is missing or has an error.<br/></p></center></body></html>

Get Batch Status is a Data Service Subscription - further details can be obtained by emailing pvoutput@gmail.com

1 Like

Thanks for the quick answer! I’ll get in touch with them.