GET api/PurchaseOrders/GetPurchaseOrder/{purchaseorderYear}/{purchaseorderBook}/{purchaseorderNumber}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
purchaseorderYear

integer

Required

purchaseorderBook

string

Required

purchaseorderNumber

integer

Required

Body Parameters

None.

Response Information

Resource Description

PurchaseOrderHeaderDetail
NameDescriptionTypeAdditional information
PurchaseOrderYear

integer

None.

PurchaseOrderBook

string

None.

PurchaseOrderNumber

integer

None.

SupplierID

string

None.

CustomerID

string

None.

Status

string

None.

Document

string

None.

OrderDate

date

None.

CostUnitID

string

None.

CostCenterID

string

None.

ClerkID

string

None.

WorkOrderID

string

None.

AnalyticID

string

None.

AnalyticAN1ID

string

None.

AnalyticAN2ID

string

None.

AnalyticAN3ID

string

None.

NetAmountOrder

decimal number

None.

GrossAmountOrder

decimal number

None.

RebateAmountOrder

decimal number

None.

DiscountAmountOrder

decimal number

None.

NetAmountOrderSupplier

decimal number

None.

GrossAmountOrderSupplier

decimal number

None.

RebateAmountOrderSupplier

decimal number

None.

DiscountAmountOrderSupplier

decimal number

None.

DocumentState

string

None.

DocumentStateDescription

string

None.

ForeseenDeliveryDate

date

None.

SentDate

date

None.

SentDocument

string

None.

SentAttachment

string

None.

PickedDateFirst

date

None.

PickedDateLast

date

None.

PickedNote

string

None.

ClosedDate

date

None.

ClosedNote

string

None.

CanceledDate

date

None.

CanceledNote

string

None.

CurrencyID

string

None.

RebatePercentage

decimal number

None.

NoteHeader

string

None.

NoteFooter

string

None.

Note

string

None.

ClerkIDSupplier

string

None.

SearchKeySeqence

string

None.

PriceListID

string

None.

WHType2ID

string

None.

WarehouseID

string

None.

LanguageID

string

None.

EstimatedpayDate

date

None.

DeliveryType

string

None.

ParityCode

string

None.

IwareDate

date

None.

ExchangeRateID

decimal number

None.

SignedPRACDate

date

None.

AnnexID

string

None.

ApprovingStatus

string

None.

DiscountGroupID

string

None.

FolderID

string

None.

ApprovingDocument

string

None.

LocationID

string

None.

InsertedBy

string

None.

InsertedTime

date

None.

ModifiedBy

string

None.

ModifiedTime

date

None.

ApprovedState

string

None.

ApprovedStateDescription

string

None.

ApprovedDate

date

None.

ApprovedNote

string

None.

ApprovedDeliveryDate

date

None.

AttachmentID

string

None.

OrderReferenceDate

date

None.

OrderReferenceID

string

None.

OrderTypeID

string

None.

ExchangeRateDate

date

None.

PurchaseOrderLines

PurchaseOrderLine_

None.

Response Formats

application/xml, text/xml

