Segment.Update

Description

Updates Segment.

Request Parameters

APIKey = {string} (required)
The API key you are using to authenticate the access.
Command = {Segment.Update} (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
SegmentID = {integer} (required)
Subscriber list ID to create segment under
SegmentName = {string} (required)
Name of the new segment
SegmentOperator = {AND | OR} (required)
Match all or any rules

Response Parameters

Success = {true | false}
States if there is an error or not
ErrorCode = {integer}
If there is an error, error's code
ErrorText = {text}

Error Codes

1
Missing segment id
2
Missing segment name
3
Missing segment operator
4
Invalid segment id
5
Invalid segment operator
99998
Authentication failure or session expired
99999
Not enough privileges
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Segment.Create

Description Create a new segment under a subscriber list Request Parameters APIKey = {string}...

Segment.Get

Description Retrieves segments of a subscriber list. Request Parameters APIKey = {string}...

Segments.Delete

Description Deletes given segments. Request Parameters APIKey = {string} (required) The API...

Segments.Copy

Description Copies segments from a selected subscriber list. Request Parameters APIKey =...