POST api/PurchaseOrderTransactions

Get list of all Purchase Order Transactions with additional fields

Request Information

URI Parameters

None.

Body Parameters

Additional fields to be returned in the result

GetTransactionAdditionalFields
NameDescriptionTypeAdditional information
CompanyCode

string

None.

TransactionAdditionalRequestFields

Collection of TransactionAdditionalRequestField

None.

Request Formats

application/json, text/json

Sample:
{
  "CompanyCode": "string 1",
  "TransactionAdditionalRequestFields": [
    {
      "Name": "string 1"
    },
    {
      "Name": "string 1"
    }
  ]
}

application/xml, text/xml

Sample:
<GetTransactionAdditionalFields xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <CompanyCode>string 1</CompanyCode>
  <TransactionAdditionalRequestFields>
    <TransactionAdditionalRequestField>
      <Name>string 1</Name>
    </TransactionAdditionalRequestField>
    <TransactionAdditionalRequestField>
      <Name>string 1</Name>
    </TransactionAdditionalRequestField>
  </TransactionAdditionalRequestFields>
</GetTransactionAdditionalFields>

application/x-www-form-urlencoded

Sample:

Sample not available.

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-06T04:00:26.6330844+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-06T04:00:26.6330844+01:00",
        "MinimalExpirationDateSpecified": true,
        "MaximalExpirationDate": "2025-12-06T04:00:26.6330844+01:00",
        "MaximalExpirationDateSpecified": true,
        "LotDate": "2025-12-06T04:00:26.6330844+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-06T04:00:26.6330844+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-06T04:00:26.6330844+01:00",
        "MinimalExpirationDateSpecified": true,
        "MaximalExpirationDate": "2025-12-06T04:00:26.6330844+01:00",
        "MaximalExpirationDateSpecified": true,
        "LotDate": "2025-12-06T04:00:26.6330844+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-06T04:00:26.6330844+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-06T04:00:26.6330844+01:00</MinimalExpirationDate>
        <MinimalExpirationDateSpecified>true</MinimalExpirationDateSpecified>
        <MaximalExpirationDate>2025-12-06T04:00:26.6330844+01:00</MaximalExpirationDate>
        <MaximalExpirationDateSpecified>true</MaximalExpirationDateSpecified>
        <LotDate>2025-12-06T04:00:26.6330844+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-06T04:00:26.6330844+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-06T04:00:26.6330844+01:00</MinimalExpirationDate>
        <MinimalExpirationDateSpecified>true</MinimalExpirationDateSpecified>
        <MaximalExpirationDate>2025-12-06T04:00:26.6330844+01:00</MaximalExpirationDate>
        <MaximalExpirationDateSpecified>true</MaximalExpirationDateSpecified>
        <LotDate>2025-12-06T04:00:26.6330844+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>