Endpoints꞉ Utils - Fastway-Couriers-South-Africa/myFastway.ApiClient GitHub Wiki
Endpoints
Endpoint | Verb | Paging | Description |
---|---|---|---|
/api/utils/calc-cubic | POST | returns cubic weight for given dimensions | |
/api/utils/rf/{rf}/collection-dates/from/{from} | GET | returns available dates for collection from a given RF |
Calc-cubic
Request Object
{
"length": 0,
"width": 0,
"height": 0
}
Response Object
{
"data": {
"cubicWeight": 0.00
}
}
Collection Dates
/api/utils/rf/{rf}/collection-dates/from/{from}
The format for the from query params is YYYYMMDD
Returns an array of dates that are available for consignment collection.
{
"data": {
"dates": []
}
}