Petrolina Card Service Host

<back to all web services

GetPPOData

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

HTTP + XML

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

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

<GetPPOData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PCS.ServiceModel">
  <password>String</password>
  <username>String</username>
  <LineNo_From>0</LineNo_From>
  <LineNo_To>0</LineNo_To>
  <PageNo>0</PageNo>
</GetPPOData>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<GetPPODataResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PCS.ServiceModel">
  <response_code>0</response_code>
  <response_message>String</response_message>
  <PageNo>0</PageNo>
  <PageSize>0</PageSize>
  <TotalPages>0</TotalPages>
  <TotalRecords>0</TotalRecords>
  <data>
    <PPOLineData>
      <AccNo>String</AccNo>
      <CarKM>0</CarKM>
      <CarNo>String</CarNo>
      <CardNo>String</CardNo>
      <CustomerName>String</CustomerName>
      <Latitute>String</Latitute>
      <LineitemID>0</LineitemID>
      <Longitute>String</Longitute>
      <NetValuePPO>0</NetValuePPO>
      <ProductCode>String</ProductCode>
      <PumpNo>0</PumpNo>
      <Quant>0</Quant>
      <ReceiptNo>0</ReceiptNo>
      <StCarNo>String</StCarNo>
      <StationCode>String</StationCode>
      <StationName>String</StationName>
      <VatValuePPO>0</VatValuePPO>
      <Volume>0</Volume>
    </PPOLineData>
  </data>
</GetPPODataResponse>