GET api/v1/DailyStatistics/SegmentStatsForMonth?segmentId={segmentId}&month={month}

Returns a list of SegmentStat for a single day in a month. Will use the latest day in the month where stats are availeble

Request Information

URI Parameters

NameDescriptionTypeAdditional information
segmentId

Selected segment

integer

Required

month

Selected month - in format yyyy-MM (eg: 2020-01 for January in year 2020)

string

None.

Body Parameters

None.

Response Information

Resource Description

Collection of SegmentStatWithDate
NameDescriptionTypeAdditional information
Date

string

None.

SegmentId

integer

None.

SegmentName

string

None.

RegistrationSource

string

None.

LatestPermissionSource

string

None.

Count

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Date": "sample string 1",
    "SegmentId": 2,
    "SegmentName": "sample string 3",
    "RegistrationSource": "sample string 4",
    "LatestPermissionSource": "sample string 5",
    "Count": 6
  },
  {
    "Date": "sample string 1",
    "SegmentId": 2,
    "SegmentName": "sample string 3",
    "RegistrationSource": "sample string 4",
    "LatestPermissionSource": "sample string 5",
    "Count": 6
  }
]