- Start
- API-Referenz
- API-Dokumentation (XML/ JSON)
- Auftragstypen
- MailProxy-Auftragstypen
MailProxy List
Funktion
Der Auftragstyp MailproxyList zeigt die MailProxy-Daten mehrerer Domains an.
Weitere Informationen zum Thema Listenabfragen findest du hier.
Beschreibung
Route: POST /mailProxy/_search
Query-Parameter
Die Daten folgender Keywords können mit dem Query-Parameter ?keys[]= abgefragt werden:
- admin
- created
- protection
- target
- updated
{
}{
"stid": "20190919-stid",
"status": {
"code": "S0514",
"text": "MailProxy-Daten wurden erfolgreich ermittelt.",
"type": "SUCCESS"
},
"object": {
"type": "MailProxy",
"summary": 1
},
"data": [
{
"domain": "example.com",
"created": "2019-09-19T12:40:02.000+0200",
"target": "example1.com",
"admin": "customer@example.com",
"protection": "CUSTOM"
}
]
}
Auftragstyp-Code: 0514
Verwendet Objekt MailProxy
Folgende Keywords werden standardmäßig zurückgegeben
admin
created
domain
protection
target
Die Daten folgender Keywords können mit dem Keyword <key> abgefragt werden:
- greylisting
- owner
- updater
- updated
<request>
<auth>
<user>customer</user>
<password>password</password>
<context>104</context>
</auth>
<!--
<owner>
<user>subuser</user>
<context>104</context>
</owner>
-->
<task>
<code>0514</code>
<view>
<limit>2</limit>
<children>1</children>
</view>
<where>
<key>domain</key>
<operator>like</operator>
<value>ex*</value>
</where>
<reply_to>customer@example.com</reply_to>
<ctid>customer-transaction-id</ctid>
</task>
</request><response>
<result>
<data>
<summary>3</summary>
<mail_proxy>
<admin>customer@example123.de</admin>
<protection>CUSTOM</protection>
<domain>example123.de</domain>
<created>2011-12-01 11:17:09</created>
</mail_proxy>
<mail_proxy>
<admin>customer@example456.de</admin>
<protection>MEDIUM</protection>
<domain>example456.de</domain>
<created>2015-11-04 11:27:55</created>
</mail_proxy>
<mail_proxy>
<admin>customer@example789.de</admin>
<protection>CUSTOM</protection>
<domain>example789.de</domain>
<created>2015-12-03 14:53:55</created>
</mail_proxy>
</data>
<status>
<code>S0514</code>
<text>MailProxy-Daten wurden erfolgreich ermittelt.</text>
<type>success</type>
</status>
</result>
<ctid>1S2W3F</ctid>
<stid>20160412-stid</stid>
</response>