Skip to main content

Example of Request and Response

Example:

Example request >>

{
"date_from": "2020-01-01",
"date_for": "2022-03-01",
"assort_ext_id": "1000001",
"unit_ext_id": "1000101"
}

Example response <<

{
"status": "success",
"totals_pie": {
"production": 1,
"shipping": 0,
"defects": 0
},
"regions_bar": [
{
"region_name": "test",
"shipping": 5
}
],
"assortment_bar": [
{
"assort_name": "Parlament cigarettes",
"production": 1,
"shipping": 5
}
]
}