ListIntegration.AddURL

Description

Adds a web service url for list subscription or unsubscription events.

Request Parameters

APIKey = {string} (required)
The API key you are using to authenticate the access.
Command = {ListIntegration.AddURL} (required)
API Command
ResponseFormat = {JSON | XML} (required)
Response format
JSONPCallBack = {bool}
Send this parameter for cross-domain. More info about JSONP can be found here: http: //en.wikipedia.org/wiki/JSON#JSONP
SubscriberListID = {integer} (required)
ID of subscriber list
Event = {subscription | unsubscription} (required)
Event of the integration
URL = {string} (required)
URL of the web service

Response Parameters

Success = {true | false}
States if there is an error or not
ErrorCode = {integer}
If there is an error, error's code
WebServiceIntegrationID = {integer}
ID of new web service integration url

Error Codes

1
Subscriber list id is missing
2
URL is missing
3
Event type is missing
4
Invalid subscriber list id
99998
Authentication failure or session expired
99999
Not enough privileges
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

ListIntegration.GetURLs

Description Retrieves web service integration URLs of a subscriber list. Request Parameters...

ListIntegration.TestURL

Description Tests an URL. Request Parameters APIKey = {string} (required) The API key you are...

ListIntegration.DeleteURLs

Description Deletes given web service urls. Request Parameters APIKey = {string} (required)...

ListIntegration.GenerateSubscriptionFormHTMLCode

Description Generates subscription form html code. Request Parameters APIKey = {string}...

ListIntegration.GenerateUnsubscriptionFormHTMLCode

Description Generates unsubscription form html code. Request Parameters APIKey = {string}...