GET api/PurchaseOrderTransactions?companyCode={companyCode}&purchaseOrderIdentifier={purchaseOrderIdentifier}

Get list of all Purchase Order Transactions for specified order

Request Information

URI Parameters

NameDescriptionTypeAdditional information
companyCode

Company Identifier

string

Required

purchaseOrderIdentifier

Purchase Order Identifier

string

Required

Body Parameters

None.

Response Information

Resource Description

Response message with a list of Purchase Order transactions of all Company related Purchase Orders. HttpStatusCode.Conflict when user isn't connected to Company

GetPurchaseOrderTransactionsMessageResponse
NameDescriptionTypeAdditional information
Header

Header item

MessageHeader

None.

PurchaseOrderTransactionList

List of Purchase Order Transactions

Collection of PurchaseOrderTransactionListResponseItem

None.

Footer

Footer item

MessageFooter

None.

Response Formats

application/json, text/json

Sample:
{
  "Header": {
    "Version": "string 1",
    "Identification": "string 2",
    "Sender": "string 3"
  },
  "PurchaseOrderTransactionList": [
    {
      "TransactionType": "OV",
      "StockSourceLocationIdentifier": "string 1",
      "StockDestinationLocationIdentifier": "string 2",
      "StockSourceLocationTypeCode": "string 3",
      "StockDestinationLocationTypeCode": "string 4",
      "TransactionIdentifier": 5,
      "TransactionDateTime": "2025-12-06T03:59:10.346436+01:00",
      "ProductIdentifier": "string 7",
      "StatusDescription": "string 8",
      "Quantity": 9,
      "Remark": "string 10",
      "FromStockBlockType": "string 11",
      "ToStockBlockType": "string 12",
      "WarehouseIdentifier": "string 13",
      "CompanyIdentifier": "string 14",
      "OrderIdentifier": "string 15",
      "OrderTypeIdentifier": "string 16",
      "LineIdentifier": 1,
      "LineIdentifierSpecified": true,
      "SerialNumbers": [
        {
          "Number": "string 1"
        },
        {
          "Number": "string 1"
        }
      ],
      "Lot": {
        "CompanyIdentifier": "string 1",
        "BatchNumber": "string 2",
        "LotNumber": "string 3",
        "MinimalExpirationDate": "2025-12-06T03:59:10.346436+01:00",
        "MinimalExpirationDateSpecified": true,
        "MaximalExpirationDate": "2025-12-06T03:59:10.346436+01:00",
        "MaximalExpirationDateSpecified": true,
        "LotDate": "2025-12-06T03:59:10.346436+01:00",
        "LotDateSpecified": true
      },
      "URNIdentifier": "string 18",
      "URNTypeIdentifier": "string 19",
      "TransactionAdditionalFields": [
        {
          "Name": "string 1",
          "Value": "string 2"
        },
        {
          "Name": "string 1",
          "Value": "string 2"
        }
      ]
    },
    {
      "TransactionType": "OV",
      "StockSourceLocationIdentifier": "string 1",
      "StockDestinationLocationIdentifier": "string 2",
      "StockSourceLocationTypeCode": "string 3",
      "StockDestinationLocationTypeCode": "string 4",
      "TransactionIdentifier": 5,
      "TransactionDateTime": "2025-12-06T03:59:10.346436+01:00",
      "ProductIdentifier": "string 7",
      "StatusDescription": "string 8",
      "Quantity": 9,
      "Remark": "string 10",
      "FromStockBlockType": "string 11",
      "ToStockBlockType": "string 12",
      "WarehouseIdentifier": "string 13",
      "CompanyIdentifier": "string 14",
      "OrderIdentifier": "string 15",
      "OrderTypeIdentifier": "string 16",
      "LineIdentifier": 1,
      "LineIdentifierSpecified": true,
      "SerialNumbers": [
        {
          "Number": "string 1"
        },
        {
          "Number": "string 1"
        }
      ],
      "Lot": {
        "CompanyIdentifier": "string 1",
        "BatchNumber": "string 2",
        "LotNumber": "string 3",
        "MinimalExpirationDate": "2025-12-06T03:59:10.346436+01:00",
        "MinimalExpirationDateSpecified": true,
        "MaximalExpirationDate": "2025-12-06T03:59:10.346436+01:00",
        "MaximalExpirationDateSpecified": true,
        "LotDate": "2025-12-06T03:59:10.346436+01:00",
        "LotDateSpecified": true
      },
      "URNIdentifier": "string 18",
      "URNTypeIdentifier": "string 19",
      "TransactionAdditionalFields": [
        {
          "Name": "string 1",
          "Value": "string 2"
        },
        {
          "Name": "string 1",
          "Value": "string 2"
        }
      ]
    }
  ],
  "Footer": {
    "TotalRecords": 1,
    "Records": 2
  }
}

application/xml, text/xml

