For more information on using API

GET https://webapi.mymarketing.co.il/api/contacts/{id}/Statistics/SmsOperationMessage/{messageId}

Gets contact's statistics for specific sms operational message.

Request Information

URI Parameters

Name

Description

Type

Additional information

id

Contact id. Can be found using the endpoint "Get account's contacts list...."

integer

Required

messageId

After sending an operational sms - you need to save the id. There will be no other way to find the sms' id that was sent to a specific contact

integer

Required

Body Parameters

None.

Response Information

Resource Description

ContactSmsCampaignStatsDTO

Name

Description

Type

Additional information

bounce

boolean
bounce_reason

string
​bounce​_date​

date
unsubscribe

boolean
unsubscribe_date

date
customer_id

integer
status

string

Response Formats

application/json, text/json

Sample:
{
  "bounce": true,
  "bounce_reason": "sample string 2",
  "​bounce​_date​": "2016-12-24T14:12:12",
  "unsubscribe": true,
  "unsubscribe_date": "2016-12-24T14:12:12",
  "customer_id": 4,
  "status": "sample string 5"
}

application/xml, text/xml

Sample:
<ContactSmsCampaignStatsDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ActiveTrail.RESTfulApi.Models">
  <_x200B_bounce_x200B__date_x200B_>2016-12-24T14:12:12</_x200B_bounce_x200B__date_x200B_>
  <bounce>true</bounce>
  <bounce_reason>sample string 2</bounce_reason>
  <customer_id>4</customer_id>
  <status>sample string 5</status>
  <unsubscribe>true</unsubscribe>
  <unsubscribe_date>2016-12-24T14:12:12</unsubscribe_date>
</ContactSmsCampaignStatsDTO>