POST api/SaiUserWidget/GetCallsByMonthForGraph

Request Information

URI Parameters

None.

Body Parameters

WidgetRequestOfObject
NameDescriptionTypeAdditional information
AccountId

integer

None.

CompanyId

string

None.

UserId

integer

None.

WidgetCode

string

None.

DetailWidgetCode

string

None.

UserName

string

None.

TimeZone

string

None.

Filter

Object

None.

RefreshData

boolean

None.

IsDetailData

boolean

None.

Break1Name

string

None.

Break2Name

string

None.

BreakCode1

string

None.

BreakCode2

string

None.

Request Formats

application/json, text/json

Sample:
{
  "AccountId": 1,
  "CompanyId": "sample string 2",
  "UserId": 3,
  "WidgetCode": "sample string 4",
  "DetailWidgetCode": "sample string 5",
  "UserName": "sample string 6",
  "TimeZone": "sample string 7",
  "Filter": {},
  "RefreshData": true,
  "IsDetailData": true,
  "Break1Name": "sample string 10",
  "Break2Name": "sample string 11",
  "BreakCode1": "sample string 12",
  "BreakCode2": "sample string 13"
}

application/xml, text/xml

Sample:
<WidgetRequestOfanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Dashboard">
  <AccountId>1</AccountId>
  <Break1Name>sample string 10</Break1Name>
  <Break2Name>sample string 11</Break2Name>
  <BreakCode1>sample string 12</BreakCode1>
  <BreakCode2>sample string 13</BreakCode2>
  <CompanyId>sample string 2</CompanyId>
  <DetailWidgetCode>sample string 5</DetailWidgetCode>
  <Filter />
  <IsDetailData>true</IsDetailData>
  <RefreshData>true</RefreshData>
  <TimeZone>sample string 7</TimeZone>
  <UserId>3</UserId>
  <UserName>sample string 6</UserName>
  <WidgetCode>sample string 4</WidgetCode>
</WidgetRequestOfanyType>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

WidgetResultOfObjectAndCallsByMonthGraphData
NameDescriptionTypeAdditional information
Filter

Object

None.

Data

Collection of CallsByMonthGraphData

None.

LastRefreshedDateTime

date

None.

Status

StatusResult

None.

Response Formats

application/json, text/json

Sample:
{
  "Filter": {},
  "Data": [
    {
      "Month": "2025-12-16T09:39:06.5670223+00:00",
      "CallType": "sample string 2",
      "NumberOfCalls": 3
    },
    {
      "Month": "2025-12-16T09:39:06.5670223+00:00",
      "CallType": "sample string 2",
      "NumberOfCalls": 3
    }
  ],
  "LastRefreshedDateTime": "2025-12-16T09:39:06.5670223+00:00",
  "Status": {
    "Status": 1,
    "Message": "sample string 2"
  }
}

application/xml, text/xml

Sample:
<WidgetResultOfanyTypeCallsByMonthGraphData1M2d0ZuJ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Dashboard">
  <Data>
    <CallsByMonthGraphData>
      <CallType>sample string 2</CallType>
      <Month>2025-12-16T09:39:06.5670223+00:00</Month>
      <NumberOfCalls>3</NumberOfCalls>
    </CallsByMonthGraphData>
    <CallsByMonthGraphData>
      <CallType>sample string 2</CallType>
      <Month>2025-12-16T09:39:06.5670223+00:00</Month>
      <NumberOfCalls>3</NumberOfCalls>
    </CallsByMonthGraphData>
  </Data>
  <Filter />
  <LastRefreshedDateTime>2025-12-16T09:39:06.5670223+00:00</LastRefreshedDateTime>
  <Status>
    <Message>sample string 2</Message>
    <Status>1</Status>
  </Status>
</WidgetResultOfanyTypeCallsByMonthGraphData1M2d0ZuJ>