GET TrafficStat01/Get?Userkey={Userkey}&Password={Password}&CalculateCredits={CalculateCredits}

Gets statistical information about how many SMS at what days have been submitted
This information can be used to e.g. create a navigation bar which includes the number of SMS for every single day.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Userkey

string

Required

Password

string

Required

CalculateCredits

boolean

Default value is True

Body Parameters

None.

Response Information

Resource Description

TupleOfASPSMSServerResultAndListOfTrafficStat01
NameDescriptionTypeAdditional information
Item1

ASPSMSServerResult

None.

Item2

Collection of TrafficStat01

None.

Response Formats

application/json, text/json

Sample:
{
  "m_Item1": {
    "ErrorCode": 1,
    "ErrorDescription": "sample string 2"
  },
  "m_Item2": [
    {
      "Year": 1,
      "Month": 1,
      "Day": 1,
      "TotalSMS": 1,
      "TotalCredits": 1.1
    },
    {
      "Year": 1,
      "Month": 1,
      "Day": 1,
      "TotalSMS": 1,
      "TotalCredits": 1.1
    }
  ]
}

application/xml, text/xml

Sample:
<TupleOfASPSMSServerResultArrayOfTrafficStat01DBaHwvQ8 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/System">
  <m_Item1 xmlns:d2p1="http://schemas.datacontract.org/2004/07/ASPSMSWebAPI.Models">
    <d2p1:ErrorCode>1</d2p1:ErrorCode>
    <d2p1:ErrorDescription>sample string 2</d2p1:ErrorDescription>
  </m_Item1>
  <m_Item2 xmlns:d2p1="http://schemas.datacontract.org/2004/07/ASPSMSWebAPI.Models">
    <d2p1:TrafficStat01>
      <d2p1:Day>1</d2p1:Day>
      <d2p1:Month>1</d2p1:Month>
      <d2p1:TotalCredits>1.1</d2p1:TotalCredits>
      <d2p1:TotalSMS>1</d2p1:TotalSMS>
      <d2p1:Year>1</d2p1:Year>
    </d2p1:TrafficStat01>
    <d2p1:TrafficStat01>
      <d2p1:Day>1</d2p1:Day>
      <d2p1:Month>1</d2p1:Month>
      <d2p1:TotalCredits>1.1</d2p1:TotalCredits>
      <d2p1:TotalSMS>1</d2p1:TotalSMS>
      <d2p1:Year>1</d2p1:Year>
    </d2p1:TrafficStat01>
  </m_Item2>
</TupleOfASPSMSServerResultArrayOfTrafficStat01DBaHwvQ8>