Sample:
<PurchaseOrderHeader xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <PurchaseOrderYear>1</PurchaseOrderYear>
  <PurchaseOrderBook>sample string 2</PurchaseOrderBook>
  <PurchaseOrderNumber>1</PurchaseOrderNumber>
  <SupplierID>sample string 3</SupplierID>
  <CustomerID>sample string 4</CustomerID>
  <Status>sample string 5</Status>
  <Document>sample string 6</Document>
  <OrderDate>2024-04-26T11:56:57.0625808+02:00</OrderDate>
  <CostUnitID>sample string 7</CostUnitID>
  <CostCenterID>sample string 8</CostCenterID>
  <ClerkID>sample string 9</ClerkID>
  <WorkOrderID>sample string 10</WorkOrderID>
  <AnalyticID>sample string 11</AnalyticID>
  <AnalyticAN1ID>sample string 12</AnalyticAN1ID>
  <AnalyticAN2ID>sample string 13</AnalyticAN2ID>
  <AnalyticAN3ID>sample string 14</AnalyticAN3ID>
  <NetAmountOrder>1</NetAmountOrder>
  <GrossAmountOrder>1</GrossAmountOrder>
  <RebateAmountOrder>1</RebateAmountOrder>
  <DiscountAmountOrder>1</DiscountAmountOrder>
  <NetAmountOrderSupplier>1</NetAmountOrderSupplier>
  <GrossAmountOrderSupplier>1</GrossAmountOrderSupplier>
  <RebateAmountOrderSupplier>1</RebateAmountOrderSupplier>
  <DiscountAmountOrderSupplier>1</DiscountAmountOrderSupplier>
  <DocumentState>sample string 15</DocumentState>
  <DocumentStateDescription>sample string 16</DocumentStateDescription>
  <ForeseenDeliveryDate>2024-04-26T11:56:57.0635806+02:00</ForeseenDeliveryDate>
  <SentDate>2024-04-26T11:56:57.0635806+02:00</SentDate>
  <SentDocument>sample string 17</SentDocument>
  <SentAttachment>sample string 18</SentAttachment>
  <PickedDateFirst>2024-04-26T11:56:57.0635806+02:00</PickedDateFirst>
  <PickedDateLast>2024-04-26T11:56:57.0635806+02:00</PickedDateLast>
  <PickedNote>sample string 19</PickedNote>
  <ClosedDate>2024-04-26T11:56:57.0635806+02:00</ClosedDate>
  <ClosedNote>sample string 20</ClosedNote>
  <CanceledDate>2024-04-26T11:56:57.0635806+02:00</CanceledDate>
  <CanceledNote>sample string 21</CanceledNote>
  <CurrencyID>sample string 22</CurrencyID>
  <RebatePercentage>1</RebatePercentage>
  <NoteHeader>sample string 23</NoteHeader>
  <NoteFooter>sample string 24</NoteFooter>
  <Note>sample string 25</Note>
  <ClerkIDSupplier>sample string 26</ClerkIDSupplier>
  <SearchKeySeqence>sample string 27</SearchKeySeqence>
  <PriceListID>sample string 28</PriceListID>
  <WHType2ID>sample string 29</WHType2ID>
  <WarehouseID>sample string 30</WarehouseID>
  <LanguageID>sample string 31</LanguageID>
  <EstimatedpayDate>2024-04-26T11:56:57.0635806+02:00</EstimatedpayDate>
  <DeliveryType>sample string 32</DeliveryType>
  <ParityCode>sample string 33</ParityCode>
  <IwareDate>2024-04-26T11:56:57.0635806+02:00</IwareDate>
  <ExchangeRateID>1</ExchangeRateID>
  <SignedPRACDate>2024-04-26T11:56:57.0635806+02:00</SignedPRACDate>
  <AnnexID>sample string 34</AnnexID>
  <ApprovingStatus>sample string 35</ApprovingStatus>
  <DiscountGroupID>sample string 36</DiscountGroupID>
  <FolderID>sample string 37</FolderID>
  <ApprovingDocument>sample string 38</ApprovingDocument>
  <LocationID>sample string 39</LocationID>
  <InsertedBy>sample string 40</InsertedBy>
  <InsertedTime>2024-04-26T11:56:57.0635806+02:00</InsertedTime>
  <ModifiedBy>sample string 41</ModifiedBy>
  <ModifiedTime>2024-04-26T11:56:57.0635806+02:00</ModifiedTime>
  <ApprovedState>sample string 42</ApprovedState>
  <ApprovedStateDescription>sample string 43</ApprovedStateDescription>
  <ApprovedDate>2024-04-26T11:56:57.0635806+02:00</ApprovedDate>
  <ApprovedNote>sample string 44</ApprovedNote>
  <ApprovedDeliveryDate>2024-04-26T11:56:57.0635806+02:00</ApprovedDeliveryDate>
  <AttachmentID>sample string 45</AttachmentID>
  <OrderReferenceDate>2024-04-26T11:56:57.0635806+02:00</OrderReferenceDate>
  <OrderReferenceID>sample string 46</OrderReferenceID>
  <OrderTypeID>sample string 47</OrderTypeID>
  <ExchangeRateDate>2024-04-26T11:56:57.0635806+02:00</ExchangeRateDate>
  <PurchaseOrderLines>
    <PurchaseOrderLine>
      <LineSEQNumber>1</LineSEQNumber>
      <ItemID>sample string 2</ItemID>
      <ItemIDType>sample string 3</ItemIDType>
      <OrderedQuantity>1</OrderedQuantity>
      <Price>1</Price>
      <QuantitySupplier>1</QuantitySupplier>
      <UnitOfMeasureSupplier>sample string 4</UnitOfMeasureSupplier>
      <PriceSupplier>1</PriceSupplier>
      <DiscountPercentage>1</DiscountPercentage>
      <ForeseenDeliveryDate>2024-04-26T11:56:57.0645805+02:00</ForeseenDeliveryDate>
      <CostCenterID>sample string 5</CostCenterID>
      <CostUnitID>sample string 6</CostUnitID>
      <ClerkID>sample string 7</ClerkID>
      <WorkOrderID>sample string 8</WorkOrderID>
      <AnalyticID>sample string 9</AnalyticID>
      <Note>sample string 10</Note>
      <InsertedBy>sample string 11</InsertedBy>
      <InsertedTime>2024-04-26T11:56:57.0645805+02:00</InsertedTime>
      <ModifiedBy>sample string 12</ModifiedBy>
      <ModifiedTime>2024-04-26T11:56:57.0645805+02:00</ModifiedTime>
      <ItemIDSupplier>sample string 13</ItemIDSupplier>
      <ItemTitle1Supplier>sample string 14</ItemTitle1Supplier>
      <ItemTitle2Supplier>sample string 15</ItemTitle2Supplier>
      <Description>sample string 16</Description>
      <ItemEAN>sample string 17</ItemEAN>
      <AlternateEAN>sample string 18</AlternateEAN>
      <AlternateUnitOfMeasure>sample string 19</AlternateUnitOfMeasure>
      <AlternateConvertFactor>1</AlternateConvertFactor>
      <AlternateQuantity>1</AlternateQuantity>
      <PricePerUnitSupplier>20</PricePerUnitSupplier>
      <PricePerUnitDDE>21</PricePerUnitDDE>
      <PricePerUnitOrder>22</PricePerUnitOrder>
      <PricePerUnitNDE>23</PricePerUnitNDE>
      <ItemTitle1>sample string 24</ItemTitle1>
      <ItemTitle2>sample string 25</ItemTitle2>
      <Status>sample string 26</Status>
      <IntermediateAmountOrdered>1</IntermediateAmountOrdered>
      <IntermediateAmountSupplier>1</IntermediateAmountSupplier>
      <UnitOfMeasure>sample string 27</UnitOfMeasure>
      <ItemComparisonCode>sample string 28</ItemComparisonCode>
      <DimensionQuantity>1</DimensionQuantity>
      <DimensionLenght>1</DimensionLenght>
      <DimensionWidth>1</DimensionWidth>
      <DimensionHeight>1</DimensionHeight>
      <NetAmountOrdered>1</NetAmountOrdered>
      <NetAmountSupplier>1</NetAmountSupplier>
      <GrossAmountOrdered>1</GrossAmountOrdered>
      <GrossAmountSupplier>1</GrossAmountSupplier>
      <DiscountPercentage2>1</DiscountPercentage2>
      <DiscountPercentage3>1</DiscountPercentage3>
      <DiscountPercentage4>1</DiscountPercentage4>
      <DiscountPercentage5>1</DiscountPercentage5>
      <QuantityForTesting>1</QuantityForTesting>
      <CanceledLine>true</CanceledLine>
      <TextLine>true</TextLine>
      <PickedLine>true</PickedLine>
      <NumberOfPackages>1</NumberOfPackages>
      <OrderedQuantitySent>1</OrderedQuantitySent>
      <Series>sample string 29</Series>
      <EstimatedSupplyDate>2024-04-26T11:56:57.0645805+02:00</EstimatedSupplyDate>
      <QuantitySupplierUOMSent>1</QuantitySupplierUOMSent>
    </PurchaseOrderLine>
    <PurchaseOrderLine>
      <LineSEQNumber>1</LineSEQNumber>
      <ItemID>sample string 2</ItemID>
      <ItemIDType>sample string 3</ItemIDType>
      <OrderedQuantity>1</OrderedQuantity>
      <Price>1</Price>
      <QuantitySupplier>1</QuantitySupplier>
      <UnitOfMeasureSupplier>sample string 4</UnitOfMeasureSupplier>
      <PriceSupplier>1</PriceSupplier>
      <DiscountPercentage>1</DiscountPercentage>
      <ForeseenDeliveryDate>2024-04-26T11:56:57.0645805+02:00</ForeseenDeliveryDate>
      <CostCenterID>sample string 5</CostCenterID>
      <CostUnitID>sample string 6</CostUnitID>
      <ClerkID>sample string 7</ClerkID>
      <WorkOrderID>sample string 8</WorkOrderID>
      <AnalyticID>sample string 9</AnalyticID>
      <Note>sample string 10</Note>
      <InsertedBy>sample string 11</InsertedBy>
      <InsertedTime>2024-04-26T11:56:57.0645805+02:00</InsertedTime>
      <ModifiedBy>sample string 12</ModifiedBy>
      <ModifiedTime>2024-04-26T11:56:57.0645805+02:00</ModifiedTime>
      <ItemIDSupplier>sample string 13</ItemIDSupplier>
      <ItemTitle1Supplier>sample string 14</ItemTitle1Supplier>
      <ItemTitle2Supplier>sample string 15</ItemTitle2Supplier>
      <Description>sample string 16</Description>
      <ItemEAN>sample string 17</ItemEAN>
      <AlternateEAN>sample string 18</AlternateEAN>
      <AlternateUnitOfMeasure>sample string 19</AlternateUnitOfMeasure>
      <AlternateConvertFactor>1</AlternateConvertFactor>
      <AlternateQuantity>1</AlternateQuantity>
      <PricePerUnitSupplier>20</PricePerUnitSupplier>
      <PricePerUnitDDE>21</PricePerUnitDDE>
      <PricePerUnitOrder>22</PricePerUnitOrder>
      <PricePerUnitNDE>23</PricePerUnitNDE>
      <ItemTitle1>sample string 24</ItemTitle1>
      <ItemTitle2>sample string 25</ItemTitle2>
      <Status>sample string 26</Status>
      <IntermediateAmountOrdered>1</IntermediateAmountOrdered>
      <IntermediateAmountSupplier>1</IntermediateAmountSupplier>
      <UnitOfMeasure>sample string 27</UnitOfMeasure>
      <ItemComparisonCode>sample string 28</ItemComparisonCode>
      <DimensionQuantity>1</DimensionQuantity>
      <DimensionLenght>1</DimensionLenght>
      <DimensionWidth>1</DimensionWidth>
      <DimensionHeight>1</DimensionHeight>
      <NetAmountOrdered>1</NetAmountOrdered>
      <NetAmountSupplier>1</NetAmountSupplier>
      <GrossAmountOrdered>1</GrossAmountOrdered>
      <GrossAmountSupplier>1</GrossAmountSupplier>
      <DiscountPercentage2>1</DiscountPercentage2>
      <DiscountPercentage3>1</DiscountPercentage3>
      <DiscountPercentage4>1</DiscountPercentage4>
      <DiscountPercentage5>1</DiscountPercentage5>
      <QuantityForTesting>1</QuantityForTesting>
      <CanceledLine>true</CanceledLine>
      <TextLine>true</TextLine>
      <PickedLine>true</PickedLine>
      <NumberOfPackages>1</NumberOfPackages>
      <OrderedQuantitySent>1</OrderedQuantitySent>
      <Series>sample string 29</Series>
      <EstimatedSupplyDate>2024-04-26T11:56:57.0645805+02:00</EstimatedSupplyDate>
      <QuantitySupplierUOMSent>1</QuantitySupplierUOMSent>
    </PurchaseOrderLine>
  </PurchaseOrderLines>
</PurchaseOrderHeader>