Module: Dasco

A module containing the routes for dasco
Since:
  • 16/11/2017
Author:
  • Dave

Members


<route> confirmDasco

Route:
MethodPath
POST /api/v1/dasco/confirm
confirms a dasco delivery
Query Parameters:
Name Type Description
req.body.poid integer the purchase order id of the delivery
Since:
  • 16/11/2017
Author:
  • Dave
See:
  • HeelsRealm.DascoFragment.sendFinal
Example
/api/v1/dasco/confirm {BODY}

<route> getdasco

Route:
MethodPath
GET /api/v1/dasco
gets the dasco delivery for a branch
Query Parameters:
Name Type Description
req.query.branchID integer the branch id to fetch delivery for
Since:
  • 16/11/2017
Author:
  • Dave
See:
  • HeelsRealm.DascoFragment.checkDelivery
Example
/api/v1/dasco?branchID=22

<route> getEmail

Route:
MethodPath
GET /api/v1/dascoreminder
gets the email addreses of branches that have not sent there delivery
Since:
  • 29/10/2018
Author:
  • Dave

<route> postDasco

Route:
MethodPath
POST /api/v1/dasco
posts an scanned item
Query Parameters:
Name Type Description
req.body.poid integer the purchase order id of the delivery
req.body.qty integer the packsize scanned
req.body.posCode string the item scanned
Since:
  • 16/11/2017
Author:
  • Dave
Example
/api/v1/dasco {BODY}

<route> postDasco

Route:
MethodPath
POST /api/v1/dasco
posts an scanned item
Query Parameters:
Name Type Description
req.body.poid integer the purchase order id of the delivery
req.body.qty integer the packsize scanned
req.body.posCode string the item scanned
Since:
  • 16/11/2017
Author:
  • Dave
See:
  • HeelsRealm.DascoFragment.sendScanned
Example
/api/v1/dasco {BODY}

<route> postDascoUnder

Route:
MethodPath
POST /api/v1/dasco/under
posts an under item
Query Parameters:
Name Type Description
req.body.poid integer the purchase order id of the delivery
req.body.qty integer the packsize scanned
req.body.posCode string the item scanned
Since:
  • 16/11/2017
Author:
  • Dave
See:
  • HeelsRealm.DascoFragment.sendUnders
Example
/api/v1/dasco/under {BODY}