For more information on using API

POST https://webapi.mymarketing.co.il/api/mailinglist

Create and return a new Mailing List.

Request Information

URI Parameters

Body Parameters

MailingListDTO

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:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ActiveTrail.RESTfulApi.Models">
  <Name>sample string 1</Name>
</MailingListDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

MailingListInfoDTO

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:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ActiveTrail.RESTfulApi.Models">
  <Id>1</Id>
  <Name>sample string 2</Name>
</MailingListInfoDTO>