Variable | Type | Description |
---|---|---|
segment_id | int|string | The ID of the segment for which to add the subscriber |
subscriber_id | int|string | The ID of the subscriber to be added |
Parameter | Description |
---|---|
boolean | True if the addition has succeeded, False otherwise |
true
Code | Message | Description |
---|---|---|
407 | Missing required param segment_id | segment_id param is required |
407 | Missing required param subscriber_id | subscriber_id param is required |
141 | No such segment with ID: %s. | Invalid access to segment_id |
141 | Segment %s has been deleted. | Segment has been deleted |
129 | Not allowed for subscriber with ID: %s | Invalid access to subscriber |
144 | Cannot add subscriber to this segment | Cannot add subscriber to this segment |
125 | Subscriber and segment do not match | Subscriber and segment are not in the same list |
129 | Not allowed for subscriber with ID: %s | Access nepermis la abonat |
{ "err": true, "message": "Missing required param segment_id", "code": 407 }
{ "err": true, "message": "Missing required param subscriber_id", "code": 407 }
{ "err": true, "message": "Not allowed for subscriber with ID: 999999", "code": 129 }
{ "err": true, "message": "Subscriber and segment do not match", "code": 144 }