Skip to content

Get Selections

Return a list (or a subset) of selections the user has access to.

Endpoint {base-url}/selections
Verb POST
Max Page Size 50

Request Body

{
  "requestFilter": {
    "organizationIds": [],
    "accountIds": [],
    "siteIds": [],
    "machineIdentifiers": [],
    "selectionIds": [],
    "includeDeleted": false
  }
}

Filters Honored

  • RequestFilter
    • organizationIds
    • accountIds
    • siteIds
    • machineIdentifiers
    • selectionIds
    • includeDeleted

Returns

On Success

The requested set of selections.

Response Body

[
  {
    "id": 3345,
    "machineId": 418,
    "productId": 424,
    "price": 0.7,
    "invoicePrice": 0.0,
    "restockTo": 10,
    "depth": 10,
    "count": 7,
    "isActive": false,
    "alertLevel": null,
    "restockAt": null,
    "freeCount": 0,
    "tax": 0.0,
    "commission": 0.0,
    "selectionNumber": "1",
    "friendlyNumber": "1"
  }
]