Lanes&Planes provides following ways to download data via URL to an Endpoint (EP):
- EP to list the deliveries in specific week date:
https://api.lanes-planes.com/org_admin/organizations/<ORG_ID>/accounting/erp_data/<DATE>/.json
ORG_ID: provided by Lanes&Planes
Date-Formate: YYYY-MM-DD (only mondays)
Result would be like:
{
"erp_deliveries": [
{
"id": 5,
"created_at": "2021-07-30T09:56:51.219Z",
"download": "http://api.lanes-planes.com/org_admin/organizations/1/accounting/erp/deliveries/5/download"
},
{
"id": 4,
"created_at": "2021-07-30T09:21:03.212Z",
"download": "http://api.lanes-planes.com/org_admin/organizations/1/accounting/erp/deliveries/4/download"
}
]
} -
EP to download a CSV file for specific delivery (same link included in the previous EP):
https://api.lanes-planes.com/org_admin/organizations/<ORG_ID>/accounting/erp/deliveries/<id>/download
The CSV files will not be deleted and remain within the URL.
Comments
Please sign in to leave a comment.