Not signed in (Sign In)

Categories

Vanilla 1.1.9 is a product of Lussumo. More Information: Documentation, Community Support.

  1. Member
    • CommentAuthormathias
    • CommentTimeJul 22nd 2012
     

    hi there,

    i played a bit with the rest api and tryed to get the last ticket with a specific word in it, but i havent found out how to reference the ticket request detail. is there anywhere a list of supported attributes for the api? i only found locationnam, firstname and lastname in the api documentation

    best mathias

  2. Member
    • CommentAuthorPhillip
    • CommentTimeJul 22nd 2012 edited
     

    You can get the full API spec here:

    <a href="http://downloads.webhelpdesk.com/api/">http://downloads.webhelpdesk.com/api/</a>

  3. Member
    • CommentAuthormathias
    • CommentTimeJul 23rd 2012
     

    hi phillip,

    please read the api documentation. the only attributes i found are location.locationName, firstName and lastName. is that all or is there something missing in the documentation?

  4. Member
    • CommentAuthorPhillip
    • CommentTimeJul 23rd 2012
     

    You should be able to use any of the attributes that are in the ticket section. To search for some text in the request detail try using:

    curl "http://localhost/helpdesk/WebObjects/Helpdesk.woa/ra/Tickets?list=recent&qualifier=(detail%3D'SEARCHTERM'')?apiKey=APIKEYGOESHERE"

    This should bring up any "Recent" tickets that have "SEARCHTERM" in the Request Detail fields.

  5. Member
    • CommentAuthormwosinski
    • CommentTimeAug 8th 2012 edited
     

    Ok, I can query the fields in the ticket itself. Is it also possible to query customFields that are applied to the ticket?

    I tried: http://127.0.0.1:8081/helpdesk/WebObjects/Helpdesk.woa/ra/Tickets.json?username=***&password=***&qualifier=%28ticketCustomFields.restValue%3d%27123%27%29 and it returns:

    sqlStringForKeyValueQualifier: attempt to generate SQL for com.webobjects.eocontrol.EOKeyValueQualifier (ticketCustomFields.restValue = '123') failed because attribute identified by key 'ticketCustomFields.restValue' was not reachable from from entity 'JobTicket'.

  6. Member
    • CommentAuthorPhillip
    • CommentTimeAug 8th 2012
     

    Looking at the current API documentation at <a href="http://downloads.webhelpdesk.com/api/#cf"> http://downloads.webhelpdesk.com/api/#cf</a> you will first need to get the list of the custom fields which will the give you the customField_<id> identifier.

    At the bottom of <a href="http://downloads.webhelpdesk.com/api/#tickets-create">http://downloads.webhelpdesk.com/api/#tickets-create</a> they show an example of creating a ticket with custom field information.

  7. Member
    • CommentAuthormwosinski
    • CommentTimeAug 9th 2012
     

    I know my customField id, but I want to search for a ticked based on the value of the custom field.

    Can you please provide a sample request that will return tickets that have the customField_1 value equal to '123'

    Thanks,

  8. Administrator
    • CommentAuthorbshopp
    • CommentTimeAug 10th 2012
     

    Feel free to log a support ticket

 

Help Desk Software  |  Free Help Desk Software  |  Help Desk Software Comparison  |  Site Map

Copyright © 2012 MacsDesign Studio LLC