PDF Export

getPurchaseOrder (Version 2)

This Method returns detailed information about a single purchase-order. This Version of the Method, comes along with a new extended structure of the return element, as described below.

  • Object: /net/dsb/vhs3/PurchaseOrder
  • Method: getPurchaseOrder
  • Version: 2.0.0

Parameter

Name Type / LenghtOpt./MandatDescription
purchase-order-numberN / 7 M, O VHS/3 purchase order number This field is mandatory if neither the “purchase-ordernumber-id” nor the “invoicenumber” is given.
purchase-order-id AN / 10 M, O External purchase order number or purchase-order id This field is mandatory if neither the “purchase-ordernumber” nor the “invoicenumber” is given.
invoice-number N / 8 M, O VHS/3 invoice-number This field is mandatory if neither the “purchase-ordernumber” nor the “purchaseorder-id” is given.
service-provider AN / 3 O Set a constraint the result to a specific service-provider.

Response Element

XML fragment(s) purchase-order (see section 3.8). Important note: If a request is made with “purchase-order-id” as parameter, a list of purchaseorders could be the result. This is because the “purchase-order-id” is not unique.

Example Request

<?xml version="1.0" encoding="UTF-8"?>
<message version="1.0" system="vhs/3" >
  <header>
    <client>4711</client>
    <service-provider>999</service-provider>
  </header>
  <body>
    <purchase-order-number>1234567</purchase-order-number>
  </body>
</message>

Example Response

<?xml version="1.0" encoding="UTF-8"?>
<message version="1.0" system="vhs/3">
  <header>
    <client>4711</client>
    <service-provider>999</service-provider>
  </header>
  <body>
    <purchase-order>
    ...
    <return>
    ...
      <return-pos>
        ...
      </return-pos>
    </return>
    </purchase-order>
  </body>
</message>

Response Structure

This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information