API

Découvrez comment utiliser les API pour intégrer Mail Marketing à vos systèmes.

WS_Postatomic

Les WebServices permettent la création d'une newsletter, l'enregistrement et la suppression des utilisateurs, et la visualisation de l'état actuel du compte (limits, etc.) 

getSender

Name: getSender
Binding: WS_PostatomicBinding
Endpoint: http://www.postatomic.org/ws/index.php
SoapAction: urn:getSender#getSender
Style: rpc
Input:
  use: encoded
  namespace: urn:getSender
  encodingStyle: http://schemas.xmlsoap.org/soap/encoding/
  message: getSenderRequest
  parts:
    email: xsd:string
    api_key: xsd:string
Output:
  use: encoded
  namespace: urn:getSender
  encodingStyle: http://schemas.xmlsoap.org/soap/encoding/
  message: getSenderResponse
  parts:
    return: tns:getSenderResponse
Namespace: urn:getSender
Transport: http://schemas.xmlsoap.org/soap/http
Documentation:

getContacts

Name: getContacts
Binding: WS_PostatomicBinding
Endpoint: http://www.postatomic.org/ws/index.php
SoapAction: urn:getContacts#getContacts
Style: rpc
Input:
  use: encoded
  namespace: urn:getContacts
  encodingStyle: http://schemas.xmlsoap.org/soap/encoding/
  message: getContactsRequest
  parts:
    email: xsd:string
    api_key: xsd:string
    rubrica: xsd:string
Output:
  use: encoded
  namespace: urn:getContacts
  encodingStyle: http://schemas.xmlsoap.org/soap/encoding/
  message: getContactsResponse
  parts:
    return: tns:getContactsResponse
Namespace: urn:getContacts
Transport: http://schemas.xmlsoap.org/soap/http
Documentation:

setContact

Name: setContact
Binding: WS_PostatomicBinding
Endpoint: http://www.postatomic.org/ws/index.php
SoapAction: urn:setContacts#setContacts
Style: rpc
Input:
  use: encoded
  namespace: urn:setContacts
  encodingStyle: http://schemas.xmlsoap.org/soap/encoding/
  message: setContactRequest
  parts:
    email: xsd:string
    api_key: xsd:string
    emailuser: xsd:string
    name: xsd:string
    number: xsd:string
    gender: xsd:string
    birth_date: xsd:string
    address: xsd:string
    zip: xsd:string
    city: xsd:string
    zone: xsd:string
    state: xsd:string
    tel: xsd:string
    fax: xsd:string
    phonebooks: xsd:string
Output:
  use: encoded
  namespace: urn:setContacts
  encodingStyle: http://schemas.xmlsoap.org/soap/encoding/
  message: setContactResponse
  parts:
    return: tns:setContactsResponse
Namespace: urn:setContacts
Transport: http://schemas.xmlsoap.org/soap/http
Documentation:

setContactComplete

Name: setContactComplete
Binding: WS_PostatomicBinding
Endpoint: http://www.postatomic.org/ws/index.php
SoapAction: urn:setContacts#setContacts
Style: rpc
Input:
  use: encoded
  namespace: urn:setContacts
  encodingStyle: http://schemas.xmlsoap.org/soap/encoding/
  message: setContactCompleteRequest
  parts:
    email: xsd:string
    api_key: xsd:string
    emailuser: xsd:string
    name: xsd:string
    surname: xsd:string
    nickname: xsd:string
    number: xsd:string
    gender: xsd:string
    birth_date: xsd:string
    address: xsd:string
    zip: xsd:string
    city: xsd:string
    zone: xsd:string
    state: xsd:string
    tel: xsd:string
    fax: xsd:string
    phonebooks: xsd:string
Output:
  use: encoded
  namespace: urn:setContacts
  encodingStyle: http://schemas.xmlsoap.org/soap/encoding/
  message: setContactCompleteResponse
  parts:
    return: tns:setContactsResponse
Namespace: urn:setContacts
Transport: http://schemas.xmlsoap.org/soap/http
Documentation:

removeContact

Name: removeContact
Binding: WS_PostatomicBinding
Endpoint: http://www.postatomic.org/ws/index.php
SoapAction: urn:removeContact#removeContact
Style: rpc
Input:
  use: encoded
  namespace: urn:removeContact
  encodingStyle: http://schemas.xmlsoap.org/soap/encoding/
  message: removeContactRequest
  parts:
    email: xsd:string
    api_key: xsd:string
    emailuser: xsd:string
    phonebooks: xsd:string
Output:
  use: encoded
  namespace: urn:removeContact
  encodingStyle: http://schemas.xmlsoap.org/soap/encoding/
  message: removeContactResponse
  parts:
    return: tns:removeContactResponse
Namespace: urn:removeContact
Transport: http://schemas.xmlsoap.org/soap/http
Documentation:

getPhonebooks

Name: getPhonebooks
Binding: WS_PostatomicBinding
Endpoint: http://www.postatomic.org/ws/index.php
SoapAction: urn:getPhonebooks#getPhonebooks
Style: rpc
Input:
  use: encoded
  namespace: urn:getPhonebooks
  encodingStyle: http://schemas.xmlsoap.org/soap/encoding/
  message: getPhonebooksRequest
  parts:
    email: xsd:string
    api_key: xsd:string
