GET api/{database}/OrderInfo/{orderId}
Gets the specified OrderInfo.
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| orderId | The orderId. |
Define this parameter in the request URI. |
Response Information
Response body formats
application/json, text/json
Sample:
{
"accountManager": "sample string 1",
"accountManagerId": "sample string 2",
"amountExclVat": 3.0,
"amountInclVat": 4.0,
"cargoWeight": 5.0,
"chargeVatType": 0,
"collectiveInvoiceSystemId": "sample string 6",
"contactPerson": "sample string 7",
"contactPersonId": "sample string 8",
"costCentreId": "sample string 9",
"costUnitId": "sample string 10",
"countryOfDestinationId": "sample string 11",
"creditSqueezeAmount": 12.0,
"creditSqueezePercentage": 13.0,
"currencyDescription": "sample string 14",
"currencyId": "sample string 15",
"currencyIsoCurrencyId": "sample string 16",
"customerId": "sample string 17",
"customerIdForInvoice": "sample string 18",
"customerName": "sample string 19",
"deliveryAddress": "sample string 20",
"deliveryAddressId": 1,
"deliveryConditionDescription": "sample string 21",
"deliveryConditionId": "sample string 22",
"discountAmount": 23.0,
"discountPercentage": 24.0,
"fiscalYear": 1,
"goodsFlowId": 1,
"invoiceAddress": "sample string 25",
"invoiceDate": "sample string 26",
"invoiceId": "sample string 27",
"isApproved": true,
"isBlocked": true,
"isBlockedByMargin": true,
"journalId": "sample string 31",
"kvcPaymentCondition": true,
"languageId": "sample string 33",
"mainOrderId": "sample string 34",
"orderDate": "sample string 35",
"orderId": "sample string 36",
"orderLines": null,
"orderType": "sample string 37",
"orderVatLines": null,
"packages": 38,
"pallets": 39,
"paymentAmount1": 40.0,
"paymentAmount2": 41.0,
"paymentConditionDescription": "sample string 42",
"paymentConditionId": "sample string 43",
"paymentDiscountAmount": 44.0,
"paymentDiscountPercentage": 45.0,
"paymentId1": "sample string 46",
"paymentId2": "sample string 47",
"periodNumber": 1,
"printCounter": 48,
"processedBy": "sample string 49",
"processedById": "sample string 50",
"projectId": "sample string 51",
"projectOrderInvoicingType": 0,
"purchaseOrganizationMemberId": "sample string 52",
"reference": "sample string 53",
"regionId": 1,
"shippingAgentId": "sample string 54",
"stateId": "sample string 55",
"statisticalSystemIdOfGoodsFlow": 1,
"subscriptionId": "sample string 56",
"totalMarginAmount": 57.0,
"totalMarginPercentage": 58.0,
"transactionTypeId": 1,
"transportById": 1,
"vatAmount": 59.0,
"vatScenarioId": 60
}
application/xml, text/xml
Sample:
<OrderInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Sales.Info"> <AccountManager>sample string 1</AccountManager> <AccountManagerId>sample string 2</AccountManagerId> <AmountExclVat>3</AmountExclVat> <AmountInclVat>4</AmountInclVat> <CargoWeight>5</CargoWeight> <ChargeVatType>Exclusive</ChargeVatType> <CollectiveInvoiceSystemId>sample string 6</CollectiveInvoiceSystemId> <ContactPerson>sample string 7</ContactPerson> <ContactPersonId>sample string 8</ContactPersonId> <CostCentreId>sample string 9</CostCentreId> <CostUnitId>sample string 10</CostUnitId> <CountryOfDestinationId>sample string 11</CountryOfDestinationId> <CreditSqueezeAmount>12</CreditSqueezeAmount> <CreditSqueezePercentage>13</CreditSqueezePercentage> <CurrencyDescription>sample string 14</CurrencyDescription> <CurrencyId>sample string 15</CurrencyId> <CurrencyIsoCurrencyId>sample string 16</CurrencyIsoCurrencyId> <CustomerId>sample string 17</CustomerId> <CustomerIdForInvoice>sample string 18</CustomerIdForInvoice> <CustomerName>sample string 19</CustomerName> <DeliveryAddress>sample string 20</DeliveryAddress> <DeliveryAddressId>1</DeliveryAddressId> <DeliveryConditionDescription>sample string 21</DeliveryConditionDescription> <DeliveryConditionId>sample string 22</DeliveryConditionId> <DiscountAmount>23</DiscountAmount> <DiscountPercentage>24</DiscountPercentage> <FiscalYear>1</FiscalYear> <GoodsFlowId>1</GoodsFlowId> <InvoiceAddress>sample string 25</InvoiceAddress> <InvoiceDate>sample string 26</InvoiceDate> <InvoiceId>sample string 27</InvoiceId> <IsApproved>true</IsApproved> <IsBlocked>true</IsBlocked> <IsBlockedByMargin>true</IsBlockedByMargin> <JournalId>sample string 31</JournalId> <KVCPaymentCondition>true</KVCPaymentCondition> <LanguageId>sample string 33</LanguageId> <MainOrderId>sample string 34</MainOrderId> <OrderDate>sample string 35</OrderDate> <OrderId>sample string 36</OrderId> <OrderLines xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Sales.Lists" i:nil="true" /> <OrderType>sample string 37</OrderType> <OrderVatLines xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Sales.Lists" i:nil="true" /> <Packages>38</Packages> <Pallets>39</Pallets> <PaymentAmount1>40</PaymentAmount1> <PaymentAmount2>41</PaymentAmount2> <PaymentConditionDescription>sample string 42</PaymentConditionDescription> <PaymentConditionId>sample string 43</PaymentConditionId> <PaymentDiscountAmount>44</PaymentDiscountAmount> <PaymentDiscountPercentage>45</PaymentDiscountPercentage> <PaymentId1>sample string 46</PaymentId1> <PaymentId2>sample string 47</PaymentId2> <PeriodNumber>1</PeriodNumber> <PrintCounter>48</PrintCounter> <ProcessedBy>sample string 49</ProcessedBy> <ProcessedById>sample string 50</ProcessedById> <ProjectId>sample string 51</ProjectId> <ProjectOrderInvoicingType>Unknown</ProjectOrderInvoicingType> <PurchaseOrganizationMemberId>sample string 52</PurchaseOrganizationMemberId> <Reference>sample string 53</Reference> <RegionId>1</RegionId> <ShippingAgentId>sample string 54</ShippingAgentId> <StateId>sample string 55</StateId> <StatisticalSystemIdOfGoodsFlow>1</StatisticalSystemIdOfGoodsFlow> <SubscriptionId>sample string 56</SubscriptionId> <TotalMarginAmount>57</TotalMarginAmount> <TotalMarginPercentage>58</TotalMarginPercentage> <TransactionTypeId>1</TransactionTypeId> <TransportById>1</TransportById> <VatAmount>59</VatAmount> <VatScenarioId>60</VatScenarioId> </OrderInfo>