API

Descubra como usar a API para integrar o Email Marketing aos seus sistemas.

WS_Postatomic

Os WebServices permitem a criação de uma newsletter, assinando e cancelando usuários, e vendo o status atual da conta (limites, 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:

Verbs

A API usa verbos restful.
Verbo
Descrição
GET Select one or more items. Success returns 200 status code.
POST Create a new item. Success returns 200 status code.
PUT Update an item. Success returns 200 status code.
DELETE Delete an item. Success returns 200 status code.

Assine a nossa newsletter

Inscreva-se na newsletter para receber ofertas exclusivas, recomendações pessoais, dicas atualizadas e novidades.