AlphaAlpha Docs
API ReferencePicklists

Get page by page number and size with optional sorting based on field to sortBy and direction

GET
/finance/picklists/page
AuthorizationBearer <token>

In: header

Query Parameters

pageNumber?integer
Formatint32
pageSize?integer
Formatint32
sortBy?string
direction?string
Value in"ASC" | "DESC"
search?string

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "http://localhost:18080/api/v1/finance/picklists/page"
{
  "content": [
    {
      "acceptedReturns": [
        {
          "productId": "string",
          "quantity": 0.1
        }
      ],
      "checker": "string",
      "checkingNote": "string",
      "created": "2019-08-24T14:15:22Z",
      "createdBy": "string",
      "deadline": "2019-08-24T14:15:22Z",
      "events": [
        {
          "authorId": "string",
          "date": "2019-08-24T14:15:22Z",
          "description": "string",
          "id": "string",
          "type": "CREATE"
        }
      ],
      "id": "string",
      "isCancellable": true,
      "isPicked": true,
      "isReserved": true,
      "number": "string",
      "packer": "string",
      "picker": "string",
      "picklistType": "ORDER",
      "priority": "LOW_PRIORITY",
      "products": [
        {
          "actualQuantity": 0.1,
          "checked": true,
          "checkerComment": "string",
          "markedForReturn": true,
          "packed": true,
          "picked": true,
          "pickedStockBatches": [
            {
              "batchNumber": "string",
              "expirationDate": "2019-08-24T14:15:22Z",
              "originalPurchaseOrderId": "string",
              "price": 0.1,
              "productId": "string",
              "productionDate": "2019-08-24T14:15:22Z",
              "quantity": 0.1
            }
          ],
          "productId": "string",
          "quantity": 0.1,
          "quantityToReturn": 0.1,
          "unit": "string"
        }
      ],
      "rejectedReturns": [
        {
          "batches": [
            {
              "quantity": 0.1,
              "reason": "string"
            }
          ],
          "productId": "string",
          "quantity": 0.1
        }
      ],
      "returnCompletedAt": "2019-08-24T14:15:22Z",
      "returnDeadline": "2019-08-24T14:15:22Z",
      "shipment": {
        "courier": "string",
        "deliveryDate": "2019-08-24T14:15:22Z",
        "destinationAddress": "string",
        "dimensions": "string",
        "labelHasBeenPrinted": true,
        "packingNote": "string",
        "shippingDate": "2019-08-24T14:15:22Z",
        "shippingMethod": "string",
        "shippingNote": "string",
        "stockSiteAddress": "string",
        "trackingNumber": "string",
        "trackingUrl": "string",
        "weight": "string"
      },
      "sourceId": "string",
      "status": "READY_TO_PICK",
      "stockSiteId": "string",
      "subsidiaryId": "string",
      "tenantId": "string",
      "totalReturned": [
        {
          "productId": "string",
          "quantity": 0.1
        }
      ],
      "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"
}