 For more information on using API
 For more information on using API
GET http://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
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:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Bounce>true</Bounce> <BounceReason>sample string 2</BounceReason> <LastBounceDate>2016-12-24T14:12:12</LastBounceDate> <Unsubscribe>true</Unsubscribe> <LastUnsubscribeDate>2016-12-24T14:12:12</LastUnsubscribeDate> <CustomerId>4</CustomerId> <Status>sample string 5</Status> </ContactSmsCampaignStatsDTO>
