For more information on using API

GET http://webapi.mymarketing.co.il/api/pushcampaign/Campaign/{id}/estimate

Calculating the estimated number of messages for given campaign by id

Request Information

URI Parameters

Name

Description

Type

Additional information

id

string

Required

Body Parameters

None.

Response Information

Resource Description

ApiEstimatedMessagesContainer

Name

Description

Type

Additional information

estimated_messages

integer

Response Formats

application/json, text/json

Sample:
{
  "estimated_messages": 1
}

application/xml, text/xml

Sample:
<ApiEstimatedMessagesContainer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ActiveTrail.RESTfulApi.Models.SmsCampaignReport">
  <estimated_messages>1</estimated_messages>
</ApiEstimatedMessagesContainer>