API ReferenceIncoming stock transfers
Get page by page number and size with optional sorting based on field to sortBy and direction
Retrieves a paginated list of incoming 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
statuses?array<>
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "http://localhost:18080/api/v1/incoming-stock-transfers/page-enriched?pageNumber=0"{
"content": [
{
"acceptedProducts": [
{
"productId": "string",
"quantity": 0.1
}
],
"created": "2019-08-24T14:15:22Z",
"createdBy": "string",
"destinationSiteId": "string",
"events": [
{
"authorId": "string",
"date": "2019-08-24T14:15:22Z",
"description": "string",
"id": "string",
"type": "CREATE"
}
],
"id": "string",
"products": [
{
"accepted": 0.1,
"canReceive": true,
"currency": "string",
"imageAssets": [
{
"blobId": "string",
"created": "2019-08-24T14:15:22Z",
"extension": "string",
"fileSize": 0,
"name": "string",
"type": "IMAGE"
}
],
"pending": 0.1,
"percentageAccepted": 0.1,
"percentagePending": 0.1,
"percentageRejected": 0.1,
"price": 0.1,
"productId": "string",
"productName": "string",
"quantity": 0.1,
"rejected": 0.1,
"sourceLocationId": "string",
"totalPrice": 0.1,
"unitsOfMeasurement": [
{
"baseUnit": true,
"cost": 0.1,
"decimal": true,
"isBaseUnit": true,
"isDecimal": true,
"name": "string",
"quantity": 0.1,
"salesPrice": 0.1,
"unit": "string"
}
]
}
],
"rejectedProducts": [
{
"batches": [
{
"quantity": 0.1,
"reason": "string"
}
],
"productId": "string",
"quantity": 0.1
}
],
"sourceSiteId": "string",
"sourceSubsidiaryId": "string",
"status": "EXPECTED",
"stockTransferId": "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"
}