Mailing list commands

Mailing list commands

GetMailingLists

Get a collection of all mailing lists created in Microbizz.

Input

None

-

-

Output

maillists

collection[maillist]

A collection of the mail lists

GetReceivers

Get all receivers on a given mailing list

Input

maillistid

number

ID of the mail list

Output

receivers

collection[mailreceiver]

The receivers on the list

LinkToMailingList

Add an existing customer or person to a mailing list.

Input

maillistid

number

ID of the mail list

customerid

number

ID of the customer

personid

number

ID of the person. If this is provided customerid is ignored and can be left blank.

Output

None

-

-

RemoveFromMailingList

Remove an existing customer or person from a mailing list.

Input

maillistid

number

ID of the mail list

customerid

number

ID of the customer

personid

number

ID of the person. If this is provided customerid is ignored and can be left blank.

Output

None

-

-