Petrolina Card Service Host

<back to all web services

GetCustomerStatementData

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/GetCustomerStatementData HTTP/1.1 
Host: pcwebservice.petrolina.com.cy 
Content-Type: application/json
Content-Length: length

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

{"data":[{"station":"String","endOfDay":"String","batchType":"String","stationBatch":0,"recNo":"String","accNumber":"String","cardNumber":0,"transactionDate":"String","lineItemId":"String","receiptId":"String","prodCode":"String","quant":0,"value":0,"transType":"String","volume":0,"vatValue":0,"accNo":"String","carNo":"String","permissions":"String","customerName":"String","address1":"String","poBox":"String","postalCode":"String","district":"String","telephone":"String","fax":"String","stationName":"String","description":"String","type":"String","vatRate":0,"mannual":0,"discountValue":0,"dutyValue":0,"netValue":0,"vatPolicy":0,"dutyPolicy":0,"invoiceId":"String","appName":"String","transactionTime":"String","pumpNumber":0,"carKilometers":"String","price":0,"stCarNo":"String","carType":"String","analysis1":"String","department":"String","driver":"String","analysis2":"String","analysis3":"String"}],"pageNo":0,"pageSize":0,"pageCount":0,"totalRecords":0,"response_code":0,"response_message":"String"}