PDF Export

getPurchaseOrder (Version 1)

This Method returns detailed information about a single purchase-order. This version of purchase-order XML uses the , XML-element version 1, of the return structure as described below

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

Parameter

Name Typ / LängeKann / MussBeschreibung
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.
purcher-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. 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>
      ...
    </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