Thread: eventId vs eventid in fdsn event ws

Started: 2013-04-02 23:20:36
Last activity: 2013-04-04 01:09:48
Topics: Web Services
Philip Crotwell
2013-04-02 23:20:36
Hi

In the returned XML from the fdsn event web service, the event publicID
looks like:
<event publicID="smi:service.iris.edu/fdsnws/event/1/query?eventId=4213174">

But if you paste the url (after the sml:) into a browser you get a

Error 400: Unknown query parameter: eventId

Changing the I to i, so the URL is

service.iris.edu/fdsnws/event/1/query?eventid=4213174

seems to work.

Would be nice if the publicID was compatible with the web service query
params.

thanks
Philip

  • Chad Trabant
    2013-04-02 21:41:44

    Thanks, we'll add it to the list.

    Chad

    On Apr 2, 2013, at 1:20 PM, Philip Crotwell <crotwell<at>seis.sc.edu> wrote:


    Hi

    In the returned XML from the fdsn event web service, the event publicID looks like:
    <event publicID="smi:service.iris.edu/fdsnws/event/1/query?eventId=4213174">

    But if you paste the url (after the sml:) into a browser you get a

    Error 400: Unknown query parameter: eventId

    Changing the I to i, so the URL is

    service.iris.edu/fdsnws/event/1/query?eventid=4213174

    seems to work.

    Would be nice if the publicID was compatible with the web service query params.

    thanks
    Philip
    _______________________________________________
    webservices mailing list
    webservices<at>iris.washington.edu
    http://www.iris.washington.edu/mailman/listinfo/webservices


    • Chad Trabant
      2013-04-04 01:09:48

      Hi,

      We have updated the fdsnws-event service so that the eventide, originid and magnitudeid values in the publicID attributes match the case of the query parameters.

      The update also includes a fix to output depth in meters for the text output.

      Chad


      On Apr 2, 2013, at 1:20 PM, Philip Crotwell <crotwell<at>seis.sc.edu> wrote:


      Hi

      In the returned XML from the fdsn event web service, the event publicID looks like:
      <event publicID="smi:service.iris.edu/fdsnws/event/1/query?eventId=4213174">

      But if you paste the url (after the sml:) into a browser you get a

      Error 400: Unknown query parameter: eventId

      Changing the I to i, so the URL is

      service.iris.edu/fdsnws/event/1/query?eventid=4213174

      seems to work.

      Would be nice if the publicID was compatible with the web service query params.

      thanks
      Philip
      _______________________________________________
      webservices mailing list
      webservices<at>iris.washington.edu
      http://www.iris.washington.edu/mailman/listinfo/webservices

      _______________________________________________
      webservices mailing list
      webservices<at>iris.washington.edu
      http://www.iris.washington.edu/mailman/listinfo/webservices


11:24:28 v.22510d55