Os WebServices permitem a criação de uma newsletter, assinando e cancelando usuários, e vendo o status atual da conta (limites, etc.)
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:
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:
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:
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:
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:
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:
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:
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:
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:
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:
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:
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. |
Inscreva-se na newsletter para receber ofertas exclusivas, recomendações pessoais, dicas atualizadas e novidades.