1. I have corrected the e-mail settings so that outgoing e-mails from these forums should be sent now. If you tried to Register or Reset your Password, please try again!
    Dismiss Notice

Sending bulk requests

Discussion in 'Census: General Discussion' started by Lempo, Feb 9, 2012.

  1. Lempo

    Lempo Guest

    [url="census.daybreakgames.com/xml/get/eq2/item/2901464118">census.daybreakgames.com/xml/get/eq2/item/2901464118[/url]

    Will retrieve a single item, is it possible to get a list of items with something like

    ?id={2901464118,XXXXXXXXXX,XXXXXXXXX} 

     
  2. DanKinney

    DanKinney Guest

    Yes, only leave off the brackets.

    census.daybreakgames.com/s:soe/xml/get/eq2/item/2888670837,2908210243,2872322360,2889215352,2897498160

    This works for all collections.  Note that when you are using "id", you don't need to use the query string id=# (or id=#,#,#)...you can reference it directly as in my example above.

    -dan

     
  3. Lempo

    Lempo Guest

    :facepalm:

    How did I not try it that way? lol.

    Thanks Dan.

     
  4. DanKinney

    DanKinney Guest

    'sokay.  

    ?id=#,#,# will work as well (semantically the same), but referencing the ID directly is recommended.

    -dan

     
  5. Lempo

    Lempo Guest

    It is no problem to use just the id's seperated by commas, I have already fixed that section of code.

    If you say it is the recommended way I'm sure performance has something to do with it 'twas only a few strokes of the delete key.

     

Share This Page