
GET http://webapi.mymarketing.co.il/api/smscampaignreport?SendType={SendType}&SearchTerm={SearchTerm}&RowsAffected={RowsAffected}&PreviousRowCount={PreviousRowCount}&FromDate={FromDate}&ToDate={ToDate}&Page={Page}&Limit={Limit}
Get SMS campaigns reports . You can get campaigns filtered by various parameters including dates and limited to a number of campaigns (you will get camapigns that were last updated in the last 3 months by default)
Request Information
URI Parameters
Name
Description
Type
Additional information
Filter by campaign's type. Default will get all the campaigns. Types: All types of campaigns - 0 , Regular campaign - 1 , Test campaigns - 2 , Transactional (Operational) messages - 3
Search by campaign name/partial name
irrelevant - should be deleted
irrelevant - should be deleted
The start date the campaign was last updated
The end date the campaign was last updated
Get a specific page (number of pages is limited)
Range: inclusive between 1 and 2147483647
Limit the number of items you get in the results. (Removing the "limit" will, by default, display only 20 records)
Range: inclusive between 1 and 100
Body Parameters
None.
Response Information
Resource Description
Name
Description
Type
Additional information
List count
Response Formats
application/json, text/json
{ "count": 1, "sms_campaign_reports": [ { "id": 1, "name": "sample string 2", "send_date": "2016-12-24T14:12:12", "send_type": "Regular", "total_unique_clicks": 3, "clickers": 4, "unsubscribes": 5, "errors": 6, "sent": 7, "total_credits": 8 }, { "id": 1, "name": "sample string 2", "send_date": "2016-12-24T14:12:12", "send_type": "Regular", "total_unique_clicks": 3, "clickers": 4, "unsubscribes": 5, "errors": 6, "sent": 7, "total_credits": 8 } ] }
application/xml, text/xml
<ApiSmsCampaignReportInfoList xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Count>1</Count> <smsCampaignReportsInfo> <ApiSmsCampaignReportInfo> <Id>1</Id> <SMSName>sample string 2</SMSName> <SendDate>2016-12-24T14:12:12</SendDate> <SendType>Regular</SendType> <TotalUniqueClicks>3</TotalUniqueClicks> <Clickers>4</Clickers> <Unsubscribes>5</Unsubscribes> <Errors>6</Errors> <Sent>7</Sent> <TotalCredits>8</TotalCredits> </ApiSmsCampaignReportInfo> <ApiSmsCampaignReportInfo> <Id>1</Id> <SMSName>sample string 2</SMSName> <SendDate>2016-12-24T14:12:12</SendDate> <SendType>Regular</SendType> <TotalUniqueClicks>3</TotalUniqueClicks> <Clickers>4</Clickers> <Unsubscribes>5</Unsubscribes> <Errors>6</Errors> <Sent>7</Sent> <TotalCredits>8</TotalCredits> </ApiSmsCampaignReportInfo> </smsCampaignReportsInfo> </ApiSmsCampaignReportInfoList>