Loading...

Search Using the API

Comments

36 comments

  • Rudy Scoggins

    Hi Lee,

    Yeah, something seems contradictory here.  Can you submit a ticket with the hosted customer info and support will take a look?

    Thanks,

    Rudy

  • Rudy Scoggins

    Hi Lee,

    Yes, your first URL's syntax looks correct.  

    I gave it a whirl myself and this was my example that pulled the correct opportunity:

    'EventJob eq 13774 and C|01|10|UserNumber01 eq 13275.0000'

    Can you modify the query parameters to maybe see what the problem is?  Perhaps taking some away?  

    Rudy

  • John McCrary

    If I were to request the registration orders from particular event ID, is there any way to include order account fields such as Name, Address, email, etc. in the results?

  • Something weird is going on because:

    https://ungerboeck/TEST/api/v1/Opportunities/10?search=Type eq 'AR|C' and EventJob eq 159134 and C|AR|10|UserNumber02 eq 475951.0

    Returns a single opportunity with UserNumber02 = null...

    https://ungerboeck/TEST/api/v1/Opportunities/10?search=Type eq 'AR|C' and EventJob eq 159134

    Returns a handful of opportunities, one of which has UserNumber02 = 475951.0

    Could we possibly arrange a quick call to take a peak? The good thing is it's a hosted database so I hope you can debug quite easily.

    I though I might have been able to switch tracing on, but I think this option might be disabled for hosted customers?

    Thanks!

  • Bryan Wong

    Hi,

    I need to retrieve list of opportunities having particular value for user text 30. API returns error if my search query is simply like UserText30 eq 'Blah blah blah' under GET Opportunities/{OrgCode} API

    In this case, shall I use the method mentioned in Search in User Field? If so, what should be the value of [User field Class]|[User field Type] ?

    Thanks so much.

    Bryan

  • I'm having problems trying to query opportunities using a UDF.

    My query looks like:

    https://ungerboeck/TEST/api/v1/Opportunities/10?search=Type eq 'AR|C' and EventJob eq 159134 and C|AR|10|UserNumber02 eq 475951.0

    Does that look right?

    It returns a seemingly random opportunity (for the correct event, but not with that udf value)

    Trying just:

    https://jcr.ungerboeck.net/TEST/api/v1/Opportunities/10?search=Type eq 'AR|C' and EventJob eq 159134 and UserNumber02 eq 475951.0

    Returns an error saying the field is unknown or not searchable?

    Rudy Scoggins

    Thanks!

Please sign in to leave a comment.