<?xml version="1.0"?>
<methodCall>
<methodName>samurai.ItemizedEntriesGet</methodName>
<params>
<param>
<value><struct>
<member><name>PeriodStart</name>
<value><dateTime.iso8601>20160802T13:59:48</dateTime.iso8601></value>
</member>
<member><name>PeriodEnd</name>
<value><dateTime.iso8601>20160804T13:59:48</dateTime.iso8601></value>
</member>
</struct></value>
</param>
</params>
</methodCall>
Hallo Herr Lange-Hegermann,
das Problem besteht weiterhin.
Ich hab den Aufruf aus dem PHP in eine Kommandozeilenanwendung konvertiert, damit sie eine Testgrundlage haben.
Im Anhang die XML-Datei.
Mein Test-Shellskript ist denkbar kurz:
#!/bin/bash
curl -X POST -d @xml-text.xml "https://BENUTZER:PASS...@samurai.sipgate.net/RPC2"
Mit freundlichen Grüßen
Stefan Hoffmann
Von: sipga...@googlegroups.com [mailto:sipga...@googlegroups.com]
Im Auftrag von Stefan Lange-Hegermann
Gesendet: Donnerstag, 4. August 2016 16:46
An: sipgate API <sipga...@googlegroups.com>
Betreff: [sipgate API] Re: Seit einigen Tagen ist kein Abruf mehr per samurai.ItemizedEntriesGet möglich (03/Aug/2016:04:55:02) BAD REQUEST ?
Hallo Herr Hoffmann,
gestern kam es Aufgrund von technischen Problemen in unserem Backend zu einer kurzzeitigen Deaktivierung der API. Besteht das Problem noch immer oder läuft Ihr Test inzwischen wieder?
Gruß,
Stefan Lange-Hegermann
Am Donnerstag, 4. August 2016 14:32:07 UTC+2 schrieb stefan....@mahr-edv.de:
Hallo zusammen,
wir haben seit längerem einen Account im Einsatz, über den wir u.a. SMS versenden.
Wir testen diese Schnittstelle alle 4 Stunden über den Versand einer SMS an ein Testtelefon und mit 9 Stunden "Fehlertoleranz". Am 03.08. um 04:55 ist unser Test das erste mal angeschlagen und
seit dem liefert unser diesen Fehler:
--
You received this message because you are subscribed to a topic in the Google Groups "sipgate API" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/sipgate-api/r-rEVU15eUI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
sipgate-api...@googlegroups.com.
To post to this group, send email to
sipga...@googlegroups.com.
Visit this group at https://groups.google.com/group/sipgate-api.
For more options, visit https://groups.google.com/d/optout.
Hallo Herr Lange-Hegermann,
das Problem besteht weiterhin.
Ich hab den Aufruf aus dem PHP in eine Kommandozeilenanwendung konvertiert, damit sie eine Testgrundlage haben.
Im Anhang die XML-Datei.
Mein Test-Shellskript ist denkbar kurz:
#!/bin/bash
curl -X POST -d @xml-text.xml "https://BENUTZER:PASSWORT@samurai.sipgate.net/RPC2"
To unsubscribe from this group and all its topics, send an email to sipgate-api+unsubscribe@googlegroups.com.
To post to this group, send email to sipga...@googlegroups.com.
Visit this group at https://groups.google.com/group/sipgate-api.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "sipgate API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sipgate-api+unsubscribe@googlegroups.com.
To post to this group, send email to sipga...@googlegroups.com.
Visit this group at https://groups.google.com/group/sipgate-api.
For more options, visit https://groups.google.com/d/optout.
Hallo zusammen,
ich hab in meinem kommandozeilenbasierten Test die vorgeschlagene Anpassung durchgeführt. Leider führt das immer noch zu einer Fehlermeldung.
Ich hab die gleiche Anpassung in dem eigentlichen PHP durchgeführt, für den Fall, dass es ein Konversionsproblem von mir ist.
Aber auch die PHP Version wirft mit Modifikation weiterhin ein Problem.
Also gehe ich davon aus, dass es noch etwas gibt, dass ich beachten muss.
Meine Nachricht an den Service sieht jetzt so aus:
<?xml version="1.0"?>
<methodCall>
<methodName>samurai.ItemizedEntriesGet</methodName>
<params>
<param>
<value><struct>
<member><name>PeriodStart</name>
<value><dateTime.iso8601>2016-08-08T12:00:26</dateTime.iso8601></value>
</member>
<member><name>PeriodEnd</name>
<value><dateTime.iso8601>2016-08-08T12:00:26</dateTime.iso8601></value>
</member>
</struct></value>
</param>
</params>
</methodCall>
Was habe ich falsch verstanden? Vielleicht sollte ich nicht iso8601 angeben?
Beste Grüße,
Stefan Hoffmann
Von: sipga...@googlegroups.com [mailto:sipga...@googlegroups.com]
Im Auftrag von Kai de Haan
Gesendet: Donnerstag, 4. August 2016 18:30
An: sipga...@googlegroups.com
Betreff: Re: [sipgate API] Re: Seit einigen Tagen ist kein Abruf mehr per samurai.ItemizedEntriesGet möglich (03/Aug/2016:04:55:02) BAD REQUEST ?
Hallo,
da gibt es tatsächlich ein Fehler auf unserer Seite.
Als Workaround können Sie vorerst das Datum mit Bindestrichen übergeben. zB 2016-08-02T13:59:48
Mit freundlichen Grüßen
Am 4. August 2016 um 17:00 schrieb Stefan Hoffmann <Stefan....@mahr-edv.de>:
Hallo Herr Lange-Hegermann,
das Problem besteht weiterhin.
Ich hab den Aufruf aus dem PHP in eine Kommandozeilenanwendung konvertiert, damit sie eine Testgrundlage haben.
Im Anhang die XML-Datei.
Mein Test-Shellskript ist denkbar kurz:
#!/bin/bash
curl -X POST -d @xml-text.xml "https://BENUTZER:PASS...@samurai.sipgate.net/RPC2"
To unsubscribe from this group and all its topics, send an email to sipgate-api...@googlegroups.com.
To post to this group, send email to sipga...@googlegroups.com.
Visit this group at https://groups.google.com/group/sipgate-api.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "sipgate API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sipgate-api...@googlegroups.com.
To post to this group, send email to sipga...@googlegroups.com.
Visit this group at https://groups.google.com/group/sipgate-api.
For more options, visit https://groups.google.com/d/optout.
--
Kai de Haan -
deh...@sipgate.de
Telefon: +49 (0)211-63 55 55-72
Telefax: +49 (0)211-63 55 55-22
sipgate GmbH - Gladbacher Str. 74 - 40219 Düsseldorf
HRB Düsseldorf 39841 - Geschäftsführer: Thilo Salmon, Tim Mois
Steuernummer: 106/5724/7147, Umsatzsteuer-ID: DE219349391
--
You received this message because you are subscribed to a topic in the Google Groups "sipgate API" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/sipgate-api/r-rEVU15eUI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sipgate-api...@googlegroups.com.
curl -X POST -d @xml-text.xml "https://BENUTZER:PASSWORT@samurai.sipgate.net/RPC2"
To unsubscribe from this group and all its topics, send an email to sipgate-api+unsubscribe@googlegroups.com.
To post to this group, send email to sipga...@googlegroups.com.
Visit this group at https://groups.google.com/group/sipgate-api.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "sipgate API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sipgate-api+unsubscribe@googlegroups.com.
To post to this group, send email to sipga...@googlegroups.com.
Visit this group at https://groups.google.com/group/sipgate-api.
For more options, visit https://groups.google.com/d/optout.
--
Kai de Haan - deh...@sipgate.de
Telefon: +49 (0)211-63 55 55-72
Telefax: +49 (0)211-63 55 55-22
sipgate GmbH - Gladbacher Str. 74 - 40219 Düsseldorf
HRB Düsseldorf 39841 - Geschäftsführer: Thilo Salmon, Tim Mois
Steuernummer: 106/5724/7147, Umsatzsteuer-ID: DE219349391
--
You received this message because you are subscribed to a topic in the Google Groups "sipgate API" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sipgate-api/r-rEVU15eUI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sipgate-api+unsubscribe@googlegroups.com.
To post to this group, send email to sipga...@googlegroups.com.
Visit this group at https://groups.google.com/group/sipgate-api.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "sipgate API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sipgate-api+unsubscribe@googlegroups.com.
To post to this group, send email to sipga...@googlegroups.com.
Visit this group at https://groups.google.com/group/sipgate-api.
For more options, visit https://groups.google.com/d/optout.
Hallo Herr Kai de Haan,
mh, das ist definitiv ein Fehler auf meiner Seite.
Und schwupps ist die Methodenantwort ein Erfolg.
Herzlichen Dank, Sie haben mir sehr geholfen!
Ich wünsche Ihnen eine fantastische Woche,
Beste Grüße,
Stefan Hoffmann
Von: sipga...@googlegroups.com [mailto:sipga...@googlegroups.com]
Im Auftrag von Kai de Haan
Gesendet: Montag, 8. August 2016 12:16
An: sipga...@googlegroups.com
Betreff: Re: [sipgate API] Re: Seit einigen Tagen ist kein Abruf mehr per samurai.ItemizedEntriesGet möglich (03/Aug/2016:04:55:02) BAD REQUEST ?
Guten Tag,
curl -X POST -d @xml-text.xml "https://BENUTZER:PASS...@samurai.sipgate.net/RPC2"
.
To unsubscribe from this group and all its topics, send an email to sipgate-api...@googlegroups.com.
To post to this group, send email to sipga...@googlegroups.com.
Visit this group at https://groups.google.com/group/sipgate-api.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "sipgate API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sipgate-api...@googlegroups.com.
To post to this group, send email to sipga...@googlegroups.com.
Visit this group at https://groups.google.com/group/sipgate-api.
For more options, visit https://groups.google.com/d/optout.
--
Kai de Haan - deh...@sipgate.de
Telefon: +49 (0)211-63 55 55-72
Telefax: +49 (0)211-63 55 55-22
sipgate GmbH - Gladbacher Str. 74 - 40219 Düsseldorf
HRB Düsseldorf 39841 - Geschäftsführer: Thilo Salmon, Tim Mois
Steuernummer: 106/5724/7147, Umsatzsteuer-ID: DE219349391
--
You received this message because you are subscribed to a topic in the Google Groups "sipgate API" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sipgate-api/r-rEVU15eUI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sipgate-api...@googlegroups.com.
To post to this group, send email to sipga...@googlegroups.com.
Visit this group at https://groups.google.com/group/sipgate-api.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "sipgate API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sipgate-api...@googlegroups.com.
To post to this group, send email to sipga...@googlegroups.com.
Visit this group at https://groups.google.com/group/sipgate-api.
For more options, visit https://groups.google.com/d/optout.
--
Kai de Haan -
deh...@sipgate.de
Telefon: +49 (0)211-63 55 55-72
Telefax: +49 (0)211-63 55 55-22
sipgate GmbH - Gladbacher Str. 74 - 40219 Düsseldorf
HRB Düsseldorf 39841 - Geschäftsführer: Thilo Salmon, Tim Mois
Steuernummer: 106/5724/7147, Umsatzsteuer-ID: DE219349391
--
You received this message because you are subscribed to a topic in the Google Groups "sipgate API" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/sipgate-api/r-rEVU15eUI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sipgate-api...@googlegroups.com.
Hallo Herr Kai de Haan,
vielen Dank für die Hilfe bisher.
Anscheinend habe ich doch noch eine Herausforderung.
<?xml version="1.0"?>
<methodResponse>
<params>
<param><value><struct>
<member><name>PeriodEnd</name><value><string>2016-08-08T11:31:26+0200</string></value></member>
<member><name>StatusCode</name><value><i4>200</i4></value></member>
<member><name>ItemizedEntries</name><value><array><data>
</data></array></value>
</member>
<member><name>PeriodStart</name><value><string>2016-08-06T11:31:26+0200</string></value></member>
<member><name>StatusString</name><value><string>Method success.</string></value></member>
</struct></value>
</param>
</params>
</methodResponse>
Anscheinend verstehen sich unsere Anwendungen jetzt prächtig, mit einer kleinen Herausforderung. Und zwar hätte ich erwartet, dass ich Werte zurückerhalte.
Wenn wir innerhalb eines bestimmten Zeitraums keinen Vermerk erhalten, dann versendet unsere Prüfung eine SMS. Was klappt.
Trotzdem erhalte ich auf die Anfrage oben ein leeres Array ItemizedEntries.
xmlrpcresp Object ( [val] => xmlrpcval Object ( [me] => Array ( [struct] => Array ( [PeriodEnd] => xmlrpcval Object ( [me] => Array ( [string] => 2016-08-08T11:37:58+0200 )
[mytype] => 1 [_php_class] => )
[StatusCode] => xmlrpcval Object ( [me] => Array ( [i4] => 200 )
[mytype] => 1 [_php_class] => )
[ItemizedEntries] => xmlrpcval Object ( [me] => Array ( [array] => Array ( )
)
[mytype] => 2 [_php_class] => )
[PeriodStart] => xmlrpcval Object ( [me] => Array ( [string] => 2016-08-06T11:37:58+0200 )
[mytype] => 1 [_php_class] => )
[StatusString] => xmlrpcval Object ( [me] => Array ( [string] => Method success. )
[mytype] => 1 [_php_class] => )
)
)
[mytype] => 3 [_php_class] => )
[valtyp] => xmlrpcvals [errno] => 0 [errstr] => [payload] => [hdrs] => Array ( [date] => Mon, 08 Aug 2016 11:37:58 GMT [server] => Apache/2.2.9 (Debian) mod_perl/2.0.4 Perl/v5.10.0 [vary] => Accept-Encoding [content-encoding] => gzip [content-length] => 247 [content-type] => text/xml; charset=utf-8 )
[_cookies] => Array ( )
[content_type] => text/xml [raw_data] => HTTP/1.1 200 OK Date: Mon, 08 Aug 2016 11:37:58 GMT Server: Apache/2.2.9 (Debian) mod_perl/2.0.4 Perl/v5.10.0 Vary: Accept-Encoding Content-Encoding: gzip Content-Length: 247 Content-Type: text/xml; charset=utf-8
|
Ich bin Ideen gegenüber aufgeschlossen.
Beste Grüße,
Stefan
Hallo nochmal,
ich hab das Problem gelöst.
Wenn ich dem Endzeitpunkt 2 Stunden raufrechne, also die Übergabe der Zeitzone ignoriere, dann werden mir die Einträge zurückgeliefert.
Also wird in der neuen Interpretation vermutlich die Zeitzone ignoriert.
Aber das kann ich tun, da hab ich kein Problem mit.
Danke!
Beste Grüße,
Stefan Hoffmann
curl -X POST -d @xml-text.xml "https://BENUTZER:PASSWORT@samurai.sipgate.net/RPC2"
.
To unsubscribe from this group and all its topics, send an email to sipgate-api+unsubscribe@googlegroups.com.
To post to this group, send email to sipga...@googlegroups.com.
Visit this group at https://groups.google.com/group/sipgate-api.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "sipgate API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sipgate-api+unsubscribe@googlegroups.com.
To post to this group, send email to sipga...@googlegroups.com.
Visit this group at https://groups.google.com/group/sipgate-api.
For more options, visit https://groups.google.com/d/optout.
--
Kai de Haan - deh...@sipgate.de
Telefon: +49 (0)211-63 55 55-72
Telefax: +49 (0)211-63 55 55-22
sipgate GmbH - Gladbacher Str. 74 - 40219 Düsseldorf
HRB Düsseldorf 39841 - Geschäftsführer: Thilo Salmon, Tim Mois
Steuernummer: 106/5724/7147, Umsatzsteuer-ID: DE219349391
--
You received this message because you are subscribed to a topic in the Google Groups "sipgate API" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sipgate-api/r-rEVU15eUI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sipgate-api+unsubscribe@googlegroups.com.
To post to this group, send email to sipga...@googlegroups.com.
Visit this group at https://groups.google.com/group/sipgate-api.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "sipgate API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sipgate-api+unsubscribe@googlegroups.com.
To post to this group, send email to sipga...@googlegroups.com.
Visit this group at https://groups.google.com/group/sipgate-api.
For more options, visit https://groups.google.com/d/optout.
--
Kai de Haan - deh...@sipgate.de
Telefon: +49 (0)211-63 55 55-72
Telefax: +49 (0)211-63 55 55-22
sipgate GmbH - Gladbacher Str. 74 - 40219 Düsseldorf
HRB Düsseldorf 39841 - Geschäftsführer: Thilo Salmon, Tim Mois
Steuernummer: 106/5724/7147, Umsatzsteuer-ID: DE219349391
--
You received this message because you are subscribed to a topic in the Google Groups "sipgate API" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sipgate-api/r-rEVU15eUI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sipgate-api+unsubscribe@googlegroups.com.
To post to this group, send email to sipga...@googlegroups.com.
Visit this group at https://groups.google.com/group/sipgate-api.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "sipgate API" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sipgate-api/r-rEVU15eUI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sipgate-api+unsubscribe@googlegroups.com.
To post to this group, send email to sipga...@googlegroups.com.
Visit this group at https://groups.google.com/group/sipgate-api.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "sipgate API" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sipgate-api/r-rEVU15eUI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sipgate-api+unsubscribe@googlegroups.com.
To post to this group, send email to sipga...@googlegroups.com.
Visit this group at https://groups.google.com/group/sipgate-api.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "sipgate API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sipgate-api+unsubscribe@googlegroups.com.
To post to this group, send email to sipga...@googlegroups.com.
Visit this group at https://groups.google.com/group/sipgate-api.
For more options, visit https://groups.google.com/d/optout.