Sample:
<GetPurchaseOrderTransactionsMessageResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Header>
    <Version>string 1</Version>
    <Identification>string 2</Identification>
    <Sender>string 3</Sender>
  </Header>
  <PurchaseOrderTransactionList>
    <PurchaseOrderTransactionListResponseItem>
      <TransactionIdentifier>5</TransactionIdentifier>
      <TransactionDateTime>2025-12-06T03:59:10.346436+01:00</TransactionDateTime>
      <ProductIdentifier>string 7</ProductIdentifier>
      <StatusDescription>string 8</StatusDescription>
      <Quantity>9</Quantity>
      <Remark>string 10</Remark>
      <FromStockBlockType>string 11</FromStockBlockType>
      <ToStockBlockType>string 12</ToStockBlockType>
      <WarehouseIdentifier>string 13</WarehouseIdentifier>
      <CompanyIdentifier>string 14</CompanyIdentifier>
      <OrderIdentifier>string 15</OrderIdentifier>
      <OrderTypeIdentifier>string 16</OrderTypeIdentifier>
      <LineIdentifier>1</LineIdentifier>
      <LineIdentifierSpecified>true</LineIdentifierSpecified>
      <SerialNumbers>
        <SerialNumber>
          <Number>string 1</Number>
        </SerialNumber>
        <SerialNumber>
          <Number>string 1</Number>
        </SerialNumber>
      </SerialNumbers>
      <Lot>
        <CompanyIdentifier>string 1</CompanyIdentifier>
        <BatchNumber>string 2</BatchNumber>
        <LotNumber>string 3</LotNumber>
        <MinimalExpirationDate>2025-12-06T03:59:10.346436+01:00</MinimalExpirationDate>
        <MinimalExpirationDateSpecified>true</MinimalExpirationDateSpecified>
        <MaximalExpirationDate>2025-12-06T03:59:10.346436+01:00</MaximalExpirationDate>
        <MaximalExpirationDateSpecified>true</MaximalExpirationDateSpecified>
        <LotDate>2025-12-06T03:59:10.346436+01:00</LotDate>
        <LotDateSpecified>true</LotDateSpecified>
      </Lot>
      <URNIdentifier>string 18</URNIdentifier>
      <URNTypeIdentifier>string 19</URNTypeIdentifier>
      <TransactionAdditionalFields>
        <TransactionAdditionalField>
          <Name>string 1</Name>
          <Value>string 2</Value>
        </TransactionAdditionalField>
        <TransactionAdditionalField>
          <Name>string 1</Name>
          <Value>string 2</Value>
        </TransactionAdditionalField>
      </TransactionAdditionalFields>
      <TransactionType>OV</TransactionType>
      <StockSourceLocationIdentifier>string 1</StockSourceLocationIdentifier>
      <StockDestinationLocationIdentifier>string 2</StockDestinationLocationIdentifier>
      <StockSourceLocationTypeCode>string 3</StockSourceLocationTypeCode>
      <StockDestinationLocationTypeCode>string 4</StockDestinationLocationTypeCode>
    </PurchaseOrderTransactionListResponseItem>
    <PurchaseOrderTransactionListResponseItem>
      <TransactionIdentifier>5</TransactionIdentifier>
      <TransactionDateTime>2025-12-06T03:59:10.346436+01:00</TransactionDateTime>
      <ProductIdentifier>string 7</ProductIdentifier>
      <StatusDescription>string 8</StatusDescription>
      <Quantity>9</Quantity>
      <Remark>string 10</Remark>
      <FromStockBlockType>string 11</FromStockBlockType>
      <ToStockBlockType>string 12</ToStockBlockType>
      <WarehouseIdentifier>string 13</WarehouseIdentifier>
      <CompanyIdentifier>string 14</CompanyIdentifier>
      <OrderIdentifier>string 15</OrderIdentifier>
      <OrderTypeIdentifier>string 16</OrderTypeIdentifier>
      <LineIdentifier>1</LineIdentifier>
      <LineIdentifierSpecified>true</LineIdentifierSpecified>
      <SerialNumbers>
        <SerialNumber>
          <Number>string 1</Number>
        </SerialNumber>
        <SerialNumber>
          <Number>string 1</Number>
        </SerialNumber>
      </SerialNumbers>
      <Lot>
        <CompanyIdentifier>string 1</CompanyIdentifier>
        <BatchNumber>string 2</BatchNumber>
        <LotNumber>string 3</LotNumber>
        <MinimalExpirationDate>2025-12-06T03:59:10.346436+01:00</MinimalExpirationDate>
        <MinimalExpirationDateSpecified>true</MinimalExpirationDateSpecified>
        <MaximalExpirationDate>2025-12-06T03:59:10.346436+01:00</MaximalExpirationDate>
        <MaximalExpirationDateSpecified>true</MaximalExpirationDateSpecified>
        <LotDate>2025-12-06T03:59:10.346436+01:00</LotDate>
        <LotDateSpecified>true</LotDateSpecified>
      </Lot>
      <URNIdentifier>string 18</URNIdentifier>
      <URNTypeIdentifier>string 19</URNTypeIdentifier>
      <TransactionAdditionalFields>
        <TransactionAdditionalField>
          <Name>string 1</Name>
          <Value>string 2</Value>
        </TransactionAdditionalField>
        <TransactionAdditionalField>
          <Name>string 1</Name>
          <Value>string 2</Value>
        </TransactionAdditionalField>
      </TransactionAdditionalFields>
      <TransactionType>OV</TransactionType>
      <StockSourceLocationIdentifier>string 1</StockSourceLocationIdentifier>
      <StockDestinationLocationIdentifier>string 2</StockDestinationLocationIdentifier>
      <StockSourceLocationTypeCode>string 3</StockSourceLocationTypeCode>
      <StockDestinationLocationTypeCode>string 4</StockDestinationLocationTypeCode>
    </PurchaseOrderTransactionListResponseItem>
  </PurchaseOrderTransactionList>
  <Footer>
    <TotalRecords>1</TotalRecords>
    <Records>2</Records>
  </Footer>
</GetPurchaseOrderTransactionsMessageResponse>