API ReferenceStock transfers
Get page by page number and size with optional sorting based on field to sortBy and direction
Retrieves a paginated list of stock transfers with enriched data
AuthorizationBearer <token>
In: header
Query Parameters
pageNumber*integer
Format
int32pageSize?integer
Format
int32sortBy?string
direction?string
Value in
"ASC" | "DESC"search?string
stockSiteId?string
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "http://localhost:18080/api/v1/stock-transfers/page-enriched?pageNumber=0"{
"content": [
{
"batchAllocations": [
{
"batchNumber": "string",
"expirationDate": "2019-08-24T14:15:22Z",
"locationId": "string",
"productId": "string",
"quantity": 0.1
}
],
"cancelledProducts": [
{
"productId": "string",
"quantity": 0.1,
"unit": "string"
}
],
"created": "2019-08-24T14:15:22Z",
"createdBy": "string",
"deliveryDate": "2019-08-24T14:15:22Z",
"deliveryMethod": "REGULAR",
"destinationSiteId": "string",
"events": [
{
"authorId": "string",
"date": "2019-08-24T14:15:22Z",
"description": "string",
"id": "string",
"type": "CREATE"
}
],
"id": "string",
"incomingStockTransferId": "string",
"incomingStockTransferStatus": "EXPECTED",
"note": "string",
"picklistIds": [
"string"
],
"priority": "LOW",
"productStatus": [
{
"finishedQuantity": 0.1,
"productId": "string",
"quantityCanBeCancelled": 0.1,
"quantityCancelled": 0.1,
"quantityDelivered": 0.1,
"quantityOrdered": 0.1,
"quantityPending": 0.1,
"quantityPicked": 0.1,
"quantityReservedPicklist": 0.1,
"quantityReservedUnassigned": 0.1,
"quantityReturned": 0.1,
"quantityShipped": 0.1,
"returnStarted": true,
"unitPrice": 0.1
}
],
"products": [
{
"availableStock": 0.1,
"baseUnitConversion": 0.1,
"baseUnitQuantity": 0.1,
"batchAllocations": [
{
"batchNumber": "string",
"expirationDate": "2019-08-24T14:15:22Z",
"locationId": "string",
"productId": "string",
"quantity": 0.1
}
],
"imageAssets": [
{
"blobId": "string",
"created": "2019-08-24T14:15:22Z",
"extension": "string",
"fileSize": 0,
"name": "string",
"type": "IMAGE"
}
],
"pending": 0.1,
"price": 0.1,
"productId": "string",
"productName": "string",
"quantity": 0.1,
"quantityCancelled": 0.1,
"quantityDelivered": 0.1,
"quantityPicked": 0.1,
"quantityReturned": 0.1,
"quantityShipped": 0.1,
"reservations": [
{
"productId": "string",
"quantity": 0.1,
"siteId": "string",
"siteName": "string"
}
],
"returnStarted": true,
"totalReserved": 0.1,
"unit": "string",
"unitsOfMeasurement": [
{
"baseUnit": true,
"cost": 0.1,
"decimal": true,
"isBaseUnit": true,
"isDecimal": true,
"name": "string",
"quantity": 0.1,
"salesPrice": 0.1,
"unit": "string"
}
]
}
],
"reservationsGroupedBySite": {
"property1": [
{
"productId": "string",
"quantity": 0.1,
"siteId": "string",
"siteName": "string"
}
],
"property2": [
{
"productId": "string",
"quantity": 0.1,
"siteId": "string",
"siteName": "string"
}
]
},
"reservedProducts": [
{
"productId": "string",
"quantity": 0.1,
"siteId": "string",
"siteName": "string"
}
],
"status": "DRAFT",
"stockSiteId": "string",
"subsidiaryId": "string",
"tenantId": "string",
"transferNumber": "string",
"updated": "2019-08-24T14:15:22Z",
"updatedBy": "string"
}
],
"empty": true,
"first": true,
"last": true,
"number": 0,
"numberOfElements": 0,
"pageable": {
"offset": 0,
"pageNumber": 0,
"pageSize": 0,
"paged": true,
"sort": {
"empty": true,
"sorted": true,
"unsorted": true
},
"unpaged": true
},
"size": 0,
"sort": {
"empty": true,
"sorted": true,
"unsorted": true
},
"totalElements": 0,
"totalPages": 0
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}