Project

Profile

Help

HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. Read more...

Task #924549

Dashboard APIs - backend

Added by Deepti Singh about 1 month ago. Updated 16 days ago.

Status:
In Progress
Priority:
Normal
Category:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

List APIs required for Dashboard.

bug report dashboard api.doc (66.5 KB) bug report dashboard api.doc Aman Karn, 2021-04-07 04:17 AM
250

History

#1 Updated by Aman Karn about 1 month ago

http://localhost:8094/stats/order
Get Method
Current status: 404

Exp. Response :- {
"totalOrders": 56,
"totalPlaced": 15,
"totalPaid": 16,
"totalDelivered": 13,
"lastmonthAmount": 0,
"currentmonthAmount": 0,
"todayAmount": 0,
"todayOrder": 0,
"currentmonthOrder": 0,
"lastmonthOrder": 0,
"earningcurrentmonth": 0,
"earninglastmonth": 0
}

http://localhost:8094/stats/order/monthly
Get Method
Current status: 404

Exp. Response :-
[ {
"count": 0,
"month": "March",
"monthNo": "03",
"year": "2021",
"qvalue": 0
}, {
"count": 14,
"month": "February",
"monthNo": "02",
"year": "2021",
"qvalue": 728
}
]

http://localhost:8094/stats/services --- For Top salon plus services PiChart
Get Method
Current status: 404

Exp. Response
[ {
"count": 17,
"name": "Ayush"
}, {
"count": 14,
"name": "Baby Care"
}, {
"count": 8,
"name": "Boroline"
}
]

http://localhost:8094/stats/order/toprevenues --- For Top selling services, Top services, Top Salon Table

Get Method
Current status: 404

Exp. Response {
"topsellingservices": [ {
"count": 6,
"name": "Deepti Singh"
}, {
"count": 4,
"name": "Pihu Shaha"
}
],
"topservices": [ {
"count": 13,
"name": "DEMO INouvelle Vendor"
}, {
"count": 5,
"name": "Sri Durga Kirana"
}
],
"topsalon": [ {
"count": 17,
"name": "Ayush"
}, {
"count": 14,
"name": "Baby Care"
}
]
}

#2 Updated by Aman Karn about 1 month ago

  • Status changed from New to In Progress

#3 Updated by Deepti Singh about 1 month ago

backend done, ui needs to be updated.

#4 Updated by Aman Karn about 1 month ago

250

This API's are not working...

PFA for details of log with there api..

#5 Updated by Deepti Singh 30 days ago

  • Assignee changed from Deepti Singh to mukesh khutiyare

Issue with date comparisson and few others, mukesh pls check.

#6 Updated by mukesh khutiyare 16 days ago

  • Project changed from 64909 to Pracovní výbor pro DPL při RVIS

{
"totalOrders": 2,
"totalPlaced": 2,
"totalCancelled": 0,
"totalCompleted": 0,
"lastmonthAmount": 38000.0,
"currentmonthAmount": 0.0,
"todayAmount": 0.0,
"todayOrder": 0,
"currentmonthOrder": 0,
"lastmonthOrder": 2
}

Also available in: Atom PDF