Agentivity API

<back to all web services

DashboardStatsByOptions

The following routes are available for this service:
GET/DashboardStats
DashboardStatsByOptions Parameters:
NameParameterData TypeRequiredDescription
UserNamequerystringYesUserName in form of an email address
ReportsTopqueryintegerNoTop reports
ReportsDaysSpanqueryintegerNoReports in days span
MostActiveUsersTopqueryintegerNoTop most active users
MostActiveUsersDaysSpanqueryintegerNoMost active users in days span
TopConsultantsLastDaysSpanqueryintegerNoTop consultants last days span
OptionsqueryintegerNoOptions
PagingMetadata Parameters:
NameParameterData TypeRequiredDescription
OffsetquerystringNoStarting Record
LimitquerystringNoNumber of records to return (PageSize)
TotalRecordsquerystringNoTotal Number of Records in a Full Reponse (if no paging)
ResponseRecordsquerystringNoTotal Number of Records in this Reponse (on this page)
ItemResponse<TItem, TReport> Parameters:
NameParameterData TypeRequiredDescription
ResponseMetadataformResponseMetadataNo
ResponseReportformTReportNo
ResponseErrorformAgentivityErrorNo
ResponseMetadata Parameters:
NameParameterData TypeRequiredDescription
SuccessformboolNo
HasCacheformboolNo
HasPagingformboolNo
CacheMetadataformCacheMetadataNo
PagingMetadataformPagingMetadataNo
CacheMetadata Parameters:
NameParameterData TypeRequiredDescription
CachedAtformDateTimeNo
CacheExpiresAtformDateTimeNo
IsFromCacheformboolNo
AgentivityError Parameters:
NameParameterData TypeRequiredDescription
ErrorCodeformstringNo
MessageformstringNo
StatusCodeformstringNo
VerboseMessageformstringNo
DashboardStats Parameters:
NameParameterData TypeRequiredDescription
ProblematicBookingsformThreeDayCountsNo
AirlineTicketingformThreeDayCountsNo
UnticketedBookingsByTauformThreeDayCountsNo
OutstandingBookingActionsformThreeDayCountsNo
MonthlyActivityformList<MonthlyActivityBreakdown>No
MostActiveUsersformList<UserActivity>No
TopConsultantsformList<ConsultantPerformance>No
TopReportsformList<ReportPerformance>No
ActiveBookingsAirConversionformBookingsAirConversionNo
PassengerElementsformList<PassengerContactElements>No
ReportUsageSummaryformList<ReportPerformance>No
MonthlyActivityFormattedformstringNo
PassengerElementsFormattedformstringNo
ThreeDayCounts Parameters:
NameParameterData TypeRequiredDescription
DayPlusZeroTtlformintNo
DayPlusOneTtlformintNo
DayPlusTwoTtlformintNo
MonthlyActivityBreakdown Parameters:
NameParameterData TypeRequiredDescription
ReportDateformstringNo
MonthlyEventsformintNo
CformintNo
C_PercentageformfloatNo
IformintNo
I_PercentageformfloatNo
TformintNo
T_PercentageformfloatNo
XformintNo
X_PercentageformfloatNo
UserActivity Parameters:
NameParameterData TypeRequiredDescription
UserNameformstringNo
FirstNameformstringNo
LastNameformstringNo
UserIDformintNo
UserFrequencyformstringNo
ActivityMeasureformfloatNo
ConsultantPerformance Parameters:
NameParameterData TypeRequiredDescription
NameformstringNo
TotalformintNo
ReportPerformance Parameters:
NameParameterData TypeRequiredDescription
NameformstringNo
UrlSlugformstringNo
TotalformintNo
BookingsAirConversion Parameters:
NameParameterData TypeRequiredDescription
TotalTicketedformintNo
TotalUnticketedformintNo
PassengerContactElements Parameters:
NameParameterData TypeRequiredDescription
DateYearformintNo
DateMonthformintNo
WithMobilePercentformfloatNo
WithEmailPercentformfloatNo
TotalWithMobileformintNo
TotalWithEmailformintNo
TotalCreatedformintNo
Report<TItemResponse, TItem> Parameters:
NameParameterData TypeRequiredDescription
ItemformTItemNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET //DashboardStats HTTP/1.1 
Host: api.agentivity.com 
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<AgentivityResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="schemas.agentivity.com/types">
  <ResponseMetadata>
    <Success>false</Success>
    <HasCache>false</HasCache>
    <HasPaging>false</HasPaging>
    <CacheMetadata>
      <IsFromCache>false</IsFromCache>
      <CachedAt>0001-01-01T00:00:00</CachedAt>
      <CacheExpiresAt>0001-01-01T00:00:00</CacheExpiresAt>
    </CacheMetadata>
    <PagingMetadata>
      <Limit>String</Limit>
      <Offset>String</Offset>
      <ResponseRecords>0</ResponseRecords>
      <TotalRecords>0</TotalRecords>
    </PagingMetadata>
  </ResponseMetadata>
  <ResponseReport>
    <Item>
      <ProblematicBookings>
        <DayPlusZeroTtl>0</DayPlusZeroTtl>
        <DayPlusOneTtl>0</DayPlusOneTtl>
        <DayPlusTwoTtl>0</DayPlusTwoTtl>
      </ProblematicBookings>
      <AirlineTicketing>
        <DayPlusZeroTtl>0</DayPlusZeroTtl>
        <DayPlusOneTtl>0</DayPlusOneTtl>
        <DayPlusTwoTtl>0</DayPlusTwoTtl>
      </AirlineTicketing>
      <UnticketedBookingsByTau>
        <DayPlusZeroTtl>0</DayPlusZeroTtl>
        <DayPlusOneTtl>0</DayPlusOneTtl>
        <DayPlusTwoTtl>0</DayPlusTwoTtl>
      </UnticketedBookingsByTau>
      <OutstandingBookingActions>
        <DayPlusZeroTtl>0</DayPlusZeroTtl>
        <DayPlusOneTtl>0</DayPlusOneTtl>
        <DayPlusTwoTtl>0</DayPlusTwoTtl>
      </OutstandingBookingActions>
      <MonthlyActivity>
        <MonthlyActivityBreakdown>
          <ReportDate>String</ReportDate>
          <MonthlyEvents>0</MonthlyEvents>
          <C>0</C>
          <C_Percentage>0</C_Percentage>
          <I>0</I>
          <I_Percentage>0</I_Percentage>
          <T>0</T>
          <T_Percentage>0</T_Percentage>
          <X>0</X>
          <X_Percentage>0</X_Percentage>
        </MonthlyActivityBreakdown>
      </MonthlyActivity>
      <MostActiveUsers>
        <UserActivity>
          <UserName>String</UserName>
          <FirstName>String</FirstName>
          <LastName>String</LastName>
          <UserID>0</UserID>
          <UserFrequency>String</UserFrequency>
          <ActivityMeasure>0</ActivityMeasure>
        </UserActivity>
      </MostActiveUsers>
      <TopConsultants>
        <ConsultantPerformance>
          <Name>String</Name>
          <Total>0</Total>
        </ConsultantPerformance>
      </TopConsultants>
      <TopReports>
        <ReportPerformance>
          <Name>String</Name>
          <UrlSlug>String</UrlSlug>
          <Total>0</Total>
        </ReportPerformance>
      </TopReports>
      <ActiveBookingsAirConversion>
        <TotalTicketed>0</TotalTicketed>
        <TotalUnticketed>0</TotalUnticketed>
      </ActiveBookingsAirConversion>
      <PassengerElements>
        <PassengerContactElements>
          <DateMonth>0</DateMonth>
          <DateYear>0</DateYear>
          <WithMobilePercent>0</WithMobilePercent>
          <WithEmailPercent>0</WithEmailPercent>
          <TotalWithMobile>0</TotalWithMobile>
          <TotalWithEmail>0</TotalWithEmail>
          <TotalCreated>0</TotalCreated>
        </PassengerContactElements>
      </PassengerElements>
      <ReportUsageSummary>
        <ReportPerformance>
          <Name>String</Name>
          <UrlSlug>String</UrlSlug>
          <Total>0</Total>
        </ReportPerformance>
      </ReportUsageSummary>
      <MonthlyActivityFormatted>String</MonthlyActivityFormatted>
      <PassengerElementsFormatted>String</PassengerElementsFormatted>
    </Item>
  </ResponseReport>
  <ResponseError>
    <ErrorCode>String</ErrorCode>
    <Message>String</Message>
    <StatusCode>String</StatusCode>
    <VerboseMessage>String</VerboseMessage>
  </ResponseError>
</AgentivityResponse>