Output:
  use: encoded
  namespace: urn:getPhonebooks
  encodingStyle: http://schemas.xmlsoap.org/soap/encoding/
  message: getPhonebooksResponse
  parts:
    return: tns:getPhonebooksResponse
Namespace: urn:getPhonebooks
Transport: http://schemas.xmlsoap.org/soap/http
Documentation:

setPhonebooks

Name: setPhonebooks
Binding: WS_PostatomicBinding
Endpoint: http://www.postatomic.org/ws/index.php
SoapAction: urn:setPhonebooks#setPhonebooks
Style: rpc
Input:
  use: encoded
  namespace: urn:setPhonebooks
  encodingStyle: http://schemas.xmlsoap.org/soap/encoding/
  message: setPhonebooksRequest
  parts:
    email: xsd:string
    api_key: xsd:string
    name: xsd:string
    description: xsd:string
Output:
  use: encoded
  namespace: urn:setPhonebooks
  encodingStyle: http://schemas.xmlsoap.org/soap/encoding/
  message: setPhonebooksResponse
  parts:
    return: tns:setPhonebooksResponse
Namespace: urn:setPhonebooks
Transport: http://schemas.xmlsoap.org/soap/http
Documentation:

sendNewsletter

Name: setPhonebooks
Binding: WS_PostatomicBinding
Endpoint: http://www.postatomic.org/ws/index.php
SoapAction: urn:setPhonebooks#setPhonebooks
Style: rpc
Input:
  use: encoded
  namespace: urn:setPhonebooks
  encodingStyle: http://schemas.xmlsoap.org/soap/encoding/
  message: setPhonebooksRequest
  parts:
    email: xsd:string
    api_key: xsd:string
    name: xsd:string
    description: xsd:string
Output:
  use: encoded
  namespace: urn:setPhonebooks
  encodingStyle: http://schemas.xmlsoap.org/soap/encoding/
  message: setPhonebooksResponse
  parts:
    return: tns:setPhonebooksResponse
Namespace: urn:setPhonebooks
Transport: http://schemas.xmlsoap.org/soap/http
Documentation:

sendNewsletterPreview

Name: sendNewsletterPreview
Binding: WS_PostatomicBinding
Endpoint: http://www.postatomic.org/ws/index.php
SoapAction: urn:sendNewsletterPreview#sendNewsletterPreview
Style: rpc
Input:
  use: encoded
  namespace: urn:sendNewsletterPreview
  encodingStyle: http://schemas.xmlsoap.org/soap/encoding/
  message: sendNewsletterPreviewRequest
  parts:
    email: xsd:string
    api_key: xsd:string
    sender: xsd:string
    subject: xsd:string
    body: xsd:string
    recipient: xsd:string
    show_logo: xsd:boolean
    show_unsubscribe: xsd:boolean
Output:
  use: encoded
  namespace: urn:sendNewsletterPreview
  encodingStyle: http://schemas.xmlsoap.org/soap/encoding/
  message: sendNewsletterPreviewResponse
  parts:
    return: tns:sendNewsletterPreviewResponse
Namespace: urn:sendNewsletterPreview
Transport: http://schemas.xmlsoap.org/soap/http
Documentation:

getNewsletter

Name: getNewsletter
Binding: WS_PostatomicBinding
Endpoint: http://www.postatomic.org/ws/index.php
SoapAction: urn:getNewsletter#getNewsletter
Style: rpc
Input:
  use: encoded
  namespace: urn:getNewsletter
  encodingStyle: http://schemas.xmlsoap.org/soap/encoding/
  message: getNewsletterRequest
  parts:
    email: xsd:string
    api_key: xsd:string
    id_newsletter: xsd:string
Output:
  use: encoded
  namespace: urn:getNewsletter
  encodingStyle: http://schemas.xmlsoap.org/soap/encoding/
  message: getNewsletterResponse
  parts:
    return: tns:getNewsletterResponse
Namespace: urn:getNewsletter
Transport: http://schemas.xmlsoap.org/soap/http
Documentation:

getUserStatus

Name: getUserStatus
Binding: WS_PostatomicBinding
Endpoint: http://www.postatomic.org/ws/index.php
SoapAction: urn:getUserStatus#getUserStatus
Style: rpc
Input:
  use: encoded
  namespace: urn:getUserStatus
  encodingStyle: http://schemas.xmlsoap.org/soap/encoding/
  message: getUserStatusRequest
  parts:
    email: xsd:string
    api_key: xsd:string
Output:
  use: encoded
  namespace: urn:getUserStatus
  encodingStyle: http://schemas.xmlsoap.org/soap/encoding/
  message: getUserStatusResponse
  parts:
    return: tns:getUserStatusResponse
Namespace: urn:getUserStatus
Transport: http://schemas.xmlsoap.org/soap/http
Documentation:

Verbes

L'API utilise des verbes paisibles.

Verbe Description
GET Sélectionner un or plusieurs items. Success returns 200 status code.
POST Créer un nouveau item. Success returns 200 status code.
PUT Mettre à jour un item. Success returns 200 status code.
DELETE Supprimer un item. Success returns 200 status code.

Inscrivez-vous à notre Newsletter

Inscrivez-vous à notre newsletter, vous allez recevoir des offres spéciales, des propositions personnalisées, des trucs mis à jour et des nouvelles.