A module containing the routes for dealing with cartons
- Since:
-
- 15/09/2017
Members
-
<route> getStoreDeliveryCartons
-
Route:
returns a list of cartons that a store need to acceptMethod Path GET /api/v1/cartons/store Query Parameters:
Name Type Description branchID int The id of the branch to retrieve cartons for daysOutstanding int How many days worth of cartons? showScanned int Include cartons that have already been scanned - Since:
-
- 18/09/2017
- See:
-
- HeelRealm.CartonFragment.getCartons
Example
/api/v1/cartons/store?branchID=22&daysOutstanding=5&showScanned=0
-
<route> postCarton
-
Route:
Updates a carton and marks it as scannedMethod Path POST /api/v1/cartons/store Query Parameters:
Name Type Description cartonID int The id of the carton that has been scanned - Since:
-
- 18/09/2017
- See:
-
- HeelsRealm.CartonFragment.sendScanned
Example
/api/v1/cartons/store {BODY} -
<route> postFailedCarton
-
Route:
Trys to mark a failed scanMethod Path POST /api/v1/cartons/store/failed Query Parameters:
Name Type Description branchID int The id of the branch that scanned a non carton scannedBarcode string Whatever they have scanned - Since:
-
- 18/09/2017
- See:
-
- HeelsRealm.CartonFragment.postAttemptedScan
Example
/api/v1/cartons/store/failed {BODY}