POST http://webapi.mymarketing.co.il/api/mailinglist
Create and return a new Mailing List.
Request Information
URI Parameters
Body Parameters
Name
Description
Type
Additional information
Name
                    Name of the Mailing List
                        string
                    
                    Request Formats
application/json, text/json
            Sample:
        
{
  "Name": "sample string 1"
}
        application/xml, text/xml
            Sample:
        <MailingListDTO xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Name>sample string 1</Name> </MailingListDTO>
application/x-www-form-urlencoded
            Sample:
    
Sample not available.
Response Information
Resource Description
Name
Description
Type
Additional information
Id
                    Id
                        integer
                    
                    Name
                    Name of the Mailing List
                        string
                    
                    Response Formats
application/json, text/json
            Sample:
        
{
  "Id": 1,
  "Name": "sample string 2"
}
        application/xml, text/xml
            Sample:
<MailingListInfoDTO xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Id>1</Id> <Name>sample string 2</Name> </MailingListInfoDTO>