Inhaltsverzeichnis dieser Seite

Funktion

Der Auftragstyp DomainMonitoringList ermittelt die Daten des Domain-Monitorings.

Weitere Informationen zum Thema Listenabfragen findest du hier.

Beschreibung

Route: /monitoring/domain/_search

Query-Parameter

Die Daten folgender Keywords können mit dem Query-Parameter{{ ?keys[]=}} abgefragt werden:

  • cancelation
  • created
  • idn
  • name
  • notificationEmails
  • notificationMobiles
  • ocval
  • owner
  • removed
  • updated
Request
{
    "filters" : [
           {
            "key" : "name",
            "value" : "example*",
            "operator" : "LIKE"
           }
    ],
    "orders" : [
        {
            "key" : "name",
            "mode" : "ASC"
        }
    ]
}
Response
{
    "status": {
        "code": "S0155",
        "text": "S0155",
        "type": "SUCCESS"
    },
    "object": {
        "type": "DomainMonitoring",
        "summary": 1
    },
    "data": [
        {
            "created": "2019-05-19T16:16:18.000+0200",
            "updated": "2019-05-19T12:16:18.000+0200",
            "owner": {
                "context": 4,
                "user": "user1"
            },
            "name": "example.com",
            "notificationMobiles": ["+49-111-22222", "+49-222-33333"],
            "ocval": true,
            "cancelation": true,
            "removed": false,
            "notificationEmails": ["example@yahoo.com", "example@gmx.de"]
        },
        {
            "created": "2017-05-12T14:33:41.000+0200",
            "updated": "2017-05-19T16:01:19.000+0200",
            "owner": {
                "context": 4,
                "user": "user1"
            },
            "name": "example.org",
            "notificationMobiles": ["+49-111-22222", "+49-222-33333"],
            "ocval": true,
            "cancelation": true,
            "removed": false,
            "notificationEmails": ["example2@yahoo.com", "example3@yahoo.com"]
        }
    ]
}

Auftragstyp-Code: 0155
Verwendet Objekt Domain

Keywords

Folgende Keywords werden standardmäßig zurückgegeben:

  • cancelation
  • created
  • idn
  • name
  • notification_email
  • notification_mobile
  • ocval
  • owner
  • removed
  • updated

Die Daten folgender Keywords können mit dem Keyword <key> abgefragt werden:

  • monitoring_setup
Request
<request>
    <auth>
        <user>customer</user>
        <password>password</password>
        <context>4</context>
    </auth>
    <task>
        <code>0155</code>
        <view>
            <children>1</children>
            <offset>0</offset>
            <limit>1</limit>
        </view>
        <where>
            <and>
                <or>
                    <key>name</key>
                    <operator>like</operator>
                    <value>example.com</value>
                </or>
                <or>
                    <key>name</key>
                    <operator>eq</operator>
                    <value>example.de</value>
                </or>
            </and>
        </where>
        <order>
            <key>name</key>
            <mode>asc</mode>
        </order>
        <key>ocval</key>
        <key>created</key>
        <key>owner</key>
    </task>
</request>
Response
<response>
    <result>
        <data>
            <domain_monitoring>
                <name>example.com</name>
                <notification_email>example@yahoo.com</notification_email>
                <notification_email>example@gmx.de</notification_email>
                <notification_mobile>+49-111-22222</notification_mobile>
                <notification_mobile>+49-222-33333</notification_mobile>
                <ocval>1</ocval>
                <cancelation>1</cancelation>
                <removed>0</removed>
                <owner>
                    <user>customer/user>
                    <context>4</context>
                </owner>
                <created>2017-05-19 16:12:18</created>
                <updated>2017-05-19 16:12:18</updated>
            </domain_monitoring>
            <domain_monitoring>
                <name>example.org</name>
                <notification_email>example2@yahoo.de</notification_email>
                <notification_email>example3@yahoo.com</notification_email>
                <notification_mobile>+49-111-33333</notification_mobile>
                <notification_mobile>+49-111-22222</notification_mobile>
                <ocval>1</ocval>
                <cancelation>1</cancelation>
                <removed>0</removed>
                <owner>
                    <user>customer</user>
                    <context>4</context>
                </owner>
                <created>2017-05-12 14:33:41</created>
                <updated>2017-05-19 16:01:19</updated>
            </domain_monitoring>
        </data>
        <status>
            <code>S0155</code>
            <type>success</type>
        </status>
    </result>
</response>