Attask API Username Search Case Sensitive

后端 未结 3 1215
北恋
北恋 2021-01-24 01:46

I\'m currently trying to use Attask API\'s to pull out a list of users based on a string parameter, using the name_Mod \"contains\".

So far so good, I can pull back a li

3条回答
  •  攒了一身酷
    2021-01-24 02:39

    You are correct search fields are case sensitive. The only way you can get both results, dan and Dan, is by including both in the rest request. An example would be

    "https://wibble.attask-ondemand.com/attask/api/user/search?sessionID=wibble&$$LIMIT=2000&name=dan&name=Dan&name_Mod=contains&fields=ID,name"

    Let me know if that works for you.

提交回复
热议问题