For more information on using API

PUT http://webapi.mymarketing.co.il/api/smscampaign/OperationalMessage/{id}

Update SMS message

Request Information

URI Parameters

Name

Description

Type

Additional information

id

SMS campaign id

integer

Required

Body Parameters

ApiSmsCampaignUpdateContainer

Name

Description

Type

Additional information

id

The sms campaign

integer
name

SMS campaign name

string
from_name

From name

string
sms_sending_profile_id

Using a specific sending profile

integer
content

The text of the SMS campaign

string

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "name": "sample string 2",
  "from_name": "sample string 3",
  "sms_sending_profile_id": 4,
  "content": "sample string 5"
}

application/xml, text/xml

Sample:
<ApiSmsCampaignUpdateContainer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ActiveTrail.RESTfulApi.Models.SmsCampaignReport">
  <content>sample string 5</content>
  <from_name>sample string 3</from_name>
  <name>sample string 2</name>
  <sms_sending_profile_id>4</sms_sending_profile_id>
</ApiSmsCampaignUpdateContainer>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.