Petrolina Card Service Host

<back to all web services

Echo

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

<Echo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PCS.ServiceModel">
  <offset>String</offset>
</Echo>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<EchoResponse 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>
</EchoResponse>