Petrolina Card Service Host

<back to all web services

GetPPOData

To override the Content-type in your clients HTTP Accept Header, append ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /json/reply/GetPPOData HTTP/1.1 
Host: pcwebservice.petrolina.com.cy 
Content-Type: application/json
Content-Length: length

{"lineNo_From":0,"lineNo_To":0,"pageNo":0,"username":"String","password":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"pageNo":0,"pageSize":0,"totalPages":0,"totalRecords":0,"data":[{"lineitemID":0,"stationCode":"String","stationName":"String","longitute":"String","latitute":"String","receiptNo":0,"cardNo":"String","transactionDateSTR":"0001010100:00:00","productCode":"String","quant":0,"volume":0,"accNo":"String","carNo":"String","customerName":"String","invoiceDateSTR":"00010101","stCarNo":"String","pumpNo":0,"carKM":0,"netValuePPO":0,"vatValuePPO":0}],"response_code":0,"response_message":"String"}