GET api/v1/widgets/customersourcewdgt?refresh={refresh}&monthsBack={monthsBack}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| refresh | boolean |
Default value is False |
|
| monthsBack | integer |
Default value is 12 |
Body Parameters
None.
Response Information
Resource Description
SingleResultResponseOfWidgetWithDataDtoOfCustomerSourcesData| Name | Description | Type | Additional information |
|---|---|---|---|
| Meta | MetaSingleResult |
None. |
|
| Notifications |
None. |
Response Formats
application/json, text/json
Sample:
{
"meta": {},
"notifications": [
{},
{}
],
"result": {
"id": "19f80328-24fb-4c37-b164-ed1c0b28cbef",
"code": "sample string 2",
"data": {
"totalCustomersBySources": [
{
"sourceCode": "sample string 1",
"sourceName": "sample string 2",
"isOnline": true,
"totalCustomers": 4
},
{
"sourceCode": "sample string 1",
"sourceName": "sample string 2",
"isOnline": true,
"totalCustomers": 4
}
]
}
}
}
application/xml, text/xml
Sample:
<SingleResultResponseOfWidgetWithDataDtoOfCustomerSourcesDatadOvjT49_PdOvjT49_P xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Presentation.WebApi.Dtos.Response">
<Meta />
<Notifications>
<Notification />
<Notification />
</Notifications>
<Result xmlns:d2p1="http://schemas.datacontract.org/2004/07/Application.Services.Dtos">
<d2p1:Code>sample string 2</d2p1:Code>
<d2p1:Data>
<d2p1:TotalCustomersBySources>
<d2p1:TotalCustomersBySource>
<d2p1:IsOnline>true</d2p1:IsOnline>
<d2p1:SourceCode>sample string 1</d2p1:SourceCode>
<d2p1:SourceName>sample string 2</d2p1:SourceName>
<d2p1:TotalCustomers>4</d2p1:TotalCustomers>
</d2p1:TotalCustomersBySource>
<d2p1:TotalCustomersBySource>
<d2p1:IsOnline>true</d2p1:IsOnline>
<d2p1:SourceCode>sample string 1</d2p1:SourceCode>
<d2p1:SourceName>sample string 2</d2p1:SourceName>
<d2p1:TotalCustomers>4</d2p1:TotalCustomers>
</d2p1:TotalCustomersBySource>
</d2p1:TotalCustomersBySources>
</d2p1:Data>
<d2p1:Id>19f80328-24fb-4c37-b164-ed1c0b28cbef</d2p1:Id>
</Result>
</SingleResultResponseOfWidgetWithDataDtoOfCustomerSourcesDatadOvjT49_PdOvjT49_P>