WebServicePP


Click here for a complete list of operations.

CreatePPOrder

Test

The test form is only available for requests from the local machine.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /WebServicePP.asmx HTTP/1.1
Host: wsapp.dental-leader.it
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "https://dental-leader.it/CreatePPOrder"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <CreatePPOrder xmlns="https://dental-leader.it/">
      <env>string</env>
      <accessPP>string</accessPP>
      <orderBody>string</orderBody>
    </CreatePPOrder>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <CreatePPOrderResponse xmlns="https://dental-leader.it/">
      <CreatePPOrderResult>
        <id>string</id>
        <intent>string</intent>
        <status>string</status>
        <purchase_units>
          <purchase_unitsObject>
            <reference_id>string</reference_id>
            <payments xsi:nil="true" />
          </purchase_unitsObject>
          <purchase_unitsObject>
            <reference_id>string</reference_id>
            <payments xsi:nil="true" />
          </purchase_unitsObject>
        </purchase_units>
        <payer>
          <name>
            <given_name>string</given_name>
            <surname>string</surname>
          </name>
          <email_address>string</email_address>
          <payer_id>string</payer_id>
          <address>
            <address_line_1>string</address_line_1>
            <address_line_2>string</address_line_2>
            <admin_area_2>string</admin_area_2>
            <admin_area_1>string</admin_area_1>
            <postal_code>string</postal_code>
            <country_code>string</country_code>
          </address>
        </payer>
        <create_time>string</create_time>
        <links>
          <UrlPaymentPP>
            <href>string</href>
            <rel>string</rel>
            <method>string</method>
          </UrlPaymentPP>
          <UrlPaymentPP>
            <href>string</href>
            <rel>string</rel>
            <method>string</method>
          </UrlPaymentPP>
        </links>
      </CreatePPOrderResult>
    </CreatePPOrderResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /WebServicePP.asmx HTTP/1.1
Host: wsapp.dental-leader.it
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <CreatePPOrder xmlns="https://dental-leader.it/">
      <env>string</env>
      <accessPP>string</accessPP>
      <orderBody>string</orderBody>
    </CreatePPOrder>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <CreatePPOrderResponse xmlns="https://dental-leader.it/">
      <CreatePPOrderResult>
        <id>string</id>
        <intent>string</intent>
        <status>string</status>
        <purchase_units>
          <purchase_unitsObject>
            <reference_id>string</reference_id>
            <payments xsi:nil="true" />
          </purchase_unitsObject>
          <purchase_unitsObject>
            <reference_id>string</reference_id>
            <payments xsi:nil="true" />
          </purchase_unitsObject>
        </purchase_units>
        <payer>
          <name>
            <given_name>string</given_name>
            <surname>string</surname>
          </name>
          <email_address>string</email_address>
          <payer_id>string</payer_id>
          <address>
            <address_line_1>string</address_line_1>
            <address_line_2>string</address_line_2>
            <admin_area_2>string</admin_area_2>
            <admin_area_1>string</admin_area_1>
            <postal_code>string</postal_code>
            <country_code>string</country_code>
          </address>
        </payer>
        <create_time>string</create_time>
        <links>
          <UrlPaymentPP>
            <href>string</href>
            <rel>string</rel>
            <method>string</method>
          </UrlPaymentPP>
          <UrlPaymentPP>
            <href>string</href>
            <rel>string</rel>
            <method>string</method>
          </UrlPaymentPP>
        </links>
      </CreatePPOrderResult>
    </CreatePPOrderResponse>
  </soap12:Body>
</soap12:Envelope>