GET api/v1/widgets/customertypeswdgt?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
SingleResultResponseOfWidgetWithDataDtoOfCustomerTypesData| Name | Description | Type | Additional information |
|---|---|---|---|
| Meta | MetaSingleResult |
None. |
|
| Notifications |
None. |
Response Formats
application/json, text/json
Sample:
{
"meta": {},
"notifications": [
{},
{}
],
"result": {
"id": "021671dd-5dfa-4ab7-8538-1e493d2541dd",
"code": "sample string 2",
"data": {
"percentageTypeA": 1.0,
"percentageTypeB": 2.0,
"percentageTypeC": 3.0,
"percentageTypeD": 4.0
}
}
}
application/xml, text/xml
Sample:
<SingleResultResponseOfWidgetWithDataDtoOfCustomerTypesDatadOvjT49_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:PercentageTypeA>1</d2p1:PercentageTypeA>
<d2p1:PercentageTypeB>2</d2p1:PercentageTypeB>
<d2p1:PercentageTypeC>3</d2p1:PercentageTypeC>
<d2p1:PercentageTypeD>4</d2p1:PercentageTypeD>
</d2p1:Data>
<d2p1:Id>021671dd-5dfa-4ab7-8538-1e493d2541dd</d2p1:Id>
</Result>
</SingleResultResponseOfWidgetWithDataDtoOfCustomerTypesDatadOvjT49_PdOvjT49_P>