POST Dashboard/GoalsInfo
Request Information
URI Parameters
None.
Body Parameters
IConnect.Domain.Dashboard.DashboardRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| EmployeeId | integer |
None. |
|
| NoOfDays | integer |
None. |
|
| IncludeTax | boolean |
None. |
|
| IncludeGiftCardSales | boolean |
None. |
|
| IsMobile | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"EmployeeId": 1,
"NoOfDays": 1,
"IncludeTax": true,
"IncludeGiftCardSales": true,
"IsMobile": true
}
application/xml, text/xml
Sample:
<DashboardRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Dashboard"> <EmployeeId>1</EmployeeId> <IncludeGiftCardSales>true</IncludeGiftCardSales> <IncludeTax>true</IncludeTax> <IsMobile>true</IsMobile> <NoOfDays>1</NoOfDays> </DashboardRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of IConnect.Domain.Dashboard.GoalViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ServiceProviderId | integer |
None. |
|
| ServiceProviderName | string |
None. |
|
| DailyProductAmount | decimal number |
None. |
|
| DailyCurrentProductAmount | decimal number |
None. |
|
| DailyProductPercentage | decimal number |
None. |
|
| DailyServiceAmount | decimal number |
None. |
|
| DailyCurrrentServiceAmount | decimal number |
None. |
|
| DailyServicePercentage | decimal number |
None. |
|
| DailyTotalAmount | decimal number |
None. |
|
| FormattedDailyProductAmount | string |
None. |
|
| FormattedDailyCurrentProductAmount | string |
None. |
|
| FormattedDailyServiceAmount | string |
None. |
|
| FormattedDailyCurrentServiceAmount | string |
None. |
|
| FormattedDailyTotalAmount | string |
None. |
|
| WeeklyProductAmount | decimal number |
None. |
|
| CurrentWeeklyProductAmount | decimal number |
None. |
|
| WeeklyProductPercentage | decimal number |
None. |
|
| WeeklyServiceAmount | decimal number |
None. |
|
| CurrentWeeklyServiceAmount | decimal number |
None. |
|
| WeeklyServicePercentage | decimal number |
None. |
|
| WeeklyTotalAmount | decimal number |
None. |
|
| FormattedWeeklyProductAmount | string |
None. |
|
| FormattedWeeklyCurrentProductAmount | string |
None. |
|
| FormattedWeeklyServiceAmount | string |
None. |
|
| FormattedWeeklyCurrentServiceAmount | string |
None. |
|
| FormattedWeeklyTotalAmount | string |
None. |
|
| MonthlyProductAmount | decimal number |
None. |
|
| CurrentMonthlyProductAmount | decimal number |
None. |
|
| MonthlyProductPercentage | decimal number |
None. |
|
| MonthlyServiceAmount | decimal number |
None. |
|
| CurrentMonthlyServiceAmount | decimal number |
None. |
|
| MonthlyServicePercentage | decimal number |
None. |
|
| MonthlyTotalAmount | decimal number |
None. |
|
| FormattedMonthlyProductAmount | string |
None. |
|
| FormattedMonthlyCurrentProductAmount | string |
None. |
|
| FormattedMonthlyServiceAmount | string |
None. |
|
| FormattedMonthlyCurrentServiceAmount | string |
None. |
|
| FormattedMonthlyTotalAmount | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"ServiceProviderId": 1,
"ServiceProviderName": "sample string 2",
"DailyProductAmount": 3.0,
"DailyCurrentProductAmount": 4.0,
"DailyProductPercentage": 5.0,
"DailyServiceAmount": 6.0,
"DailyCurrrentServiceAmount": 7.0,
"DailyServicePercentage": 8.0,
"DailyTotalAmount": 9.0,
"FormattedDailyProductAmount": "sample string 9",
"FormattedDailyCurrentProductAmount": "sample string 10",
"FormattedDailyServiceAmount": "sample string 11",
"FormattedDailyCurrentServiceAmount": "sample string 12",
"FormattedDailyTotalAmount": "sample string 13",
"WeeklyProductAmount": 14.0,
"CurrentWeeklyProductAmount": 15.0,
"WeeklyProductPercentage": 16.0,
"WeeklyServiceAmount": 17.0,
"CurrentWeeklyServiceAmount": 18.0,
"WeeklyServicePercentage": 19.0,
"WeeklyTotalAmount": 31.0,
"FormattedWeeklyProductAmount": "sample string 20",
"FormattedWeeklyCurrentProductAmount": "sample string 21",
"FormattedWeeklyServiceAmount": "sample string 22",
"FormattedWeeklyCurrentServiceAmount": "sample string 23",
"FormattedWeeklyTotalAmount": "sample string 24",
"MonthlyProductAmount": 25.0,
"CurrentMonthlyProductAmount": 26.0,
"MonthlyProductPercentage": 27.0,
"MonthlyServiceAmount": 28.0,
"CurrentMonthlyServiceAmount": 29.0,
"MonthlyServicePercentage": 30.0,
"MonthlyTotalAmount": 53.0,
"FormattedMonthlyProductAmount": "sample string 31",
"FormattedMonthlyCurrentProductAmount": "sample string 32",
"FormattedMonthlyServiceAmount": "sample string 33",
"FormattedMonthlyCurrentServiceAmount": "sample string 34",
"FormattedMonthlyTotalAmount": "sample string 35"
},
{
"ServiceProviderId": 1,
"ServiceProviderName": "sample string 2",
"DailyProductAmount": 3.0,
"DailyCurrentProductAmount": 4.0,
"DailyProductPercentage": 5.0,
"DailyServiceAmount": 6.0,
"DailyCurrrentServiceAmount": 7.0,
"DailyServicePercentage": 8.0,
"DailyTotalAmount": 9.0,
"FormattedDailyProductAmount": "sample string 9",
"FormattedDailyCurrentProductAmount": "sample string 10",
"FormattedDailyServiceAmount": "sample string 11",
"FormattedDailyCurrentServiceAmount": "sample string 12",
"FormattedDailyTotalAmount": "sample string 13",
"WeeklyProductAmount": 14.0,
"CurrentWeeklyProductAmount": 15.0,
"WeeklyProductPercentage": 16.0,
"WeeklyServiceAmount": 17.0,
"CurrentWeeklyServiceAmount": 18.0,
"WeeklyServicePercentage": 19.0,
"WeeklyTotalAmount": 31.0,
"FormattedWeeklyProductAmount": "sample string 20",
"FormattedWeeklyCurrentProductAmount": "sample string 21",
"FormattedWeeklyServiceAmount": "sample string 22",
"FormattedWeeklyCurrentServiceAmount": "sample string 23",
"FormattedWeeklyTotalAmount": "sample string 24",
"MonthlyProductAmount": 25.0,
"CurrentMonthlyProductAmount": 26.0,
"MonthlyProductPercentage": 27.0,
"MonthlyServiceAmount": 28.0,
"CurrentMonthlyServiceAmount": 29.0,
"MonthlyServicePercentage": 30.0,
"MonthlyTotalAmount": 53.0,
"FormattedMonthlyProductAmount": "sample string 31",
"FormattedMonthlyCurrentProductAmount": "sample string 32",
"FormattedMonthlyServiceAmount": "sample string 33",
"FormattedMonthlyCurrentServiceAmount": "sample string 34",
"FormattedMonthlyTotalAmount": "sample string 35"
}
]
application/xml, text/xml
Sample:
<ArrayOfGoalViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Dashboard">
<GoalViewModel>
<CurrentMonthlyProductAmount>26</CurrentMonthlyProductAmount>
<CurrentMonthlyServiceAmount>29</CurrentMonthlyServiceAmount>
<CurrentWeeklyProductAmount>15</CurrentWeeklyProductAmount>
<CurrentWeeklyServiceAmount>18</CurrentWeeklyServiceAmount>
<DailyCurrentProductAmount>4</DailyCurrentProductAmount>
<DailyCurrrentServiceAmount>7</DailyCurrrentServiceAmount>
<DailyProductAmount>3</DailyProductAmount>
<DailyProductPercentage>5</DailyProductPercentage>
<DailyServiceAmount>6</DailyServiceAmount>
<DailyServicePercentage>8</DailyServicePercentage>
<FormattedDailyCurrentProductAmount>sample string 10</FormattedDailyCurrentProductAmount>
<FormattedDailyCurrentServiceAmount>sample string 12</FormattedDailyCurrentServiceAmount>
<FormattedDailyProductAmount>sample string 9</FormattedDailyProductAmount>
<FormattedDailyServiceAmount>sample string 11</FormattedDailyServiceAmount>
<FormattedDailyTotalAmount>sample string 13</FormattedDailyTotalAmount>
<FormattedMonthlyCurrentProductAmount>sample string 32</FormattedMonthlyCurrentProductAmount>
<FormattedMonthlyCurrentServiceAmount>sample string 34</FormattedMonthlyCurrentServiceAmount>
<FormattedMonthlyProductAmount>sample string 31</FormattedMonthlyProductAmount>
<FormattedMonthlyServiceAmount>sample string 33</FormattedMonthlyServiceAmount>
<FormattedMonthlyTotalAmount>sample string 35</FormattedMonthlyTotalAmount>
<FormattedWeeklyCurrentProductAmount>sample string 21</FormattedWeeklyCurrentProductAmount>
<FormattedWeeklyCurrentServiceAmount>sample string 23</FormattedWeeklyCurrentServiceAmount>
<FormattedWeeklyProductAmount>sample string 20</FormattedWeeklyProductAmount>
<FormattedWeeklyServiceAmount>sample string 22</FormattedWeeklyServiceAmount>
<FormattedWeeklyTotalAmount>sample string 24</FormattedWeeklyTotalAmount>
<MonthlyProductAmount>25</MonthlyProductAmount>
<MonthlyProductPercentage>27</MonthlyProductPercentage>
<MonthlyServiceAmount>28</MonthlyServiceAmount>
<MonthlyServicePercentage>30</MonthlyServicePercentage>
<ServiceProviderId>1</ServiceProviderId>
<ServiceProviderName>sample string 2</ServiceProviderName>
<WeeklyProductAmount>14</WeeklyProductAmount>
<WeeklyProductPercentage>16</WeeklyProductPercentage>
<WeeklyServiceAmount>17</WeeklyServiceAmount>
<WeeklyServicePercentage>19</WeeklyServicePercentage>
</GoalViewModel>
<GoalViewModel>
<CurrentMonthlyProductAmount>26</CurrentMonthlyProductAmount>
<CurrentMonthlyServiceAmount>29</CurrentMonthlyServiceAmount>
<CurrentWeeklyProductAmount>15</CurrentWeeklyProductAmount>
<CurrentWeeklyServiceAmount>18</CurrentWeeklyServiceAmount>
<DailyCurrentProductAmount>4</DailyCurrentProductAmount>
<DailyCurrrentServiceAmount>7</DailyCurrrentServiceAmount>
<DailyProductAmount>3</DailyProductAmount>
<DailyProductPercentage>5</DailyProductPercentage>
<DailyServiceAmount>6</DailyServiceAmount>
<DailyServicePercentage>8</DailyServicePercentage>
<FormattedDailyCurrentProductAmount>sample string 10</FormattedDailyCurrentProductAmount>
<FormattedDailyCurrentServiceAmount>sample string 12</FormattedDailyCurrentServiceAmount>
<FormattedDailyProductAmount>sample string 9</FormattedDailyProductAmount>
<FormattedDailyServiceAmount>sample string 11</FormattedDailyServiceAmount>
<FormattedDailyTotalAmount>sample string 13</FormattedDailyTotalAmount>
<FormattedMonthlyCurrentProductAmount>sample string 32</FormattedMonthlyCurrentProductAmount>
<FormattedMonthlyCurrentServiceAmount>sample string 34</FormattedMonthlyCurrentServiceAmount>
<FormattedMonthlyProductAmount>sample string 31</FormattedMonthlyProductAmount>
<FormattedMonthlyServiceAmount>sample string 33</FormattedMonthlyServiceAmount>
<FormattedMonthlyTotalAmount>sample string 35</FormattedMonthlyTotalAmount>
<FormattedWeeklyCurrentProductAmount>sample string 21</FormattedWeeklyCurrentProductAmount>
<FormattedWeeklyCurrentServiceAmount>sample string 23</FormattedWeeklyCurrentServiceAmount>
<FormattedWeeklyProductAmount>sample string 20</FormattedWeeklyProductAmount>
<FormattedWeeklyServiceAmount>sample string 22</FormattedWeeklyServiceAmount>
<FormattedWeeklyTotalAmount>sample string 24</FormattedWeeklyTotalAmount>
<MonthlyProductAmount>25</MonthlyProductAmount>
<MonthlyProductPercentage>27</MonthlyProductPercentage>
<MonthlyServiceAmount>28</MonthlyServiceAmount>
<MonthlyServicePercentage>30</MonthlyServicePercentage>
<ServiceProviderId>1</ServiceProviderId>
<ServiceProviderName>sample string 2</ServiceProviderName>
<WeeklyProductAmount>14</WeeklyProductAmount>
<WeeklyProductPercentage>16</WeeklyProductPercentage>
<WeeklyServiceAmount>17</WeeklyServiceAmount>
<WeeklyServicePercentage>19</WeeklyServicePercentage>
</GoalViewModel>
</ArrayOfGoalViewModel>