Adwise 4.5 REST API Documentation
Adwise 4.5 REST API Documentation
Adwise API is a set of RESTful services that can be accessed from other applications to exchange data. Different types of Adwise entities like channels or
campaigns can be created or listed by calling the RESTful services with different HTTP-methods. The responses are always in JSON format.
General considerations
Base Path: http://<host>:<port>/adwise/services
Version history:
Authentication
Each invocation of a service is done with user credentials. The user must have the necessary permissions required to use the service. These and other types of
information are passed by using query parameters as follows.
Definition
GET|POST|PUT|DELETE /<resource>?username={username}&password={password}&...
Arguments
Parameter type Name Data type Mandatory Description Notes
Query username String Yes Login name for the consumer of this resource, i.e. the calling system. Valid characters: [a-zA-Z0-9]
Query password String Yes Password for the consumer of this resource, i.e. the calling system. Valid characters: [a-zA-Z0-9]
Response
Content-type: application/json
500 Internal server error (see error object for more information).
Errors, i.e. status codes 3xx, 4xx and 5xx, contain an error object with the following attributes:
{
"errorCode": 5,
"errorMessage": "Resource advertisers with id \"8\" not found"
}
Resources
Advertisers
GET /advertisers
Fetches all advertisers, i.e. all advertisers connected to the user. Admin user returns all advertisers in the system.
Parameters
None.
Response
A list of advertisers of type Advertiser.
Content-type: application/json
Example:
[
{
"id": 17,
"companyName": "TheCompany",
"description": "A description of TheCompany",
"createdDate": "2013-09-25T13:14:23+0200",
"contactAddress": "99th Company Street",
"contactName": "Bob Comp",
"contactTitle": "",
"contactEmail": "[email protected]",
"campaignIds": [
17, 34, 99
]
},
...
]
Status codes
Response
Advertiser of type Advertiser.
Content-type: application/json
Example:
{
"id": 17,
"companyName": "TheCompany",
"description": "A description of TheCompany",
"createdDate": "2013-09-25T13:14:23+0200",
"contactAddress": "99th Company Street",
"contactName": "Bob Comp",
"contactTitle": "",
"contactEmail": "[email protected]",
"campaignIds": [
17, 34, 99
]
}
Status codes
POST /advertisers
Creates a new advertiser. Only administrators can create advertisers.
Parameters
An advertiser of type Advertiser.
Content-type: application/json
Example:
{
"companyName": "MaxDonalds",
"description": "A description of MaxDonalds",
"contactAddress": "17th Maxy Street",
"contactName": "Ronald MaxDonald",
"contactTitle": "",
"contactEmail": "[email protected]"
}
Response
Created advertiser of type Advertiser.
Content-type: application/json
Example:
{
"id": 104,
"companyName": "MaxDonalds",
"description": "A description of MaxDonalds",
"createdDate": "2013-09-25T13:14:23+0200",
"contactAddress": "17th Maxy Street",
"contactName": "Ronald MaxDonald",
"contactTitle": "",
"contactEmail": "[email protected]",
"campaignIds": []
}
Status codes
PUT /advertisers/{advertiserId}
Updates an existing advertiser by its {advertiserId} . Only administrators can update advertisers.
Parameters
An advertiser of type Advertiser. Only companyName , description , contactAddress , contactName , contactTitle and contactEmail
are updateable.
Content-type: application/json
Example:
{
"companyName": "MaxDonalds",
"description": "A description of MaxDonalds",
"contactAddress": "17th Maxy Street",
"contactName": "Ronald MaxDonald",
"contactTitle": "",
"contactEmail": "[email protected]"
}
Response
Updated advertiser of type Advertiser.
Content-type: application/json
Example:
{
"id": 17,
"companyName": "TheCompany",
"description": "A description of TheCompany",
"createdDate": "2013-09-25T13:14:23+0200",
"contactAddress": "99th Company Street",
"contactName": "Bob Comp",
"contactTitle": "",
"contactEmail": "[email protected]",
"campaignIds": [
17, 34, 99
]
}
Status codes
DELETE /advertisers/{advertiserId}
Removes an advertiser by its {advertiserId} . Only administrators can remove advertisers. In order to be removed, an advertiser
must not contain any connected campaigns (i.e. campaignIds -list must be empty) or all connected channels are marked as
DELETED nor any connected dp users with advertiser.
Parameters
Response
true if advertiser is successfully removed, otherwise false .
Content-type: application/json
Example
true
Status codes
Campaigns
GET /campaigns
Fetches all campaigns, i.e. all campaigns that belong to the advertisers connected to the user. Admin user returns all campaigns
in the system.
Parameters
None.
Response
A list of campaigns of type Campaign.
Content-type: application/json
Example:
[
{
"id": 108,
"campaignName": "My first campaign",
"description": "My first campaign created via the API",
"createdDate": "2013-09-25T13:14:23+0200",
"externalId": "",
"advertiserId": 7,
"additionalNotes": "Lorem ipsum ....",
"channelIds": [
17, 34, 99
]
},
...
]
Status codes
GET /campaigns/{campaignId}
Fetches a campaign by its {campaignId} .
Parameters
Response
Campaign of type Campaign.
Content-type: application/json
Example:
{
"id": 108,
"campaignName": "My first campaign",
"description": "My first campaign created via the API",
"createdDate": "2013-09-25T13:14:23+0200",
"externalId": "",
"advertiserId": 7,
"additionalNotes": "Lorem ipsum ....",
"channelIds": [
17, 34, 99
]
}
Status codes
HTTP status code Reason
POST /campaigns
Creates a new campaign. Only administrators are allowed to create campaigns belonging to any advertiser (i.e. advertiserId set
to -1). Non-administrators can only create campaigns for its own advertiser.
Parameters
A campaign of type Campaign.
Content-type: application/json
Example:
{
"campaignName": "My first campaign",
"description": "My first campaign created via the API",
"externalId": "",
"advertiserId": 7,
"additionalNotes": "Lorem ipsum ...."
}
Response
Created campaign of type Campaign.
Content-type: application/json
Example:
{
"id": 108,
"campaignName": "My first campaign",
"description": "My first campaign created via the API",
"createdDate": "2013-09-25T13:14:23+0200",
"externalId": "",
"advertiserId": 7,
"additionalNotes": "Lorem ipsum ....",
"channelIds": [
]
}
Status codes
PUT /campaigns/{campaignId}
Updates an existing campaign by its {campaignId} .
Parameters
A campaign of type Campaign. Only campaignName , description , referenceId and additionalNotes are updateable.
Content-type: application/json
Example:
{
"campaignName": "My first campaign",
"description": "My first campaign created via the API",
"externalId": "",
"additionalNotes": "Lorem ipsum ...."
}
Response
Updated campaign of type Campaign.
Content-type: application/json
Example:
{
"id": 108,
"campaignName": "My first campaign",
"description": "My first campaign created via the API",
"createdDate": "2013-09-25T13:14:23+0200",
"externalId": "",
"advertiserId": 7,
"additionalNotes": "Lorem ipsum ....",
"channelIds": [
17, 34, 99
]
}
Status codes
HTTP status code Reason
PUT /campaigns/archivings/{campaignId}
Archives an existing campaign by its {campaignId} .
Parameters
Response
Archived campaign of type Campaign.
Content-type: application/json
Example:
{
"id": 108,
"campaignName": "My first campaign",
"description": "My first campaign created via the API",
"createdDate": "2013-09-25T13:14:23+0200",
"externalId": "",
"advertiserId": 7,
"additionalNotes": "Lorem ipsum ....",
"channelIds": [
17, 34, 99
]
}
Status codes
DELETE /campaigns/archivings/{campaignId}
Restores a previously archived campaign by its {campaignId} .
Parameters
Response
Restored campaign of type Campaign.
Content-type: application/json
Example:
{
"id": 108,
"campaignName": "My first campaign",
"description": "My first campaign created via the API",
"createdDate": "2013-09-25T13:14:23+0200",
"externalId": "",
"advertiserId": 7,
"additionalNotes": "Lorem ipsum ....",
"channelIds": [
17, 34, 99
]
}
Status codes
DELETE /campaigns/{campaignId}
Removes a campaign by its {campaignId} . In order to be removed, a campaign must not contain any connected channels (i.e.
channelIds -list must be empty) or all connected channels are marked as DELETED.
Parameters
Response
true if campaign is successfully removed, otherwise false .
Content-type: application/json
Example
true
Status codes
Target groups
GET /target-groups
Fetches all target groups, i.e. all target groups that belong to the attached advertiser connected to the user. Common target
groups with the "any" property will also be returned. Admin user returns all target groups in the system.
Parameters
None.
Response
A list of target groups of type TargetGroup.
Content-type: application/json
Example:
[
{
"id": 9,
"name": "Target group name",
"description": "Description of target group",
"createdDate": "2013-08-13T14:05:16+0200",
"removable": true,
"advertiserId": -1
},
...
]
Status codes
Response
Target group of type TargetGroup.
Content-type: application/json
Example:
{
"id": 9,
"name": "Target group name",
"description": "Description of target group",
"createdDate": "2013-08-13T14:05:16+0200",
"removable": true,
"advertiserId": -1
}
Status codes
POST /target-groups
Creates a new target group.
Parameters
A target group of type TargetGroup.
Content-type: application/json
Example:
{
"name": "Target group name",
"description": "Description of target group",
"advertiserId": -1,
"msisdn": [
"0706779598", "0736793445", "0786739127"
]
}
Content-type: application/json
Example:
{
"id": 9,
"name": "Target group name",
"description": "Description of target group",
"createdDate": "2013-08-13T14:05:16+0200",
"removable": true,
"advertiserId": -1
}
Status codes
POST /target-groups/msisdn-list
Creates a new target group.
Parameters
Parameter Data
Name Mandatory Description Notes
type type
Query name String Yes Name on target group. Max 255 characters.
Query description String Yes Description of target group. Max 2000 characters.
Id on advertiser this group Administrators can create a target group that belongs to any advertiser by
Query advertiserid Integer Yes
shall belong to. defining this parameter to -1.
Content-type: multipart/form-data
Newline ( \n )
Tab ( \t )
Comma ( , )
Semicolon ( ; )
Carriage return ( \r )
Supported file formats for target-group import are as follows:
.zip
.tar
.tar.gz
.txt.gz
.txt
.csv
Invalid msisdn are disregarded.
Example:
0706779598;0736793445;0786739127
Response
Created target group of type TargetGroup.
Content-type: application/json
Example:
{
"id": 9,
"name": "Target group name",
"description": "Description of target group",
"createdDate": "2013-08-13T14:05:16+0200",
"removable": true,
"advertiserId": -1
}
Status codes
Parameter Data
Name Mandatory Description Notes
type type
Id on advertiser this group Administrators can create a target group that belongs to any advertiser by
Query advertiserid Integer No
shall belong to. defining this parameter to -1.
Content-type: multipart/form-data
A CSV file containing msisdns and its parameters. The header of the file must be: "msisdn, parameter_name_1,
arameter_name_2, parameter_name_3, ..." where "parameter_names" correspond with the names of the parameters.
.txt
.csv
Example:
Response
Created target group of type TargetGroup.
Content-type: application/json
Example:
{
"id": 600,
"name": "PM_TG_Thu Jul 20 15:42:21 CEST 2017",
"description": "Parametrized target group",
"createdDate": "2017-07-20T15:42:21+0200",
"removable": true,
"state": "AVAILABLE",
"type": "GENERIC",
"advertiserId": -1,
"subscriberCount": 3
}
Status codes
PUT /target-groups/{targetGroupId}
Updates an existing target group by its targetGroupId . Only name and description are updateable. Numbers in msisdn -list are
added to target group (i.e. nothing is removed).
Parameters
Content-type: application/json
Example:
{
"name": "Target group name",
"description": "Description of target group",
"msisdn": [
"0706779598", "0736793445", "0786739127"
]
}
Content-type: application/json
Example:
{
"id": 9,
"name": "Target group name",
"description": "Description of target group",
"createdDate": "2013-08-13T14:05:16+0200",
"removable": true,
"state": "AVAILABLE",
"type": "GENERIC",
"advertiserId": -1
}
Status codes
HTTP status code Reason
PUT /target-groups/{targetGroupId}/msisdn-list
Adds a list of msisdn to an existing target group.
Parameters
Content-type: multipart/form-data
Newline ( \n )
Tab ( \t )
Comma ( , )
Semicolon ( ; )
Carriage return ( \r )
Invalid msisdn are disregarded.
Example:
0706779598;0736793445;0786739127
Response
Updated target group of type TargetGroup.
Content-type: application/json
Example:
{
"id": 9,
"name": "Target group name",
"description": "Description of target group",
"createdDate": "2013-08-13T14:05:16+0200",
"removable": true,
"advertiserId": -1
}
Status codes
PUT /target-groups/archivings/{targetGroupId}
Archives an existing target group by its {targetGroupId} .
Parameters
Response
Archived target group of type TargetGroup.
Content-type: application/json
Example:
{
"id": 9,
"name": "Target group name",
"description": "Description of target group",
"createdDate": "2013-08-13T14:05:16+0200",
"removable": false,
"state": "ARCHIVED",
"type": "GENERIC",
"advertiserId": -1
}
Status codes
DELETE /target-groups/{targetGroupId}
Removes a target group by its {targetGroupId} . In order to be removed, a target group must not be connected to any channel(or
all channels are marked as DELETED) and not connected to any provisioning.
Parameters
Response
true if target group is successfully removed, otherwise false .
Content-type: application/json
Example
true
Status codes
DELETE /target-groups/archivings/{targetGroupId}
Restores a previously archived target group by its {targetGroupId} .
Parameters
Response
Restored target group of type TargetGroup.
Content-type: application/json
Example:
{
"id": 9,
"name": "Target group name",
"description": "Description of target group",
"createdDate": "2013-08-13T14:05:16+0200",
"removable": false,
"state": "AVAILABLE",
"type": "GENERIC",
"advertiserId": -1
}
Status codes
Channels
GET /channels
Fetches all channels, i.e. all channels in the campaigns that belong to the advertisers connected to the user. Admin user returns
all channels in the system. Adding following parameters to the requests would act as additional filters to the resultant channel
list
Parameters
Parameter Data
Name Mandatory Description Notes
type type
Provide start date filter criteria. Supported filter Valid date: format (ISO-8601): yyyy-MM-
Query startDate String No
operands: =,>,<,!. Support filter functions: between(). ddTHH:mm:ss[+|-]ZZZZ. Provided in single quotes.
Example:
GET /channels?startDate=<='2017-03-29T07:38:09+0200'
Response
A list of channels of type Channel.
Content-type: application/json
Example:
[
{
"id": 2254,
"channelType": "HS",
"description": "Description of HS channel.",
"externalId": "Optional unique external id of HS channel",
"retries": 0,
"rateLimit": 0,
"rateLimitAssigned": 500,
"rateLimitUnit": "SM/s",
"state": "PUBLISHED",
"editable": false,
"removable": false,
"campaignId": 2199,
"createdDate": "2013-09-25T13:14:23+0200",
"startDate": "2013-09-25T13:15:07+0200",
"endDate": null,
"targetGroupIds": [
2202
],
"useUnicode": false,
"priority": "low",
"msisdnReportingIntervals": 0,
"statisticsReportingInterval": 0,
"advertisements": [
{
"message": "Message to display"
}
]
},
{
"id": 2363,
"channelType": "SPN",
"description": "Description of SPN channel.",
"externalId": "Optional unique external id of SPN channel",
"retries": 0,
"rateLimit": 0,
"rateLimitAssigned": 500,
"rateLimitUnit": "SM/s",
"state": "PUBLISHED",
"editable": false,
"removable": false,
"campaignId": 2200,
"createdDate": "2013-10-03T13:51:57+0200",
"startDate": "2013-09-16T09:12:28+0200",
"endDate": null,
"targetGroupIds": [
2202
],
"useUnicode": false,
"priority": "low",
"msisdnReportingIntervals": 0,
"statisticsReportingInterval": 0,
"advertisements": [
{
"message": "A message"
}
],
"spnDisplayOption": "DEFAULT"
},
{
"id": 2325,
"channelType": "CTI",
"description": "Description of CTI channel.",
"externalId": "Optional unique external id of CTI channel",
"retries": 0,
"rateLimit": 0,
"rateLimitAssigned": 500,
"rateLimitUnit": "SM/s",
"state": "PUBLISHED",
"editable": false,
"removable": false,
"campaignId": 2200,
"createdDate": "2013-09-30T16:40:12+0200",
"startDate": "2013-09-14T14:12:28+0200",
"endDate": null,
"targetGroupIds": [
2202
],
"useUnicode": false,
"priority": "low",
"msisdnReportingIntervals": 0,
"statisticsReportingInterval": 0,
"numberOfCallsBetweenAds": 0,
"numberOfIterationsBetweenReports": 4,
"numberOfReportsBeforeStopping": 8,
"advertisements": [
{
"message": "Message to be displayed",
"prompt": null,
"selection1": null,
"selection2": null,
"disableAfterContinue": false,
"input": null,
"wibletUrl": null,
"wmlCode": null,
"optInTargetGroupId": null
},
...
]
},
{
"id": 2331,
"channelType": "WOWONOV",
"description": "A description of online overture WOW channel.",
"externalId": "Optional unique external id of WOW channel",
"retries": 0,
"rateLimit": 0,
"rateLimitAssigned": 500,
"rateLimitUnit": "SM/s",
"state": "PUBLISHED",
"editable": false,
"removable": false,
"campaignId": 2199,
"createdDate": "2013-09-30T18:01:18+0200",
"startDate": "2013-09-26T14:04:45+0200",
"endDate": null,
"targetGroupIds": [
2202
],
"useUnicode": false,
"priority": "low",
"msisdnReportingIntervals": 0,
"statisticsReportingInterval": 0,
"advertisements": [
{
"primaryMessage": "A primary message to display",
"secondaryMessage": null,
"primaryAction": "5",
"primaryActionMessage1": "http://goggle.com/goggles",
"primaryActionMessage2": "http://goggle.com/goggles2",
"secondaryAction": "5",
"secondaryActionMessage1": "http://goggle.com/goggles3",
"secondaryActionMessage2": "http://goggle.com/goggles4",
"confirmationType": "0",
"category": "0",
"condition1": "a",
"condition2": "b",
"condition3": "c",
"condition4": "d",
"condition5": "e"
}
],
"powerOnEvent": false,
"callDisconnectEvent": true,
"idleScreenEvent": false,
"sequenceId": 2273
},
...
]
Status codes
GET /channels/wiblets
Fetches all local wiblets defined in the system.
Parameters
None.
Response
A list of local wiblets defined as name and script id pairs.
Content-type: application/json
Example:
[
{
"name": "adwise_wow_event_idlescreen",
"scriptId": "02410369"
},
{
"name": "adwise_wow_menu",
"scriptId": "05A3B5F9"
},
{
"name": "adwise_wow_event_poweron",
"scriptId": "096B735D"
},
{
"name": "adwise_wow_compare_bits",
"scriptId": "0F8C665A"
},
...
]
Status codes
GET /channels/{channelId}
Fetches a channel by its {channelId} .
Parameters
Response
Channel of type Channel.
Content-type: application/json
Status codes
GET /channels/types/{channelType}
Fetches all channels by its {channelType} .
Parameters
Response
List of channels of type Channel.
Content-type: application/json
Example (get of HS-type channels):
{
{
"id": 2254,
"channelType": "HS",
"description": "Description of HS channel.",
"externalId": "External id of WOW channel",
"retries": 0,
"rateLimit": 0,
"rateLimitAssigned": 500,
"rateLimitUnit": "SM/s",
"state": "PUBLISHED",
"editable": false,
"removable": false,
"campaignId": 2199,
"createdDate": "2013-09-25T13:14:23+0200",
"startDate": "2013-09-25T13:15:07+0200",
"endDate": null,
"targetGroupIds": [
2202
],
"useUnicode": false,
"priority": "low",
"msisdnReportingIntervals": 0,
"statisticsReportingInterval": 0,
"advertisements": [
{
"message": "Message to display"
}
]
},
...
]
Status codes
POST /channels
Creates a new channel.
Parameters
A channel of type Channel.
Content-type: application/json
JSON samples
HS-channel
Request
{
"channelType": "HS",
"description": "Description of HS channel.",
"externalId": "External id of HS channel",
"rateLimit": 0,
"retries" 2,
"campaignId": 2199,
"startDate": "2013-09-25T13:15:07+0200",
"endDate": "2013-10-25T13:15:07+0200",
"targetGroupIds": [
2202
],
"useUnicode": false,
"priority": "low",
"advertisements": [
{
"message": "Message to display"
}
]
}
Response
{
"id": 2254,
"channelType": "HS",
"description": "Description of HS channel.",
"externalId": "Unique external id of HS channel",
"retries": 2,
"rateLimit": 0,
"rateLimitAssigned": 500,
"rateLimitUnit": "SM/s",
"state": "DRAFT",
"editable": true,
"removable": true,
"campaignId": 2199,
"createdDate": "2013-09-25T13:14:23+0200",
"startDate": "2013-09-25T13:15:07+0200",
"endDate": "2013-10-25T13:15:07+0200",
"targetGroupIds": [
2202
],
"useUnicode": false,
"priority": "low",
"msisdnReportingIntervals": 0,
"statisticsReportingInterval": 0,
"advertisements": [
{
"message": "Message to display"
}
]
}
SPN-channel
Request
{
"channelType: "SPN",
"description": "Description of SPN channel.",
"externalId": "External id of SPN channel",
"retries": 0,
"rateLimit": 0,
"campaignId": 2200,
"startDate": "2013-09-16T09:12:28+0200",
"endDate": "2013-10-25T13:15:07+0200",
"targetGroupIds": [
2202
],
"useUnicode": false,
"priority": "low",
"advertisements": [
{
"message": "A message"
}
],
"spnDisplayOption": "DEFAULT"
}
Response
{
"id": 2363,
"channelType": "SPN",
"description": "Description of SPN channel.",
"externalId": "Unique external id of SPN channel",
"retries": 0,
"rateLimit": 0,
"rateLimitAssigned": 500,
"rateLimitUnit": "SM/s",
"state": "DRAFT",
"editable": true,
"removable": true,
"campaignId": 2200,
"createdDate": "2013-10-03T13:51:57+0200",
"startDate": "2013-09-16T09:12:28+0200",
"endDate": "2013-10-25T13:15:07+0200",
"targetGroupIds": [
2202
],
"useUnicode": false,
"priority": "low",
"msisdnReportingIntervals": 0,
"statisticsReportingInterval": 0,
"advertisements": [
{
"message": "A message"
}
],
"spnDisplayOption": "DEFAULT"
}
CTI-channel
Request
{
"channelType: "CTI",
"description": "Description of CTI channel.",
"externalId": "External id of WOW channel",
"retries": 0,
"rateLimit": 0,
"campaignId": 2200,
"startDate": "2013-09-14T14:12:28+0200",
"targetGroupIds": [
2202
],
"useUnicode": false,
"priority": "low",
"numberOfCallsBetweenAds": 0,
"numberOfIterationsBetweenReports": 4,
"numberOfReportsBeforeStopping": 8,
"advertisements": [
{
"message": "Message to be displayed",
"prompt": null,
"selection1": null,
"selection2": null,
"disableAfterContinue": false,
"input": null,
"wibletUrl": null,
"wmlCode": null,
"optInTargetGroupId": null
},
...
]
}
Response
{
"id": 2325,
"channelType": "CTI",
"description": "Description of CTI channel.",
"externalId": "Unique external id of CTI channel",
"retries": 0,
"rateLimit": 0,
"rateLimitAssigned": 500,
"rateLimitUnit": "SM/s",
"state": "DRAFT",
"editable": true,
"removable": true,
"campaignId": 2200,
"createdDate": "2013-09-30T16:40:12+0200",
"startDate": "2013-09-14T14:12:28+0200",
"endDate": null,
"targetGroupIds": [
2202
],
"useUnicode": false,
"priority": "low",
"msisdnReportingIntervals": 0,
"statisticsReportingInterval": 0,
"numberOfCallsBetweenAds": 0,
"numberOfIterationsBetweenReports": 4,
"numberOfReportsBeforeStopping": 8,
"advertisements": [
{
"message": "Message to be displayed",
"prompt": null,
"selection1": null,
"selection2": null,
"disableAfterContinue": false,
"input": null,
"wibletUrl": null,
"wmlCode": null,
"optInTargetGroupId": null
},
...
]
}
WOWONOV-channel
Request
{
"channelType: "WOWONOV",
"description": "A description of online overture WOW channel.",
"externalId": "External id of WOW channel",
"retries": 0,
"rateLimit": 0,
"campaignId": 2199,
"startDate": "2013-09-26T14:04:45+0200",
"targetGroupIds": [
2202
],
"useUnicode": false,
"priority": "low",
"advertisements": [
{
"primaryMessage": "A primary message to display",
"secondaryMessage": null,
"primaryAction": "5",
"primaryActionMessage1": "http://goggle.com/goggles",
"primaryActionMessage2": "http://goggle.com/goggles2",
"secondaryAction": "5",
"secondaryActionMessage1": "http://goggle.com/goggles3",
"secondaryActionMessage2": "http://goggle.com/goggles4",
"confirmationType": "0",
"category": "0",
"condition1": "a",
"condition2": "b",
"condition3": "c",
"condition4": "d",
"condition5": "e"
}
],
"powerOnEvent": false,
"callDisconnectEvent": true,
"idleScreenEvent": false,
"sequenceId": 2273
}
Response
{
"id": 2331,
"channelType": "WOWONOV",
"description": "A description of online overture WOW channel.",
"externalId": "Optional unique external id of WOW channel",
"retries": 0,
"rateLimit": 0,
"rateLimitAssigned": 500,
"rateLimitUnit": "SM/s",
"state": "DRAFT",
"editable": true,
"removable": true,
"campaignId": 2199,
"createdDate": "2013-09-30T18:01:18+0200",
"startDate": "2013-09-26T14:04:45+0200",
"endDate": null,
"targetGroupIds": [
2202
],
"useUnicode": false,
"priority": "low",
"advertisements": [
{
"primaryMessage": "A primary message to display",
"secondaryMessage": null,
"primaryAction": "5",
"primaryActionMessage1": "http://goggle.com/goggles",
"primaryActionMessage2": "http://goggle.com/goggles2",
"secondaryAction": "5",
"secondaryActionMessage1": "http://goggle.com/goggles3",
"secondaryActionMessage2": "http://goggle.com/goggles4",
"confirmationType": "0",
"category": "0",
"condition1": "a",
"condition2": "b",
"condition3": "c",
"condition4": "d",
"condition5": "e"
}
],
"powerOnEvent": false,
"callDisconnectEvent": true,
"idleScreenEvent": false,
"sequenceId": 2273
}
TI-channel
Request
{
"channelType": "TI",
"description": "TI Channel",
"retries": 0,
"rateLimit": 0,
"campaignId": 3,
"createdDate": "2016-02-24T07:57:33+0100",
"startDate": "2016-02-24T09:53:37+0100",
"endDate": "2016-03-25T13:15:07+0200",
"targetGroupIds": [
2
],
"advertisements": [
{
"interactiveChannelSteps": [
{
"stepType": "MESSAGE",
"displayMessageInfo": {
"stepType": "MESSAGE",
"displayMessage": "Persistent message",
"persistent": true
}
},
{
"stepType": "INPUT",
"inputInfo": {
"stepType": "INPUT",
"message": "Input step"
}
},
{
"stepType": "SELECT",
"selectInfo": {
"stepType": "SELECT",
"selectText": "Select title",
"selectOptions": [
{
"optionText": "Option 1",
"optionValue": "Option 1"
},
{
"optionText": "Option 2",
"optionValue": "Option 2"
},
{
"optionText": "Option 3",
"optionValue": "Option 3"
}
]
}
},
{
"stepType": "CONFIRM",
"selectInfo": {
"stepType": "CONFIRM",
"selectText": "Confirm title",
"selectOptions": [
{
"optionText": "Option 1",
"optionValue": "Option 1"
},
{
"optionText": "Option 2",
"optionValue": "Option 2"
}
]
}
},
{
"stepType": "WEB_SERVICE",
"webServiceInfo": {
"stepType": "WEB_SERVICE",
"url": "http://www.gi-de.com",
"serviceParameterInfoList": [
{
"parameterText": "inputData"
},
{
"parameterText": "selectData"
}
]
}
}
]
}
],
"effectiveDate": "2016-02-24T12:00:00+0100",
"expiryDate": "2016-02-25T12:00:00+0100",
"maxDisplay": 5,
"sendReportFrequency": -1
}
Response
{
"channelType": "TI",
"id": 58,
"description": "TI Channel",
"retries": 0,
"rateLimit": 0,
"rateLimitAssigned": 500,
"rateLimitUnit": "SM/s",
"state": "PROPOSED",
"editable": true,
"removable": true,
"campaignId": 3,
"createdDate": "2016-02-17T10:03:14+0100",
"startDate": "2016-02-24T09:53:37+0100",
"endDate": "2016-03-25T13:15:07+0200",
"targetGroupIds": [
2
],
"useUnicode": false,
"priority": "low",
"msisdnReportingIntervals": 0,
"statisticsReportingInterval": 0,
"advertisements": [
{
"interactiveChannelSteps": [
{
"stepType": "MESSAGE",
"displayMessageInfo": {
"stepType": "MESSAGE",
"stepId": 60,
"displayMessage": "Persistent message",
"persistent": true,
"unicode": false
}
},
{
"stepType": "INPUT",
"inputInfo": {
"stepType": "INPUT",
"stepId": 61,
"message": "Input step",
"unicode": false
}
},
{
"stepType": "SELECT",
"selectInfo": {
"stepType": "SELECT",
"stepId": 62,
"selectText": "Select title",
"selectOptions": [
{
"optionText": "Option 1",
"optionValue": "Option 1",
"optionId": 63,
"order": 0,
"stepId": 62,
"unicode": false
},
{
"optionText": "Option 2",
"optionValue": "Option 2",
"optionId": 64,
"order": 1,
"stepId": 62,
"unicode": false
},
{
"optionText": "Option 3",
"optionValue": "Option 3",
"optionId": 65,
"order": 2,
"stepId": 62,
"unicode": false
}
],
"unicode": false
}
},
{
"stepType": "CONFIRM",
"selectInfo": {
"stepType": "CONFIRM",
"stepId": 66,
"selectText": "Confirm title",
"selectOptions": [
{
"optionText": "Option 1",
"optionValue": "Option 1",
"optionId": 67,
"order": 0,
"stepId": 66,
"unicode": false
},
{
"optionText": "Option 2",
"optionValue": "Option 2",
"optionId": 68,
"order": 1,
"stepId": 66,
"unicode": false
}
],
"unicode": false
}
},
{
"stepType": "WEB_SERVICE",
"webServiceInfo": {
"stepType": "WEB_SERVICE",
"stepId": 69,
"url": "http://www.gi-de.com",
"serviceParameterInfoList": [
{
"parameterText": "inputData",
"parameterId": 70,
"stepId": 69,
"connectedStepId": 61
},
{
"parameterText": "selectData",
"parameterId": 71,
"stepId": 69,
"connectedStepId": 62
}
],
"unicode": false
}
}
]
}
],
"effectiveDate": "2016-02-24T12:00:00+0100",
"expiryDate": "2016-02-25T12:00:00+0100",
"maxDisplay": 5,
"sendReportFrequency": -1
}
PI-channel
Request
{
"channelType": "PI",
"description": "PI Channel",
"retries": 0,
"rateLimit": 0,
"campaignId": 3,
"createdDate": "2016-12-24T09:01:14+0100",
"startDate": "2016-12-24T09:59:36+0100",
"targetGroupIds": [
2
],
"advertisements": [
{
"interactiveChannelSteps": [
{
"stepType": "MESSAGE",
"displayMessageInfo": {
"stepType": "MESSAGE",
"displayMessage": "Simple message",
"persistent": false
}
},
{
"stepType": "SMS",
"sendSmsInfo": {
"stepType": "SMS",
"message": "Send text message",
"number": "9999999999",
"serviceCenterAddress": null
}
},
{
"stepType": "SETUP_CALL",
"setupCallInfo": {
"stepType": "SETUP_CALL",
"toNumber": "9999999999"
}
},
{
"stepType": "LAUNCH_BROWSER",
"launchBrowserInfo": {
"stepType": "LAUNCH_BROWSER",
"url": "http://www.gi-de.com"
}
}
]
}
],
"sendReportValue": 0
}
Response
{
"channelType": "PI",
"id": 72,
"description": "PI Channel",
"retries": 0,
"rateLimit": 0,
"rateLimitAssigned": 500,
"rateLimitUnit": "SM/s",
"state": "PROPOSED",
"editable": true,
"removable": true,
"campaignId": 3,
"createdDate": "2016-02-17T10:23:03+0100",
"startDate": "2016-12-24T09:59:36+0100",
"targetGroupIds": [
2
],
"useUnicode": false,
"priority": "low",
"msisdnReportingIntervals": 0,
"statisticsReportingInterval": 0,
"advertisements": [
{
"interactiveChannelSteps": [
{
"stepType": "MESSAGE",
"displayMessageInfo": {
"stepType": "MESSAGE",
"stepId": 74,
"displayMessage": "Simple message",
"persistent": false,
"unicode": false
}
},
{
"stepType": "SMS",
"sendSmsInfo": {
"stepType": "SMS",
"stepId": 75,
"message": "Send text message",
"number": "9999999999",
"serviceCenterAddress": null,
"unicode": false
}
},
{
"stepType": "SETUP_CALL",
"setupCallInfo": {
"stepType": "SETUP_CALL",
"stepId": 76,
"toNumber": "9999999999",
"unicode": false
}
},
{
"stepType": "LAUNCH_BROWSER",
"launchBrowserInfo": {
"stepType": "LAUNCH_BROWSER",
"stepId": 77,
"url": "http://www.gi-de.com",
"unicode": false
}
}
]
}
],
"sendReportValue": 0
}
WP-channel
Request
{
"channelType": "WP",
"description": "Wib Push Advance channel",
"campaignId": 3,
"startDate": "2017-11-27T12:26:16+0200",
"targetGroupIds": [
2
],
"useUnicode": false,
"advertisements": [
{
"message": "<?xml version=\"1.0\" encoding=\"UTF-8\"?> <wml xmlns=\"http://www.smarttrust.com/WIG-WML/5.0\" xmln
s:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"http://www.smarttrust.com/WIG-WML/5.0 http://www.sma
rttrust.com/xsd/wigwml-5.0.xsd\"> <card id=\"Main\"> <p>Welcome to wib push advance channel </p> </card> </wml>"
}
]
}
Response
{
"channelType": "WP",
"id": 9,
"description": "Wib Push Advance channel",
"externalId": null,
"retries": 0,
"rateLimit": 0,
"rateLimitAssigned": 500,
"rateLimitUnit": "SM/s",
"msisdnReportingIntervals": 0,
"pauseDelivery": null,
"state": "PROPOSED",
"editable": true,
"removable": true,
"campaignId": 2,
"createdDate": "2017-11-17T12:01:47+0100",
"startDate": "2017-11-27T11:26:16+0100",
"targetGroupIds": [
3
],
"useUnicode": false,
"advertisements": [
{
"message": "<?xml version=\"1.0\" encoding=\"UTF-8\"?> <wml xmlns=\"http://www.smarttrust.com/WIG-WML/5.0\" xmln
s:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"http://www.smarttrust.com/WIG-WML/5.0 http://www.sma
rttrust.com/xsd/wigwml-5.0.xsd\"> <card id=\"Main\"> <p>Welcome to wib push advance channel </p> </card> </wml>"
}
],
}
WPI-channel
Request
{
"channelType": "WPI",
"description": "WPI Channel",
"retries": 0,
"rateLimit": 0,
"campaignId": 3,
"createdDate": "2016-02-24T09:01:14+0100",
"startDate": "2016-02-24T09:59:36+0100",
"endDate": "2016-03-25T13:15:07+0200",
"statisticsReportingInterval": 2,
"targetGroupIds": [
2
],
"advertisements": [
{
"interactiveChannelSteps": [
{
"stepType": "MESSAGE",
"displayMessageInfo": {
"stepType": "MESSAGE",
"displayMessage": "Simple message",
"persistent": false
}
},
{
"stepType": "SMS",
"sendSmsInfo": {
"stepType": "SMS",
"message": "Send text message",
"number": "9999999999",
"serviceCenterAddress": null
}
},
{
"stepType": "SETUP_CALL",
"setupCallInfo": {
"stepType": "SETUP_CALL",
"toNumber": "9999999999"
}
},
{
"stepType": "LAUNCH_BROWSER",
"launchBrowserInfo": {
"stepType": "LAUNCH_BROWSER",
"url": "http://www.gi-de.com"
}
},
{
"stepType": "STATISTICS",
"statisticsInfo": {
"statisticsLabelInfoList": [
{
"labelText":"labelMessage"
},
{
"labelText":"labelSMS"
},
{
"labelText":"labelSetUpCall"
},
{
"labelText":null
}]
}
}
]
}
]
}
Response
{
"channelType": "WPI",
"id": 78,
"description": "WPI Channel",
"retries": 0,
"rateLimit": 0,
"rateLimitAssigned": 500,
"rateLimitUnit": "SM/s",
"state": "PROPOSED",
"editable": true,
"removable": true,
"campaignId": 3,
"createdDate": "2016-02-17T10:24:54+0100",
"startDate": "2016-02-24T09:59:36+0100",
"endDate": "2016-03-25T13:15:07+0200",
"statisticsReportingInterval": 2,
"targetGroupIds": [
2
],
"useUnicode": false,
"priority": "low",
"msisdnReportingIntervals": 0,
"statisticsReportingInterval": 0,
"advertisements": [
{
"interactiveChannelSteps": [
{
"stepType": "MESSAGE",
"displayMessageInfo": {
"stepType": "MESSAGE",
"stepId": 79,
"displayMessage": "Simple message",
"persistent": false,
"unicode": false
}
},
{
"stepType": "SMS",
"sendSmsInfo": {
"stepType": "SMS",
"stepId": 80,
"message": "Send text message",
"number": "9999999999",
"serviceCenterAddress": null,
"unicode": false
}
},
{
"stepType": "SETUP_CALL",
"setupCallInfo": {
"stepType": "SETUP_CALL",
"stepId": 81,
"toNumber": "9999999999",
"unicode": false
}
},
{
"stepType": "LAUNCH_BROWSER",
"launchBrowserInfo": {
"stepType": "LAUNCH_BROWSER",
"stepId": 82,
"url": "http://www.gi-de.com",
"unicode": false
}
},
{
"stepType": "STATISTICS",
"statisticsInfo": {
"stepType": "STATISTICS",
"stepId": 83,
"statisticsLabelInfoList": [
{
"labelText": "labelMessage",
"labelId": 84,
"stepId": 83,
"connectedStepId": 80,
"labelUsed": true
},
{
"labelText": "labelLaunchBrowser",
"labelId": 85,
"stepId": 83,
"connectedStepId": 81,
"labelUsed": true
},
{
"labelText": "labelWebService",
"labelId": 86,
"stepId": 83,
"connectedStepId": 82,
"labelUsed": true
},
{
"labelText": null,
"labelId": 87,
"stepId": 83,
"connectedStepId": 1718,
"labelUsed": false
}
],
"unicode": false
}
}
]
}
]
}
STMI-channel
Request
{
"channelType": "STMI",
"description": "STMI Channel",
"retries": 0,
"rateLimit": 0,
"originatingAddress":"Originating Address",
"msisdnReportingIntervals":2,
"campaignId": 3,
"createdDate": "2016-02-24T07:57:33+0100",
"startDate": "2016-02-24T09:53:37+0100",
"endDate": "2016-03-25T13:15:07+0200",
"targetGroupIds": [
2
],
"advertisements": [
{
"interactiveChannelSteps": [
{
"stepType": "STATIC_TEXT_MESSAGE",
"staticTextMessageInfo": {
"message": "Welcome to static text message"
}
}
]
}
]
Response
{
"channelType": "STMI",
"id": 83,
"description": "STMI Channel",
"retries": 0,�
"rateLimit": 0,
"rateLimitAssigned": 500,
"rateLimitUnit": "SM/s",
"state": "PROPOSED",
"editable": true,
"removable": true,
"campaignId": 3,
"createdDate": "2016-02-17T10:26:10+0100",
"startDate": "2016-02-24T09:53:37+0100",
"endDate": "2016-03-25T13:15:07+0200",
"targetGroupIds": [
2
],
"useUnicode": false,
"priority": "low",
"msisdnReportingIntervals": 2,
"statisticsReportingInterval": 0,
"advertisements": [
{
"interactiveChannelSteps": [
{
"stepType": "STATIC_TEXT_MESSAGE",
"staticTextMessageInfo": {
"stepType": "STATIC_TEXT_MESSAGE",
"stepId": 84,
"message": "Welcome to static text message",
"unicode": false
}
}
]
}
],
"originatingAddress": "Originating Address"
}
SPI-channel
Request
{
"channelType":"SPI",
"description":"SPI Channel",
"retries":0,
"rateLimit": 0,
"campaignId":3,
"createdDate":"2016-02-24T07:57:33+0100",
"startDate":"2016-02-24T09:53:37+0100",
"statisticsReportingInterval": 2,
"targetGroupIds":[
2
],
"advertisements":[
{
"interactiveChannelSteps":[
{
"stepType":"MESSAGE",
"displayMessageInfo":{
"displayMessage":"Persistent message"
}
},
{
"stepType":"SMS",
"sendSmsInfo":{
"message":"Send text message",
"number":"1234567890"
}
},
{
"stepType": "STATISTICS",
"statisticsInfo": {
"stepType": "STATISTICS",
"statisticsLabelInfoList": [
{
"labelText": "labelMessage"
},
{
"labelText": "labelSMS"
}
],
"unicode": false
}
}
]
}
]
}
Response
{
"channelType": "SPI",
"id": 85,
"description": "SPI Channel",
"retries": 0,
"rateLimit": 0,
"rateLimitAssigned": 500,
"rateLimitUnit": "SM/s",
"state": "PROPOSED",
"editable": true,
"removable": true,
"campaignId": 3,
"createdDate": "2016-02-17T10:27:20+0100",
"startDate": "2016-02-24T09:53:37+0100",
"targetGroupIds": [
2
],
"useUnicode": false,
"priority": "low",
"msisdnReportingIntervals": 0,
"statisticsReportingInterval": 0,
"advertisements": [
{
"interactiveChannelSteps": [
{
"stepType": "MESSAGE",
"displayMessageInfo": {
"stepType": "MESSAGE",
"stepId": 86,
"displayMessage": "Persistent message",
"persistent": true,
"unicode": false
}
},
{
"stepType": "SMS",
"sendSmsInfo": {
"stepType": "SMS",
"stepId": 87,
"message": "Send text message",
"number": "1234567890",
"serviceCenterAddress": null,
"unicode": false
}
},
{
"stepType": "STATISTICS",
"statisticsInfo": {
"stepType": "STATISTICS",
"stepId": 88,
"statisticsLabelInfoList": [
{
"labelText": "labelMessage",
"labelId": 89,
"stepId": 88,
"connectedStepId": 86,
"labelUsed": true
},
{
"labelText": "labelSMS",
"labelId": 90,
"stepId": 88,
"connectedStepId": 87,
"labelUsed": true
}
],
"unicode": false
}
]
}
]
}
PUSH-channel
Request
{
"channelType": "PUSH",
"description": "API Personalized Push Channel",
"retries": 0,
"rateLimit": 0,
"campaignId": 335,
"priority": "medium",
"startDate": "2017-07-21T10:00:00+0200",
"targetGroupIds": [585],
"parameterList": [{
"parameterName": "NAME",
"parameterSampleValue": "Luisdo"
},
{
"parameterName": "AGE",
"parameterSampleValue": "30"
}],
"pushContentType": "SAT",
"advertisements": [{
"message": "<?xml version=\"1.0\" encoding=\"UTF-8\"?><!DOCTYPE satml SYSTEM \"http://www.simalliance.org/DT
D/satml106.dtd\"><satml><card id=\"MAIN\"><p>Hi #NAME#, yor age is: #AGE#!</p></card></satml>"
}]
}
Response
{
"channelType": "PUSH",
"id": 621,
"description": "API Personalized Push Channel",
"externalId": null,
"retries": 0,
"rateLimit": 0,
"rateLimitAssigned": 500,
"rateLimitUnit": "SM/s",
"msisdnReportingIntervals": 0,
"pauseDelivery": null,
"state": "PROPOSED",
"editable": true,
"removable": true,
"campaignId": 335,
"createdDate": "2017-07-21T08:48:59+0200",
"startDate": "2017-07-21T10:00:00+0200",
"endDate": null,
"targetGroupIds": [
585
],
"useUnicode": false,
"priority": "medium",
"statisticsReportingInterval": 0,
"advertisements": [
{
"message": "<?xml version=\"1.0\" encoding=\"UTF-8\"?><!DOCTYPE satml SYSTEM \"http://www.simalliance.org/DTD/sat
ml106.dtd\"><satml><card id=\"MAIN\"><p>Hi #NAME#, yor age is: #AGE#!</p></card></satml>"
}
],
"pushContentType": "SAT",
"parameterList": [
{
"parameterName": "NAME",
"parameterSampleValue": "Luisdo"
},
{
"parameterName": "AGE",
"parameterSampleValue": "30"
}
]
}
PUSHI-channel
Request
{
"channelType": "PUSHI",
"description": "API Personalized Push Interactive Channel",
"retries": 0,
"rateLimit": 0,
"campaignId": 335,
"priority": "medium",
"startDate": "2017-07-21T10:00:00+0200",
"targetGroupIds": [585],
"statisticsReportingInterval": 2,
"parameterList": [{
"parameterName": "NAME",
"parameterSampleValue": "Luisdo"
},
{
"parameterName": "AGE",
"parameterSampleValue": "30"
}],
"pushContentType": "WIB",
"advertisements": [
{
"interactiveChannelSteps": [
{
"stepType": "MESSAGE",
"displayMessageInfo": {
"stepType": "MESSAGE",
"displayMessage": "Hi, #NAME#",
"persistent": false
}
},
{
"stepType": "INPUT",
"inputInfo": {
"stepType": "INPUT",
"message": "Are you #AGE#? How old are you?"
}
},
{
"stepType": "STATISTICS",
"statisticsInfo": {
"statisticsLabelInfoList": [
{
"labelText":"labelMessage"
},
{
"labelText":"labelSMS"
}
]
}
},
{
"stepType": "SELECT",
"selectInfo": {
"stepType": "SELECT",
"selectText": "#NAME#, what is your favourite color?",
"selectOptions": [
{
"optionText": "red",
"optionValue": "red"
},
{
"optionText": "blue",
"optionValue": "blue"
}
]
}
},
{
"stepType": "CONFIRM",
"selectInfo": {
"stepType": "CONFIRM",
"selectText": "#NAME#, do you want to exit?",
"selectOptions": [
{
"optionText": "yes",
"optionValue": "yes"
},
{
"optionText": "no",
"optionValue": "no"
}
]
}
},
{
"stepType": "SMS",
"sendSmsInfo": {
"stepType": "SMS",
"message": "#NAME# has received a push message with parameters!",
"number": "123456",
"serviceCenterAddress": null
}
}
]
}
]
}
Response
{
"channelType": "PUSHI",
"id": 621,
"description": "API Personalized Push Interactive Channel",
"externalId": null,
"retries": 0,
"rateLimit": 0,
"rateLimitAssigned": 500,
"rateLimitUnit": "SM/s",
"msisdnReportingIntervals": 0,
"pauseDelivery": null,
"state": "PROPOSED",
"editable": true,
"removable": true,
"campaignId": 335,
"createdDate": "2017-07-21T08:48:59+0200",
"startDate": "2017-07-21T10:00:00+0200",
"endDate": null,
"targetGroupIds": [
585
],
"useUnicode": false,
"priority": "medium",
"statisticsReportingInterval": 2,
"advertisements": [
{
"interactiveChannelSteps": [
{
"stepType": "MESSAGE",
"displayMessageInfo": {
"stepType": "MESSAGE",
"stepId": 225,
"displayMessage": "Hi, #NAME#",
"persistent": false,
"unicode": false
}
},
{
"stepType": "INPUT",
"inputInfo": {
"stepType": "INPUT",
"stepId": 226,
"message": "Are you #AGE#? How old are you?",
"unicode": false
}
},
{
"stepType": "STATISTICS",
"stepId": 227,
"statisticsInfo": {
"statisticsLabelInfoList": [
{
"labelText":"labelMessage",
"labelId": 228,
"stepId": 227,
"connectedStepId": 225,
"labelUsed": true
},
{
"labelText":"labelSMS",
"labelId": 229,
"stepId": 227,
"connectedStepId": 226,
"labelUsed": true
}
]
}
},
{
"stepType": "SELECT",
"selectInfo": {
"stepType": "SELECT",
"stepId": 227,
"selectText": "#NAME#, what is your favourite color?",
"selectOptions": [
{
"optionText": "red",
"optionValue": "red",
"optionId": 228,
"order": 0,
"stepId": 227,
"unicode": false
},
{
"optionText": "blue",
"optionValue": "blue",
"optionId": 229,
"order": 1,
"stepId": 227,
"unicode": false
}
],
"unicode": false
}
},
{
"stepType": "CONFIRM",
"selectInfo": {
"stepType": "CONFIRM",
"stepId": 230,
"selectText": "#NAME#, do you want to exit?",
"selectOptions": [
{
"optionText": "yes",
"optionValue": "yes",
"optionId": 231,
"order": 0,
"stepId": 230,
"unicode": false
},
{
"optionText": "no",
"optionValue": "no",
"optionId": 232,
"order": 1,
"stepId": 230,
"unicode": false
}
],
"unicode": false
}
},
{
"stepType": "SMS",
"sendSmsInfo": {
"stepType": "SMS",
"stepId": 233,
"message": "#NAME# has received a push message with parameters!",
"number": "5555",
"serviceCenterAddress": null,
"unicode": false
}
}
]
}
],
"pushContentType": "WIB",
"parameterList": [
{
"parameterName": "NAME",
"parameterSampleValue": "Luisdo"
},
{
"parameterName": "AGE",
"parameterSampleValue": "30"
}
]
}
IP-channel
Request
{
"channelType": "IP",
"description": "API Push live advanced Channel",
"retries": 0,
"rateLimit": 0,
"campaignId": 335,
"priority": "medium",
"startDate": "2017-07-21T10:00:00+0200",
"parameterList": [{
"parameterName": "NAME",
"parameterSampleValue": "Luisdo"
},
{
"parameterName": "AGE",
"parameterSampleValue": "30"
}],
"pushContentType": "SAT",
"advertisements": [{
"message": "<?xml version=\"1.0\" encoding=\"UTF-8\"?><!DOCTYPE satml SYSTEM \"http://www.simalliance.org/DT
D/satml106.dtd\"><satml><card id=\"MAIN\"><p>Hi #NAME#, yor age is: #AGE#!</p></card></satml>"
}]
}
Response
{
"channelType": "IP",
"id": 621,
"description": "API Push live advanced Channel",
"externalId": null,
"retries": 0,
"rateLimit": 0,
"rateLimitAssigned": 0,
"rateLimitUnit": "SM/s",
"msisdnReportingIntervals": 0,
"pauseDelivery": null,
"state": "PROPOSED",
"editable": true,
"removable": true,
"campaignId": 335,
"createdDate": "2017-07-21T08:48:59+0200",
"startDate": "2017-07-21T10:00:00+0200",
"endDate": null,
"targetGroupIds": null,
"useUnicode": false,
"priority": "medium",
"statisticsReportingInterval": 0,
"advertisements": [
{
"message": "<?xml version=\"1.0\" encoding=\"UTF-8\"?><!DOCTYPE satml SYSTEM \"http://www.simalliance.org/DTD/sat
ml106.dtd\"><satml><card id=\"MAIN\"><p>Hi #NAME#, yor age is: #AGE#!</p></card></satml>"
}
],
"pushContentType": "SAT",
"parameterList": [
{
"parameterName": "NAME",
"parameterSampleValue": "Luisdo"
},
{
"parameterName": "AGE",
"parameterSampleValue": "30"
}
]
}
IPI-channel
Request
{
"channelType": "IPI",
"description": "API Push live interactive Channel",
"retries": 0,
"rateLimit": 0,
"campaignId": 335,
"priority": "medium",
"startDate": "2017-07-21T10:00:00+0200",
"statisticsReportingInterval": 2,
"parameterList": [{
"parameterName": "NAME",
"parameterSampleValue": "Luisdo"
},
{
"parameterName": "AGE",
"parameterSampleValue": "30"
}],
"pushContentType": "WIB",
"advertisements": [
{
"interactiveChannelSteps": [
{
"stepType": "MESSAGE",
"displayMessageInfo": {
"stepType": "MESSAGE",
"displayMessage": "Hi, #NAME#",
"persistent": false
}
},
{
"stepType": "INPUT",
"inputInfo": {
"stepType": "INPUT",
"message": "Are you #AGE#? How old are you?"
}
},
{
"stepType": "STATISTICS",
"statisticsInfo": {
"statisticsLabelInfoList": [
{
"labelText":"labelMessage"
},
{
"labelText":"labelSMS"
}
]
}
},
{
"stepType": "SELECT",
"selectInfo": {
"stepType": "SELECT",
"selectText": "#NAME#, what is your favourite color?",
"selectOptions": [
{
"optionText": "red",
"optionValue": "red"
},
{
"optionText": "blue",
"optionValue": "blue"
}
]
}
},
{
"stepType": "CONFIRM",
"selectInfo": {
"stepType": "CONFIRM",
"selectText": "#NAME#, do you want to exit?",
"selectOptions": [
{
"optionText": "yes",
"optionValue": "yes"
},
{
"optionText": "no",
"optionValue": "no"
}
]
}
},
{
"stepType": "SMS",
"sendSmsInfo": {
"stepType": "SMS",
"message": "#NAME# has received a push message with parameters!",
"number": "123456",
"serviceCenterAddress": null
}
}
]
}
]
}
Response
{
"channelType": "IPI",
"id": 621,
"description": "API Push live interactive Channel",
"externalId": null,
"retries": 0,
"rateLimit": 0,
"rateLimitAssigned": 0,
"rateLimitUnit": "SM/s",
"msisdnReportingIntervals": 0,
"state": "PROPOSED",
"editable": true,
"removable": true,
"campaignId": 335,
"createdDate": "2017-07-21T08:48:59+0200",
"startDate": "2017-07-21T10:00:00+0200",
"useUnicode": false,
"priority": "medium",
"statisticsReportingInterval": 2,
"advertisements": [
{
"interactiveChannelSteps": [
{
"stepType": "MESSAGE",
"displayMessageInfo": {
"stepType": "MESSAGE",
"stepId": 225,
"displayMessage": "Hi, #NAME#",
"persistent": false,
"unicode": false
}
},
{
"stepType": "INPUT",
"inputInfo": {
"stepType": "INPUT",
"stepId": 226,
"message": "Are you #AGE#? How old are you?",
"unicode": false
}
},
{
"stepType": "STATISTICS",
"stepId": 227,
"statisticsInfo": {
"statisticsLabelInfoList": [
{
"labelText":"labelMessage",
"labelId": 228,
"stepId": 227,
"connectedStepId": 225,
"labelUsed": true
},
{
"labelText":"labelSMS",
"labelId": 229,
"stepId": 227,
"connectedStepId": 226,
"labelUsed": true
}
]
}
},
{
"stepType": "SELECT",
"selectInfo": {
"stepType": "SELECT",
"stepId": 227,
"selectText": "#NAME#, what is your favourite color?",
"selectOptions": [
{
"optionText": "red",
"optionValue": "red",
"optionId": 228,
"order": 0,
"stepId": 227,
"unicode": false
},
{
"optionText": "blue",
"optionValue": "blue",
"optionId": 229,
"order": 1,
"stepId": 227,
"unicode": false
}
],
"unicode": false
}
},
{
"stepType": "CONFIRM",
"selectInfo": {
"stepType": "CONFIRM",
"stepId": 230,
"selectText": "#NAME#, do you want to exit?",
"selectOptions": [
{
"optionText": "yes",
"optionValue": "yes",
"optionId": 231,
"order": 0,
"stepId": 230,
"unicode": false
},
{
"optionText": "no",
"optionValue": "no",
"optionId": 232,
"order": 1,
"stepId": 230,
"unicode": false
}
],
"unicode": false
}
},
{
"stepType": "SMS",
"sendSmsInfo": {
"stepType": "SMS",
"stepId": 233,
"message": "#NAME# has received a push message with parameters!",
"number": "5555",
"serviceCenterAddress": null,
"unicode": false
}
}
]
}
],
"pushContentType": "WIB",
"parameterList": [
{
"parameterName": "NAME",
"parameterSampleValue": "Luisdo"
},
{
"parameterName": "AGE",
"parameterSampleValue": "30"
}
]
}
Status codes
POST /channels/triggerIndividual
Trigger individual content for Live channels. Live channels are Push live advanced and Push live interactive. Triggers are allowed
when channel state is IDLE or ONGOING.
Parameters
Channel Id and individual content for this channel. Data is an array than include the MSISDN and parameters to use.
Content-type: application/json
Request
{
"channelId": 596,
"data": [
{
"msisdn": "67060000001",
"params": {
"NAME": "Mukesh",
"AGE": "28"
}
},
{
"msisdn": "67060000002",
"params": {
"NAME": "Alex",
"AGE": "25"
}
},
{
"msisdn": "67060000003",
"params": {
"NAME": "Luis",
"AGE": "30"
}
}
]
}
Response
{
"channelId": 596,
"msisdnDatas": [
{
"msisdn": "67060000001",
"data": {
"NAME": "Mukesh",
"AGE": "28"
}
},
{
"msisdn": "67060000002",
"data": {
"NAME": "Alex",
"AGE": "25"
}
},
{
"msisdn": "67060000003",
"data": {
"NAME": "Luis",
"AGE": "30"
}
}
]
}
PUT /channels/{channelId}
Updates an existing channel by its {channelId} .
Parameters
Content-type: application/json
{
"channelType: "SPN",
"description": "Updated description of SPN channel.",
"externalId": "Updated unique external id of HS channel",
"retries": 0,
"rateLimit": 0,
"campaignId": 2200,
"createdDate": "2013-10-03T13:51:57+0200",
"startDate": "2013-09-16T09:12:28+0200",
"targetGroupIds": [
2202
],
"useUnicode": false,
"priority": "low",
"advertisements": [
{
"message": "Another message"
}
],
"spnDisplayOption": "DEFAULT"
}
Response
Updated channel of type Channel.
Content-type: application/json
{
"channelType": "STMI",
"id": 4,
"description": "STMI Channel",
"retries": 0,
"rateLimit": 0,
"rateLimitAssigned": 500,
"rateLimitUnit": "SM/s",
"state": "PROPOSED",
"editable": true,
"removable": true,
"campaignId": 3,
"msisdnReportingIntervals": 0,
"statisticsReportingInterval": 0,
"createdDate": "2016-01-20T12:05:11+0100",
"startDate": "2016-12-24T09:53:37+0100",
"targetGroupIds": [
2
],
"advertisements": [
{
"interactiveChannelSteps": [
{
"stepType": "STATIC_TEXT_MESSAGE",
"staticTextMessageInfo": {
"stepId": 5,
"message": "Updated static text message"
}
}
]
}
]
}
Status codes
PUT /channels/approvals/{channelId}
Approves an existing channel by its {channelId} . A channel must be editable in order to be approved. The channel is immediately
published after it is approved.
Parameters
Response
Channel of type Channel.
Content-type: application/json
Status codes
PUT /channels/copy/{channelId}
Create copy of existing channel by its {id} .
Parameters
Query campaignId String No Valid campaign Id under which channel will be copied -
Response
Channel of type Channel.
Content-type: application/json
{
"channelType": "STMI",
"id": 83,
"description": "STMI Channel",
"retries": 0,
"rateLimit": 0,
"rateLimitAssigned": 500,
"rateLimitUnit": "SM/s",
"state": "PROPOSED",
"editable": true,
"removable": true,
"campaignId": 3,
"createdDate": "2016-02-17T10:26:10+0100",
"startDate": "2016-02-24T09:53:37+0100",
"targetGroupIds": [
2
],
"useUnicode": false,
"priority": "low",
"msisdnReportingIntervals": 2,
"statisticsReportingInterval": 0,
"advertisements": [
{
"interactiveChannelSteps": [
{
"stepType": "STATIC_TEXT_MESSAGE",
"staticTextMessageInfo": {
"stepType": "STATIC_TEXT_MESSAGE",
"stepId": 84,
"message": "Welcome to static text message",
"unicode": false
}
}
]
}
],
"originatingAddress": "Originating Address"
}
Status codes
Response
true if channel successfully removed, otherwise false .
Content-type: application/json
true
Status codes
Symphonies
GET /symphonies
Fetches all symphonies.
Parameters
None.
Response
A list of symphonies of type Symphony.
Content-type: application/json
Example:
[
{
"id": 2273,
"name": "Name of symphony",
"description": "Description of symphony",
"externalId": "Some external reference",
"createdDate": "2013-09-26T10:56:07+0200",
"channelId": [
2394, 3788, 4865
]
},
...
]
Status codes
GET /symphonies/{symphonyId}
Fetches a symphony by its {symphonyId} .
Parameters
Response
Symphony of type Symphony.
Content-type: application/json
Example:
{
"id": 2273,
"name": "Name of symphony",
"description": "Description of symphony",
"externalId": "Some external reference",
"createdDate": "2013-09-26T10:56:07+0200",
"channelId": [
2394, 3788, 4865
]
}
Status codes
POST /symphonies
Creates a new symphony.
Parameters
An symphony of type Symphony.
Content-type: application/json
Example:
{
"name": "Name of symphony",
"description": "Description of symphony",
"externalId": "Some external reference",
"channelId": [
2394, 3788, 4865
]
}
Response
Created symphony of type Symphony.
Content-type: application/json
Example:
{
"id": 2273,
"name": "Name of symphony",
"description": "Description of symphony",
"externalId": "Some external reference",
"createdDate": "2013-09-26T10:56:07+0200",
"channelId": [
2394, 3788, 4865
]
}
Status codes
A symphony of type Symphony. Only name , description , and externalReference are updateable.
Content-type: application/json
Example:
{
"name": "Updated name of symphony",
"description": "Another description of symphony",
"externalId": "Changed external reference",
"channelId": [
2394, 5532, 3788, 4865
]
}
Response
Updated symphony of type Symphony.
Content-type: application/json
Example:
{
"id": 2273,
"name": "Updated name of symphony",
"description": "Another description of symphony",
"externalId": "Changed external reference",
"createdDate": "2013-09-26T10:56:07+0200",
"channelId": [
2394, 5532, 3788, 4865
]
}
Status codes
DELETE /symphonies/{symphonyId}
Removes a symphony by its {symphonyId} . In order to be removed, a symphony must not contain any selected channel members
(i.e. channelId -list must be empty) or be connected to any WOWOOFF- and/or WOWONOV-channel.
Parameters
Response
true if symphony is successfully removed, otherwise false .
Content-type: application/json
Example
true
Status codes
403 (16) Symphony must not contain any selected member channels.
403 (16) Symphony must not be connected to any WOWOOFF- and/or WOWONOV-channels.
Opt-outs
GET /opt-outs
Fetches a summary of number of opt-outed msisdn per {channelType} .
Parameters
None.
Response
Map with "Channel-type:Number-of-msisdn" entries of type String and Integer.
Content-type: application/json
Example:
{
"CT": 14238,
"HS": 107318,
"SMS": 178
...
}
Status codes
GET /opt-outs/{channelType}
Fetches a list of msisdn that are opted-out for a specific {channelType} . The first 4000 msisdn is retrieved if there are more than
4000 msisdn for the requested {channelType} . See also GET /opt-outs/{channelType}/page/{page} .
Parameters
Path channelType ChannelType Yes Type of channel to fetch opted-out msisdn for. For valid values, refer to ChannelType.
Response
Paged list of msisdn of type String.
Content-type: application/json
Example:
{
"totalNoOfItems": 3,
"currentPage": 1,
"pageSize": 4000,
"items": [
"0704567266", "0786736543", "07153774476"
]
}
Status codes
Parameter
Name Data type Mandatory Description Notes
type
The page to retrieve msisdn for. First page is 1. The page size is
Path page Integer Yes Must be greater or equals to 1.
4000.
Response
Paged list of msisdn of type String.
Content-type: application/json
Example:
{
"totalNoOfItems": 5638,
"currentPage": 2,
"pageSize": 4000,
"items": [
"0704567266", "0786736543", "07153774476", ...
]
}
Status codes
GET /opt-outs/msisdn/{msisdn}
Fetches a list of channel types that {msisdn} is opted-out for.
Parameters
Path msisdn String Yes msisdn to fetch opted-out channel types for. Valid characters: "\+?\d{3,25}"
Response
List of channel types of type ChannelType.
Content-type: application/json
Example:
[
"HS", "SMS"
]
Status codes
POST /opt-outs
Adds a list of msisdn to be opted-out for a set of {ChannelType} .
Parameters
Parameter
Name Data type Mandatory Description Notes
type
Types of channel to add If the {channelType} is empty, misidn will be removed for all
Query channeltype ChannelType[] Yes
opted-out msisdn for. {channelType} . For valid values, refer to ChannelType.
Content-type: application/json
Example:
[
"0704567266", "0786736543", "07153774476"
]
POST example:
POST /opt-outs/msisdn-list?channeltype=CT&channeltype=SMS&...
Response
Number of valid msisdn added.
Content-type: application/json
Example:
Status codes
POST /opt-outs/msisdn-list
Adds a list of msisdn to be opted-out for a set of {ChannelType} .
Parameters
Query channeltype ChannelType[] Yes Types of channel to fetch opted-out msisdn for. For valid values, refer to ChannelType.
Content-type: multipart/form-data
Newline ( \n )
Tab ( \t )
Comma ( , )
Semicolon ( ; )
Carriage return ( \r )
Invalid msisdn are disregarded.
File example:
0706779598;0736793445;0786739127
POST example:
POST /opt-outs/msisdn-list?channeltype=CT&channeltype=SMS&...
Response
Number of bytes in file received.
Content-type: application/json
Example:
20348
Status codes
200 Msisdn are sucessfully added to opt-out list for channel types.
Parameter
Name Data type Mandatory Description Notes
type
Types of channel to replace If the {channelType} is empty, misidn will be removed for all
Query channeltype ChannelType[] Yes
opted-out msisdn for. {channelType} . For valid values, refer to ChannelType.
Content-type: application/json
Example:
[
"0704567266", "0786736543", "07153774476"
]
PUT example:
PUT /opt-outs/msisdn-list?channeltype=CT&channeltype=SMS&...
Response
Number of valid msisdn replaced.
Content-type: application/json
Example:
Status codes
200 Msisdn are sucessfully replaced in opt-out list for channel types.
PUT /opt-outs/msisdn-list
Replace a list of msisdn to be opted-out for a set of {ChannelType} .
Parameters
Query channeltype ChannelType[] Yes Types of channel to replace opted-out msisdn for. For valid values, refer to ChannelType.
Content-type: multipart/form-data
Newline ( \n )
Tab ( \t )
Comma ( , )
Semicolon ( ; )
Carriage return ( \r )
Invalid msisdn are disregarded.
File example:
0706779598;0736793445;0786739127
PUT example:
PUT /opt-outs/msisdn-list?channeltype=CT&channeltype=SMS&...
Response
Number of bytes in file received.
Content-type: application/json
Example:
20348
Status codes
200 Msisdn are sucessfully replaced in opt-out list for channel types.
DELETE /opt-outs
Removes msisdn from being opted-out for a set of {ChannelType} .
Parameters
Parameter
Name Data type Mandatory Description Notes
type
Types of channel to delete If the {channelType} is empty, misidn will be removed for all
Query channeltype ChannelType[] Yes
opted-out msisdn for. {channelType} . For valid values, refer to ChannelType.
Example:
[
"0704567266", "0786736543", "07153774476"
]
If list of channel types is empty, msisdn will be removed for all channel types.
If list of msisdn is empty, all msisdn for channel types will be removed.
DELETE example:
DELETE /opt-outs/msisdn-list?channeltype=CT&channeltype=SMS&...
Response
Number of valid msisdn removed.
Content-type: application/json
Example:
Status codes
200 Msisdn are sucessfully removed from opt-out list for channel types.
DELETE /opt-outs/msisdn-list
Removes msisdn from being opted-out for a set of {ChannelType} .
Parameters
Parameter
Name Data type Mandatory Description Notes
type
Types of channel to fetch If the {channelType} is empty, misidn will be removed for all
Query channeltype ChannelType[] Yes
opted-out msisdn for. {channelType} . For valid values, refer to ChannelType.
Content-type: multipart/form-data
Newline ( \n )
Tab ( \t )
Comma ( , )
Semicolon ( ; )
Carriage return ( \r )
Invalid msisdn are disregarded.
File example:
0706779598;0736793445;0786739127
DELETE example:
DELETE /opt-outs/msisdn-list?channeltype=CT&channeltype=SMS&...
Response
Number of bytes in file received.
Content-type: application/json
Example:
20348
Status codes
200 Msisdn are successfully removed from opt-out list for channel types.
Reports
GET /reports
Generates a report containing a list of advertisers and their campaigns and channels with statistics for user actions and statistics
about delivery and impression.
Parameters
Parameter Data
Name Mandatory Description Notes
type type
Query msisdn String No msisdn for subscriber to find statistics for. Valid characters: "\+?\d{3,25}"
List of channel type identifiers. Resource returns report for all For valid values refer to
Query channeltypeid String[] No
channel types if empty. ChannelType
Start date (included) of time period for applicable campaigns.
Query startdate String No Created date for a campaigns to be included in the report must be Valid format: yyyyMMdd.
after or equal to this date.
End date (included) of time period for applicable campaigns. Created enddate must be equal or after
Query enddate String No date for campaigns to be included in the report must be before or startdate if both are defined. Valid
equal to this date format: yyyyMMdd.
Example:
GET /reports?msisdn=0000000000000&advertiserId=17&...
Response
A report of type AdvertiserStatisticsReport
Content-type: application/json
Example:
{
"filter": {
"msisdn": "0000000000000",
"advertiserId": null,
"campaignId": [],
"channelTypeId": [],
"startDate": null,
"endDate": null
},
"advertiser": [
{
"id": 7,
"name": "Test",
"description": "A description of Test",
"createdDate": "2013-08-13T12:03:10+0200",
"campaign": [
{
"id": 8,
"name": "Test",
"description": "A description of campaign",
"createdDate": "2013-08-13T12:03:34+0200",
"createdBy": "adwiseadm",
"channel": [
{
"id": 21,
"channelType": "HS",
"description": "Test of user action collection.",
"startDate": "2013-08-13T12:12:28+0200",
"endDate": null,
"createdDate": "2013-08-13T12:11:41+0200",
"approvedDate": "2013-08-13T12:13:37+0200",
"createdBy": "adwiseadm",
"approvedBy": "adwiseadm",
"onDemandStatistics": [],
"automaticSubscriberStatistics": [
{
"id": 28,
"msisdn": "0000000000000",
"iccid": null,
"enabled": -1,
"iterations": 3,
"actualChannelId": 21,
"requestedChannelId": 21,
"createdDate": "2013-08-13T12:16:48+0200",
"slotOne": 1,
"slotTwo": 0,
"slotThree": 1,
"slotFour": 1,
"slotFive": 1,
"slotSix": 0
},
...
]
},
{
"id": 232,
"channelType": "WP",
"description": "Test a Wib push channel with impression report",
"startDate": "2017-06-30T13:30:25+0200",
"endDate": null,
"createdDate": "2017-06-30T13:28:48+0200",
"approvedDate": "2017-06-30T13:29:58+0200",
"createdBy": "adwiseadm",
"approvedBy": "adwiseadm",
"onDemandStatistics": [],
"automaticSubscriberStatistics": [],
"channelStatisticsSummary": null,
"wowSequenceStatistics": [],
"interactiveStatistics": [],
"interactiveStatisticsSummary": null,
"statisticsSummaryByStep": null,
"statisticsReportingInterval": 1,
"statisticsDelivery": {
"externalId": "WP-EXAMPLE",
"targetGroupId": 2,
"importSource": "GUI",
"status": null,
"time": null,
"impressionSteps": [
{
"stepNum": 1,
"stepLabel": "Name",
"stepType": "in",
"stepDate": "2017-06-30T13:32:04+0200",
"stepValue": "Luis"
},
{
"stepNum": 2,
"stepLabel": null,
"stepType": "dm",
"stepDate": "2017-06-30T13:32:04+0200",
"stepValue": null
},
{
"stepNum": 3,
"stepLabel": "Color",
"stepType": "sel",
"stepDate": "2017-06-30T13:32:04+0200",
"stepValue": null
}
]
}
},
...
]
},
...
]
},
...
]
}
Status codes
GET /reports/impression/state/{channelId}
Check if the impression report (CSV file) is available for a channel.
Parameters
Response
The state of the CSV impression report
Content-type: application/json
Example:
{
{
"enable": "true",
"state": "PENDING"
}
}
Status codes
GET /reports/impression/{channelId}
Get the impression report (CSV file) by channel.
Parameters
Response
A Zip file, with the CSV report inside.
Content-type: application/octet-stream
Status codes
GET /reports/delivery/{channelId}
Get the delivery report (CSV file) by channel.
Parameters
Response
A Zip file, with the CSV report inside.
Content-type: application/octet-stream
Status codes
Wib
POST /wib
Immediately pushes a WML to a list of msisdns.
Parameters
A list of msisdns and the wml code to be pushed to the Wib. The list can contain at most 100 msisdns.
Content-type: application/json
Example:
{
"msisdns": [
"730258371", "773346821"
],
"wml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?> <wml xmlns=\"http://www.smarttrust.com/WIG-WML/5.0\" xmlns:xsi=\"http://
www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"http://www.smarttrust.com/WIG-WML/5.0 http://www.smarttrust.com/xs
d/wigwml-5.0.xsd\"><card id=\"Main\"><p> Hello world!</p></card></wml>"
}
Response
A list of targeted msisdns.
Content-type: application/json
Example:
[
"730258371", "773346821"
]
Status codes
HealthCheck
GET /manage/health
For check the ADWISE server health status.
Parameters
Simple GET request without any parameters.
Content-type: application/json
Response
Provide the server status.
Content-type: application/json
Example:
{
"status": "UP"
}
Status codes
503 The service is not functional and can not serve requests.
503 The service is deliberately taken out of service (e.g. due to maintenance) and can not serve requests.
Data types
Advertiser
Represents a specific advertiser.
Attributes
Mandatory (in
Name Type Description Notes
POST/PUT)
rateLimitUnit String No Units of Rate limit. Only available if rate limit per advertiser is enabled.
Campaign
Represents a specific campaign.
Attributes
Name Type Mandatory (in POST/PUT) Description Notes
externalId String No Adertiser's internal reference id for campaign. Max 255 characters. Valid characters: "a-z,A-Z,0-9,-,."
additionalNotes String No Additional information about this campaign. Max 255 characters.
TargetGroup
Attributes
Mandatory
Name Type (in Description Notes
POST/PUT)
Unique id on target
id Integer No -
group.
targetGroupName String Yes Name of target group. Max 255 characters.
Description of target
description String No Max 2000 characters.
group.
true if target group is A target group can be removed when it is not connected to any provisionings and/or
removable Boolean No removable, otherwise channels. Note that the state of this property can have been changed after the last time it
false was read.
Id on advertiser this
advertiserId Integer Yes Value -1 if target group belongs to any advertiser.
target group belongs to.
msisdn String[] Yes List of msisdn. Valid characters for msisdn: "\+?\d{3,25}"
Channel
Represents a specific channel. The channel types have different sets of attributes, but some of the attributes are common for all
types of channels.
Mandatory
Name Type (in Description Notes
POST/PUT)
channelType String Yes Type of channel. For valid values, refer to ChannelType.
state String No Current state of channel. For valid values, refer to ChannelState.
true if channel is editable, A channel in one of the following states: DRAFT or PROPOSED , can be
editable Boolean No e.g. possible to approve, edited. Note that the state of this property can have been changed
otherwise false . after the last time it was read.
Id on campaign channel
campaignId Integer Yes -
belongs to.
Mandatory only for CBHS channel for other channels this field is
optional. Must be after startDate . Valid format (ISO-8601): yyyy-MM-
Date and time when channel
endDate String Yes/No ddTHH:mm:ss[+|-]ZZZZ Channel will neither resume or start past the
ends.
end date and time. Channel will not be created or copied past it's end
date and time
numberOfCalls- Number of calls between Only applicable for CTI -channels. Default 0 (i.e. each call). Valid
Integer No
BetweenAds each ad display. values [0..8].
numberOfIterations- Number of calls before a Only applicable for CT - and CTI -channels. Default 0. Valid values
Integer No
BetweenReports report is sent. [0..8].
numberOfReports- Number of reports before Only applicable for CT - and CTI -channels. Default 0. Valid values
Integer No
BeforeStopping channel is disabled. [0..8].
priority String No The priority of the channel. log , medium or high values accepted.
Content type for Mandatory only for PUSH and PUSHI channels; for other channels this
pushContentType String Yes/No
Personalized Push channels. field is not used. WIB or SAT values accepted.
List of Parameters for Mandatory only for PUSH and PUSHI channels; for other channels this
parameterList Parameter[] Yes/No
Personalized Push channels. field is not used. For Parameter attributes, see below.
Advertisement
For WP -channels use this for the WML-code. The following rules are
applicable for CTI - and CTI_INSTALL -channels only:
Can be disabled for CTI - and CTI_INSTALL -channels by setting
message String Yes Message to be displayed. it to null .
At least one of message , prompt , input or
[wmlCode | wibletUrl | optInTargetGroupId] must have a valid
value.
Applicable for CTI - and CTI installed -channels only. Disabled when
prompt String Yes Question to proceed. set to null . At least one of message , prompt , input or
[wmlCode | wibletUrl | optInTargetGroupId] must have a valid value.
Defines the "Continue" Applicable for CTI - and CTI installed -channels only. Must have a
selection1 String Yes
selection. value when property prompt has a value.
Applicable for CTI - and CTI installed -channels only. Must have a
selection2 String No Defined the "Exit" selection.
value when property prompt has a value.
Applicable for CTI - and CTI installed -channels only. Disabled when
Question after user has
input String Yes set to null . At least one of message , prompt , input or
proceeded.
[wmlCode | wibletUrl | optInTargetGroupId] must have a valid value.
Applicable for CTI -channels only. Must be set to null when property
wmlCode String No Local wiblet wml wibletUrl is set to non- null . At least one of message , prompt , input
or [wmlCode | wibletUrl | optInTargetGroupId] must have a valid value.
Applicable for CTI - and CTI installed -channels only. Must be set to
Uri pointing to remote wiblet null when property wmlCode is set to non- null . At least one of
wibletUrl String Yes
wml. message , prompt , input or [wmlCode | wibletUrl | optInTargetGroupId]
must have a valid value.
Applicable for CTI - and CTI installed -channels only. At least one of
optInTargetGroupId Integer No Id on opt-in target group. message , prompt , input or [wmlCode | wibletUrl | optInTargetGroupId]
must have a valid value.
Parameter
STATS
PUSH
CBHS
ASW
SMS
SPN
CTI
WP
HS
SP
CT
Attribute
IP
id X X X X X X X X X X X X X X
channelType X X X X X X X X X X X X X X
description X X X X X X X X X X X X X X
campaignId X X X X X X X X X X X X X X
createdDate X X X X X X X X X X X X X X
startDate X X X X X X X X X X X X X X
endDate X X X X X X X X X X X X X X
targetGroupIds X X X X X X X X X X X X X
msisdnReportingIntervals X X X X X X X X X X X X X X
statisticsReportingInterval X X X X
spnDisplayOption X
numberOfCallsBetweenAds X
numberOfIterationsBetweenReports X X
numberOfReportsBeforeStopping X X
useUnicode X X X X X X X X X X X X X X
priority X X X X X X X X X X X X X X
pushContentType X X
parameterList X X
advertisements X X X X X X X X X X X X X X
Advertisements
message X X X X X X X X X X X X X X
prompt X X
selection1 X X
selection2 X X
disableAfterContinue X X
input X X
wmlCode X
wibletUrl X X
optInTargetGroupId X X
Parameter
parameterName X X
parameterSampleValue X X
Mandatory
Name Type (in Description Notes
POST/PUT)
channelType String Yes Type of channel. For valid values, refer to ChannelType.
state String No Current state of channel. For valid values, refer to ChannelState.
Id on campaign channel
campaignId Integer Yes -
belongs to.
Maximum no of times
Valid only for TI channel. Value should be
maxDisplay Integer Yes channel will be displayed
-1(No limit) or from 1-255
to the user.
Advertisement
InteractiveChannelStep
Step type defines the type
stepType StepType No of step available, other -
steps will be null.
This step will show a A prompt message will be displayed using this
displayMessageInfo ChannelInteractiveDisplayMessageInfo No
prompt on user screen. step.
This step will show up an A prompt input of will be displayed using this
inputInfo ChannelInteractiveInputInfo No
input prompt to the user. step.
This step will send specific This step can take values from input and select
webServiceInfo ChannelInteractiveWebServiceInfo No
information's to an URL. step as an input to web service
Optional Originating
originatingAddress String No Max 20 characters.
Address.
160*(Max Sm
StaticTextMessage NA NA configured)/80*(Max NA NA NA
Sm configured)
Mandatory
Name Type (in Description Notes
POST/PUT)
StepType
Defines the
type of step
stepType String Yes -
available from
below.
ChannelInteractiveDisplayMessageInfo
Defines the
stepType String Yes -
type of step.
Unique Id
need at the
stepId Integer No -
time of
update.
Message for
displayMessage String Yes display -
message step.
True, when
message is to
persistent Boolean No be displayed -
persistently
on the device.
ChannelInteractiveStaticTextMessageInfo
Defines the
stepType String Yes -
type of step.
Unique Id
need at the
stepId Integer No -
time of
update.
Message for
message String Yes static text -
message.
ChannelInteractiveInputInfo
Defines the
stepType String Yes -
type of step.
Unique Id
need at the
stepId Integer No -
time of
update.
Message to be
message String Yes used as input -
heading.
ChannelInteractiveLaunchBrowserInfo
Defines the
stepType String Yes -
type of step.
Unique Id
need at the
stepId Integer No -
time of
update.
URL to be
used for
url String Yes -
launch
browser.
ChannelInteractiveSelectInfo
Defines the
stepType String Yes -
type of step.
Unique Id
need at the
stepId Integer No -
time of
update.
ChannelInteractiveSendSmsInfo
Defines the
stepType String Yes -
type of step.
Unique Id
need at the
stepId Integer No -
time of
update.
Message to be
message String Yes sent using -
SMS step.
Number to
number String Yes which SMS is -
to be sent.
Number to be
used as
serviceCenterAddress String No -
service center
address.
ChannelInteractiveDisableInfo
Defines the
stepType String Yes -
type of step.
Unique Id
need at the
stepId Integer No -
time of
update.
Defines the
stepType String Yes -
type of step.
Unique Id
need at the
stepId Integer No -
time of
update.
Number to
toNumber String Yes which call is -
initiated.
ChannelInteractiveWebServiceInfo
Defines the
stepType String Yes -
type of step.
Unique Id
need at the
stepId Integer No -
time of
update.
URL to which
url String Yes collected data -
is to be sent.
parameterText : Parameter
name that is to used.
parameterId : Unique Id
need at the time of update.
stepId : Id of the
Parameters to webservice step to which
serviceParamterInfos ChannelInteractiveWebServiceParameterInfo[] No webservice parameters are to be
step. added.
connectedStepId : Id of the
select or input step used
by webservice, steps
should be before
webservice step.
ChannelInteractiveStatisticsInfo
label : Parameter that
includes the list of labels. It
must contain one label per
step. If it is null user will
statisticsLabelInfoList ChannelInteractiveStatisticsInfo[] No
Statistics step not receive statistics of its
parameters.
step. (It is mandatory to
put this parameter. If user
do not need it, it must be
set to null.)
Defines the
stepType String Yes -
type of step.
Unique Id
need at the
stepId Integer No -
time of
update.
PUSHI
STMI
WPI
SPI
IPI
Attribute
PI
TI
id X X X X X X X
channelType X X X X X X X
description X X X X X X X
campaignId X X X X X X X
createdDate X X X X X X X
startDate X X X X X X X
endDate X X X X X X X
targetGroupIds X X X X X X
effectiveDate X
originatingAddress X
msisdnReportingIntervals X X X X X X X
expiryDate X
maxDisplay X
sendReportFrequency X
sendReportValue X
priority X X X X X X X
pushContentType X X
parameterList X X
advertisements X X X X X X X
Advertisements
interactiveChannelSteps X X X X X X X
InteractiveChannelSteps
stepType X X X X X X X
displayMessageInfo X X X X X X
staticTextMessageInfo X
inputInfo X X X X X X
launchBrowserInfo X X X X X X
selectInfo X X X X X X
sendSmsInfo X X X X X X
disableInfo X
setupCallInfo X X X X X X
webServiceInfo X X X X X
statisticsInfo X X X X
Parameter
parameterName X X
parameterSampleValue X X
StepType
Enumeration that defines a set of values valid for elements of StepType
Mandatory
Name Type (in Description Notes
POST/PUT)
A semicolon separated list with hours Range [0-23], ex: "1;5;21". The numbers must be in
(in 24-hour format) representing the chronological order. At least one hour must be left out.
pauseDelivery String No
time when no information is sent to Default value is specified in the system registry. Only
the phone. applicable for WOWONOV -channel.
Initial promotion info to be stored in Only applicable for WOWOFFOV -channels. (See
initialPromotionInfo InitialPromotionInfo Yes
PAD area. InitialPromotionInfo.)
priority String No The priority of the channel. log , medium or high values accepted.
For Advertisement attributes, see below. Valid data: At
least one advertisement. WOWCB -channels must have one
advertisements Advertisement[] Yes WOW channel advertisements.
(1) advertisement only. Other types of WOW channels may
contain up to four (4) advertisements.
Advertisement
Valid values:
LAUNCH_BROWSER and REMOTE_WIBLET - must
be a valid URL.
LOCAL_WIBLET - must be the id on a local wiblet.
Interpretation is depending on the A list of local wiblet identifiers can be fetched with
primaryActionMessage1 String Yes
value of primaryAction . the service GET /channels/wiblets .
SEND_USSD - must be a valid USSD.
SETUP_CALL - must be a valid MSISDN.
SEND_SM - a large account. Max 10 characters.
WOWOFFOV
WOWONOV
WOWMOV
WOWCB
Attribute
id X X X X
channelType X X X X
description X X X X
campaignId X X X X
createdDate X X X X
startDate X X X X
endDate X
targetGroupIds X X
powerOnEvent X X X
callDisconnectEvent X X X
idleScreenEvent X X X
showNever X
promotionType X
sendReport X
disableWhenNever X
sequenceId X X
initialPromotionInfo X
useUnicode X X X X
advertisements X X X X
Advertisements
primaryMessage X X X X
secondaryMessage X X X
primaryAction X X X X
primaryActionMessage1 X X X X
primaryActionMessage2 X X X X
secondaryAction X X X
secondaryActionMessage1 X X X
secondaryActionMessage2 X X X
confirmationType X X X X
condition1 X X X X
condition2 X X X X
condition3 X X X X
condition4 X X X X
condition5 X X X X
category X
Mandatory
Name Type (in Description Notes
POST/PUT)
createdDate String No Date and time channel was created. Valid format (ISO-8601): yyyy-MM-ddTHH:mm:ss[+|-]ZZZZ
startDate String Yes Date and time channel is starts. Valid format (ISO-8601): yyyy-MM-ddTHH:mm:ss[+|-]ZZZZ
Defines the number of retries that should be Max number if retries is 10. If omitted no retries will be
retries Integer No
performed for expired cards. performed.
A semicolon separated list with hours (in 24- Range [0-23], ex: "1;5;21". At least one hour must be left
pauseDelivery String No hour format) representing the time when no out. Default value is specified in the system registry. The
information is sent to the phone. numbers must be in chronological order.
targetGroupIds Integer[] Yes Ids on target groups connected to channel. Not applicable for WOWOFFOV and WOWMOV -channels.
isEnable Boolean No true if enabled, otherwise false . Only applicable for AEDC -channel.
AEDC
Attribute
id X X X
channelType X X X
description X X X
campaignId X X X
createdDate X X X
startDate X X X
endDate
targetGroupIds X X X
deliveryChannelType X X X
useUnicode X X X
messages X
isEnable X
InitialPromotionInfo
Represents initial promotion info for a WOWOFFOV -channel.
Mandatory (in
Name Type Description Notes
POST/PUT)
Wiblet return mode after local wiblet is Valid values: one of NEVER , WHEN_NO_ACTION or ALWAYS . If
returnMode String No
triggered. omitted then WHEN_NO_ACTION will be used.
customerCareMsisdn String Yes MSISDN to customer care. Valid characters for msisdn: "\+?\d{3,25}".
ChannelType
Enumeration that defines a set of values valid for elements of ChannelType
ACDM ADMIN_CHANGE_DEFAULT_MESSAGE
AEDC ADMIN_ENABLE_DISABLE_CHANNEL
ARDM ADMIN_RESTORE_DEFAULT_MESSAGE
CT CALL_TERMINATED
CTI CALL_TERMINATED_INTERACTIVE
CT_INSTALL CALL_TERMINATED_INSTALL
CTI_INSTALL CALL_TERMINATED_INTERACTIVE_INSTALLED
HS HOMESCREEN
CBHS CELLBROADCAST_HOMESCREEN
SMS SEND_SMS
SPN SERVICE_PROVIDER_NAME
ASW APPLICATION_SPECIFIC_WIBLET
WP WIB_PUSH
SP SAT_PUSH
PUSH PUSH_MESSAGE
IP INDIVIDUAL_PERSONALIZED
WOWOFFOV WOW_OFFLINE_OVERTURE
WOWONOV WOW_ONLINE_OVERTURE
WOWMOV WOW_MOVEMENT
WOWCB WOW_CELLBROADCAST
PI PUSH_INTERACTIVE
TI TRIGGER_INTERACTIVE
WPI WIB_PUSH_INTERACTIVE
STMI STATIC_TEXT_MESSAGE_INTERACTIVE
SPI SAT_PUSH_INTERACTIVE
PUSHI PERSONALIZED_PUSH_INTERACTIVE
IPI INDIVIDUAL_PERSONALIZED_INTERACTIVE
ChannelState
Enumeration that defines a set of values valid for elements of ChannelState
Symphonies
Attributes
Mandatory (in
Name Type Description Notes
POST/PUT)
externalId String No External reference to entity in other system. Max 256 characters. Valid characters: "a-z,A-Z,0-9,-,."
AdvertiserStatisticsReport
Attributes
Name Type Mandatory (in POST/PUT) Description Notes
Example:
{
"msisdn": value,
"advertiserId": value,
"campaignId": value,
filter Filter N/A Filter defined by caller.
"channelTypeId": value,
"startDate": value,
"endDate": value
}
advertiser AdvertiserStatisticsItem[] N/A Statistics collected for each advertiser. Refer to AdvertiserStatisticsItem
AdvertiserStatisticsItem
Represents the statistics collected for a specific advertiser.
Attributes
Mandatory (in
Name Type Description Notes
POST/PUT)
Date and time advertiser was added to Valid format (ISO-8601): yyyy-MM-
createdDate Date N/A
system. ddTHH:mm:ss[+|-]ZZZZ
CampaignItem
Represents the statistics collected for a specific campaign.
Attributes
Mandatory (in
Name Type Description Notes
POST/PUT)
Date and time campaign was added to Valid format (ISO-8601): yyyy-MM-
createdDate Date N/A
system. ddTHH:mm:ss[+|-]ZZZZ
ChannelItem
Represents the statistics collected for a specific channel.
Attributes
Mandatory (in
Name Type Description Notes
POST/PUT)
channelType String N/A Type of channel. For valid values refer to ChannelType
Reporting interval to create the impression If this value is 0, the impression report
statisticsReportingInterval Integer N/A
report. is not available
OnDemandStatistics
Represents the on demand statistics collected for a specific channel.
Attributes
Mandatory (in
Name Type Description Notes
POST/PUT)
Start date and time for which statistics are Valid format (ISO-8601): yyyy-MM-
startDate Date N/A
collected. ddTHH:mm:ss[+|-]ZZZZ
End date and time for which statistics are Valid format (ISO-8601): yyyy-MM-
endDate Date N/A
collected. ddTHH:mm:ss[+|-]ZZZZ
SubscriberStatistics
Represents the subscriber statistics collected for a specific channel.
Attributes
Name Type Mandatory (in POST/PUT) Description Notes