SpreadWebServcie.GetUserSentReport Method

 

Get User Sent Report .

Parameters

Parameter

Type

Description

loginEmail

String

The login email of your Spread account.

APIKey

String

The password of your Spread account or API Key which you can retrieve from your Spread account (My account=> Settings).

accountType

AccountType

the type of account , Email or SMS or WhatsApp

startDate

DateTime

The starting time of report.

endDate

DateTime

The ending time of report.

Return Value

Dataset containing a single table with columns Year, Month, Sent

Example

string loginEmail = "Spread@reasonables.com";

string APIKey = "7D2B83DF-B4A3-4E42-8D77-E6B22A1004BE";

// suggest dateTime string format "dd MMM yyyy HH:mm:ss" ,such as "22 Feb 2013 12:11:21" .
DateTime startTime = DateTime.Parse("22 Feb 2013 12:11:21");
DateTime endTime = DateTime.Parse("23 Feb 2013 12:11:21");

SpreadAPI.SpreadWebService MySpread = new SpreadAPI.SpreadWebService();

DataSet result = MySpread.GetUserSentReport(loginEmail, APIKey , SpreadAPI.AccountType.Email , startDate , endDate);

See Also