GET api/MessageStats/CustomerStatisticsAsync?startDate={startDate}&endDate={endDate}&customerId={customerId}&hash={hash}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
startDate

string

Required

endDate

string

Required

customerId

integer

Required

hash

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of MessageStats
NameDescriptionTypeAdditional information
CustomerId

integer

None.

Period

integer

None.

MessageType

string

None.

MessageClass

string

None.

MessageCategory

string

None.

MessageCount

integer

None.

Units

integer

None.

Attachments

integer

None.

Delivered

integer

None.

NotDelivered

integer

None.

Opened

integer

None.

Clicked

integer

None.

Replied

integer

None.

MessageRoute

string

None.

IsApiMessage

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "CustomerId": 1,
    "Period": 2,
    "MessageType": "sample string 3",
    "MessageClass": "sample string 4",
    "MessageCategory": "sample string 5",
    "MessageCount": 6,
    "Units": 7,
    "Attachments": 8,
    "Delivered": 9,
    "NotDelivered": 10,
    "Opened": 11,
    "Clicked": 12,
    "Replied": 13,
    "MessageRoute": "sample string 14",
    "IsApiMessage": true
  },
  {
    "CustomerId": 1,
    "Period": 2,
    "MessageType": "sample string 3",
    "MessageClass": "sample string 4",
    "MessageCategory": "sample string 5",
    "MessageCount": 6,
    "Units": 7,
    "Attachments": 8,
    "Delivered": 9,
    "NotDelivered": 10,
    "Opened": 11,
    "Clicked": 12,
    "Replied": 13,
    "MessageRoute": "sample string 14",
    "IsApiMessage": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfMessageStats xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Groupcall.Messenger.DataModels">
  <MessageStats>
    <Attachments>8</Attachments>
    <Clicked>12</Clicked>
    <CustomerId>1</CustomerId>
    <Delivered>9</Delivered>
    <IsApiMessage>true</IsApiMessage>
    <MessageCategory>sample string 5</MessageCategory>
    <MessageClass>sample string 4</MessageClass>
    <MessageCount>6</MessageCount>
    <MessageRoute>sample string 14</MessageRoute>
    <MessageType>sample string 3</MessageType>
    <NotDelivered>10</NotDelivered>
    <Opened>11</Opened>
    <Period>2</Period>
    <Replied>13</Replied>
    <Units>7</Units>
  </MessageStats>
  <MessageStats>
    <Attachments>8</Attachments>
    <Clicked>12</Clicked>
    <CustomerId>1</CustomerId>
    <Delivered>9</Delivered>
    <IsApiMessage>true</IsApiMessage>
    <MessageCategory>sample string 5</MessageCategory>
    <MessageClass>sample string 4</MessageClass>
    <MessageCount>6</MessageCount>
    <MessageRoute>sample string 14</MessageRoute>
    <MessageType>sample string 3</MessageType>
    <NotDelivered>10</NotDelivered>
    <Opened>11</Opened>
    <Period>2</Period>
    <Replied>13</Replied>
    <Units>7</Units>
  </MessageStats>
</ArrayOfMessageStats>