GET api/StockTransactions?companyCode={companyCode}&orderIdentifier={orderIdentifier}
Get list of all Stock Transactions for specified order
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| companyCode |
Company Identifier |
string |
Required |
| orderIdentifier |
Order Identifier (SalesOrder, PurchaseOrder of ReturnOrder) |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
Response message with a list of stock transactions of all Company related Products. HttpStatusCode.Conflict when user isn't connected to Company
GetStockTransactionsMessageResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Header | MessageHeader |
None. |
|
| StockTransactionList | Collection of StockTransactionListResponseItem |
None. |
|
| Footer | MessageFooter |
None. |
Response Formats
application/json, text/json
Sample:
{
"Header": {
"Version": "string 1",
"Identification": "string 2",
"Sender": "string 3"
},
"StockTransactionList": [
{
"TransactionType": "MNLIN",
"StockSourceLocationIdentifier": "string 1",
"StockDestinationLocationIdentifier": "string 2",
"StockSourceLocationTypeCode": "string 3",
"StockDestinationLocationTypeCode": "string 4",
"TransactionIdentifier": 5,
"TransactionDateTime": "2025-12-06T03:58:05.4994812+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:58:05.4994812+01:00",
"MinimalExpirationDateSpecified": true,
"MaximalExpirationDate": "2025-12-06T03:58:05.4994812+01:00",
"MaximalExpirationDateSpecified": true,
"LotDate": "2025-12-06T03:58:05.4994812+01:00",
"LotDateSpecified": true
},
"URNIdentifier": "string 18",
"URNTypeIdentifier": "string 19",
"TransactionAdditionalFields": [
{
"Name": "string 1",
"Value": "string 2"
},
{
"Name": "string 1",
"Value": "string 2"
}
]
},
{
"TransactionType": "MNLIN",
"StockSourceLocationIdentifier": "string 1",
"StockDestinationLocationIdentifier": "string 2",
"StockSourceLocationTypeCode": "string 3",
"StockDestinationLocationTypeCode": "string 4",
"TransactionIdentifier": 5,
"TransactionDateTime": "2025-12-06T03:58:05.4994812+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:58:05.4994812+01:00",
"MinimalExpirationDateSpecified": true,
"MaximalExpirationDate": "2025-12-06T03:58:05.4994812+01:00",
"MaximalExpirationDateSpecified": true,
"LotDate": "2025-12-06T03:58:05.4994812+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:
<GetStockTransactionsMessageResponse 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>
<StockTransactionList>
<StockTransactionListResponseItem>
<TransactionIdentifier>5</TransactionIdentifier>
<TransactionDateTime>2025-12-06T03:58:05.4994812+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:58:05.4994812+01:00</MinimalExpirationDate>
<MinimalExpirationDateSpecified>true</MinimalExpirationDateSpecified>
<MaximalExpirationDate>2025-12-06T03:58:05.4994812+01:00</MaximalExpirationDate>
<MaximalExpirationDateSpecified>true</MaximalExpirationDateSpecified>
<LotDate>2025-12-06T03:58:05.4994812+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>MNLIN</TransactionType>
<StockSourceLocationIdentifier>string 1</StockSourceLocationIdentifier>
<StockDestinationLocationIdentifier>string 2</StockDestinationLocationIdentifier>
<StockSourceLocationTypeCode>string 3</StockSourceLocationTypeCode>
<StockDestinationLocationTypeCode>string 4</StockDestinationLocationTypeCode>
</StockTransactionListResponseItem>
<StockTransactionListResponseItem>
<TransactionIdentifier>5</TransactionIdentifier>
<TransactionDateTime>2025-12-06T03:58:05.4994812+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:58:05.4994812+01:00</MinimalExpirationDate>
<MinimalExpirationDateSpecified>true</MinimalExpirationDateSpecified>
<MaximalExpirationDate>2025-12-06T03:58:05.4994812+01:00</MaximalExpirationDate>
<MaximalExpirationDateSpecified>true</MaximalExpirationDateSpecified>
<LotDate>2025-12-06T03:58:05.4994812+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>MNLIN</TransactionType>
<StockSourceLocationIdentifier>string 1</StockSourceLocationIdentifier>
<StockDestinationLocationIdentifier>string 2</StockDestinationLocationIdentifier>
<StockSourceLocationTypeCode>string 3</StockSourceLocationTypeCode>
<StockDestinationLocationTypeCode>string 4</StockDestinationLocationTypeCode>
</StockTransactionListResponseItem>
</StockTransactionList>
<Footer>
<TotalRecords>1</TotalRecords>
<Records>2</Records>
</Footer>
</GetStockTransactionsMessageResponse>