TrackVia API & App Scripts

  1. Return a 404 or 403 instead of 401 if record can not be found

    The Problem:

    When an API call is made to read or update a record that does not exist, a 401 is returned with the following message in the body:

    DENIED!!! - Record: 99999 either does not exist or you do not have access to it.

    Either scenario described in the error message would better fit for a 403 (forbidden) or a 404 (resource not found) instead of a 401 (unauthorized).

    The reason this is a problem is because now if a record does not exist and a 401 is returned, it makes it difficult to programmatically determine if the record…

    1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  API  ·  Flag idea as inappropriate…  ·  Admin →

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  2. Python3 Support

    I submitted a pull request for Python 3 a while back.
    https://github.com/Trackvia/API-Python-SDK/pull/7

    Would love to see this implemented.

    6 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    3 comments  ·  API  ·  Flag idea as inappropriate…  ·  Admin →

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  3. Download image from a record

    How do you download an image file from a record? I can get the record ID and I have a field name called "Image 1". I want to download the actual image (.jpg). Can you give me an example?

    1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    3 comments  ·  API  ·  Flag idea as inappropriate…  ·  Admin →

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  4. Getting images for filtered record list

    Long time developer but I'm new to this API and trying to figure out the easiest way to do this:

    I need to get a list of records that have a value greater than 100 for our field "Show Q #'.

    Then for each of those records I want to download the image that is associated with that record.

    I assume I need to do the following:
    1. Get OAUTH so I have the access token.
    2. I already know the view number so I would call:
    GET /openapi/views/{viewId}/find

    The problem is I don't know what the "q" parameter should…

    1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  API  ·  Flag idea as inappropriate…  ·  Admin →

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  5. Python API support for connecting with only API user provided Authentication Token

    I made some modifications to the Python SDK to allow a user to provide an authentication token issued by an api user instead of their own credentials in this paste https://pastebin.com/3SGaqjqk.

    It also was modified to work on my environment where urllib needed to be urllib.parse and some other minor changes

    3 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  API  ·  Flag idea as inappropriate…  ·  Admin →

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  6. Get attachment name

    I have successfully retrieved a record from view using API script. I want to download the attachments, but the problem is this that i am getting the
    "id" of attachment, but i want to get name of attachment. Please let me know how i can get name of attachment through API.
    i am using builtIn PHP SDK.

    2 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    2 comments  ·  API  ·  Flag idea as inappropriate…  ·  Admin →

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  7. How can I download a View with header (to create a table file) using API?

    We need to analyse the views data and need it in a table like (csv) format. Right now the data available from API is json and I'm unable to ge t the header info of the views to easily create tables. How can this be done?

    1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  API  ·  Flag idea as inappropriate…  ·  Admin →

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  8. Add user last login date/time to get_users()

    Can you add the user's last login date & time to the get_users() method please?

    4 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  API  ·  Flag idea as inappropriate…  ·  Admin →

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  9. Only find records in view that exactly match query string? /openapi/views/{viewId}/find

    We would like to know how we can either:

    1) ONLY find records in a specific view that exactly match our query string, and/or
    2) Find records by looking for our query string within a given FIELD within the specified view.

    With respect to #1 above we're running into some issues. For example, when searching for "John Doe - 123-456-7890" we ONLY want to find records that have our exact query string in a specific field within that view. But the TrackVia API is returning every record that has even one piece of our query string -- for instance, it's…

    1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  API  ·  Flag idea as inappropriate…  ·  Admin →

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  10. create an api for an excel spreadsheet?

    I want to pull XML data from trackvia for the purpose of working with live views in an excel spreadsheet.

    1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  API  ·  Flag idea as inappropriate…  ·  Admin →

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  11. Wrong data type provided for input.

    Hi,

    I was unable to use the following API end points

    GET /openapi/views/{viewId}/records/{recordId}/files/{fieldName:.+

    It returns "Wrong data type provided for input." 400 error.

    1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    2 comments  ·  API  ·  Flag idea as inappropriate…  ·  Admin →

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  12. "Wrong data type provided for input." 400 error.

    Hi,

    I was unable to use the following API end points

    GET /openapi/views/123/records/12/files/message

    It returns "Wrong data type provided for input." 400 error.

    1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  API  ·  Flag idea as inappropriate…  ·  Admin →

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  13. .Net, C#

    Do you have a .net, c#, vb.net sdk?

    2 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    2 comments  ·  API  ·  Flag idea as inappropriate…  ·  Admin →

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  • Don't see your idea?

TrackVia API & App Scripts

Categories

Feedback and Knowledge Base