GET api/v2/Dashboards/GetMobileDashboard
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
MobileDashboardContract| Name | Description | Type | Additional information |
|---|---|---|---|
| FarmsCount | integer |
None. |
|
| OrdersInProgressCount | integer |
None. |
|
| OrdersWaitingForConfirmationCount | integer |
None. |
|
| AnimalsCount | integer |
None. |
|
| AlertStockBreak | integer |
None. |
|
| AlertEndingGroup | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"FarmsCount": 1,
"OrdersInProgressCount": 2,
"OrdersWaitingForConfirmationCount": 3,
"AnimalsCount": 4,
"AlertStockBreak": 5,
"AlertEndingGroup": 6
}
application/xml, text/xml
Sample:
<MobileDashboardContract xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.agrifoodatsolutions.com/FPService/v2/contracts/2017/01"> <AlertEndingGroup>6</AlertEndingGroup> <AlertStockBreak>5</AlertStockBreak> <AnimalsCount>4</AnimalsCount> <FarmsCount>1</FarmsCount> <OrdersInProgressCount>2</OrdersInProgressCount> <OrdersWaitingForConfirmationCount>3</OrdersWaitingForConfirmationCount> </MobileDashboardContract>