应用程序接口(API)

探索如何运用 API 将 Mail Marketing 与您的系统整合在一起。

WS_Postatomic

网络服务可以创建资讯,订阅以及取消用户,还能查看账户当前状态(如限制等)

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

The API uses restful verbs.

Verb Description
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.

订阅我们的资讯

订阅资讯,您将收到特别优惠、个性化推荐、最新小贴士和新闻。