GET api/{database}/PurchaseOrderInfo/{orderId}

Gets the specified PurchaseOrderInfo.



Request Information

Parameters

NameDescriptionAdditional information
orderId The orderId.

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "amountInclVat": 1.0,
  "contactPerson": "sample string 2",
  "contactPersonId": "sample string 3",
  "currencyId": "sample string 4",
  "deliveryAddress": "sample string 5",
  "deliveryConditionDescription": "sample string 6",
  "deliveryConditionId": "sample string 7",
  "description": "sample string 8",
  "discountPercentage": 9.0,
  "includeVAT": true,
  "isOpen": true,
  "orderDate": "sample string 12",
  "orderId": "sample string 13",
  "orderLines": null,
  "paymentConditionDescription": "sample string 14",
  "paymentConditionId": "sample string 15",
  "processedBy": "sample string 16",
  "processedById": "sample string 17",
  "projectId": "sample string 18",
  "reference": "sample string 19",
  "supplierId": "sample string 20"
}

application/xml, text/xml

Sample:
<PurchaseOrderInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Purchase.Info">
  <AmountInclVat>1</AmountInclVat>
  <ContactPerson>sample string 2</ContactPerson>
  <ContactPersonId>sample string 3</ContactPersonId>
  <CurrencyId>sample string 4</CurrencyId>
  <DeliveryAddress>sample string 5</DeliveryAddress>
  <DeliveryConditionDescription>sample string 6</DeliveryConditionDescription>
  <DeliveryConditionId>sample string 7</DeliveryConditionId>
  <Description>sample string 8</Description>
  <DiscountPercentage>9</DiscountPercentage>
  <IncludeVAT>true</IncludeVAT>
  <IsOpen>true</IsOpen>
  <OrderDate>sample string 12</OrderDate>
  <OrderId>sample string 13</OrderId>
  <OrderLines xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Purchase.Lists" i:nil="true" />
  <PaymentConditionDescription>sample string 14</PaymentConditionDescription>
  <PaymentConditionId>sample string 15</PaymentConditionId>
  <ProcessedBy>sample string 16</ProcessedBy>
  <ProcessedById>sample string 17</ProcessedById>
  <ProjectId>sample string 18</ProjectId>
  <Reference>sample string 19</Reference>
  <SupplierId>sample string 20</SupplierId>
</PurchaseOrderInfo>