GET api/v1/widgets/averagepurchaseswdgt?refresh={refresh}&monthsBack={monthsBack}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
refresh

boolean

Default value is False

monthsBack

integer

Default value is 12

Body Parameters

None.

Response Information

Resource Description

SingleResultResponseOfWidgetWithDataDtoOfAveragePurchasesData
NameDescriptionTypeAdditional information
Meta

MetaSingleResult

None.

Notifications

None.

Response Formats

application/json, text/json

Sample:
{
  "meta": {},
  "notifications": [
    {},
    {}
  ],
  "result": {
    "id": "53f85d77-01a7-45f6-8a0a-f4816fac151d",
    "code": "sample string 2",
    "data": {
      "avarageTicket": 1.0,
      "avarageTicketOnline": 2.0,
      "frecuencyOnline": 3.1,
      "avarageTicketOffline": 4.0,
      "frecuentyOffline": 5.1
    }
  }
}

application/xml, text/xml

Sample:
<SingleResultResponseOfWidgetWithDataDtoOfAveragePurchasesDatadOvjT49_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:AvarageTicket>1</d2p1:AvarageTicket>
      <d2p1:AvarageTicketOffline>4</d2p1:AvarageTicketOffline>
      <d2p1:AvarageTicketOnline>2</d2p1:AvarageTicketOnline>
      <d2p1:FrecuencyOnline>3.1</d2p1:FrecuencyOnline>
      <d2p1:FrecuentyOffline>5.1</d2p1:FrecuentyOffline>
    </d2p1:Data>
    <d2p1:Id>53f85d77-01a7-45f6-8a0a-f4816fac151d</d2p1:Id>
  </Result>
</SingleResultResponseOfWidgetWithDataDtoOfAveragePurchasesDatadOvjT49_PdOvjT49_P>