Not signed in (Sign In)
  • What is Intervals?

    Intervals is online time, task and project management software built by and for web designers, developers and creatives. Learn more…

The Intervals Forum is Closed.
This forum has been replaced with a help section located at help.myintervals.com.
We recommend checking the help section, as the forums are no longer being updated. If you have any questions, please don't hesitate to contact our support team.

API

Clientid Null in json/xml response

Bottom of Page

1 to 3 of 3

  1.  
  1.  

    Hello, I'm having a big trouble with api response.
    I have done, with app engine, a client to use timesheet: tested the app with a free account it works, but when i try to use it with business account, no.
    When I ask to myintervals the json corrisponding to my person, this is the response:

    {
    "personid":"XXXXX",
    "status":"OK",
    "code":200,
    "person":
    {
    "id":"XXXX",
    "title":"",
    "firstname":"XXXXX",
    "lastname":"XXXXX",
    "primaryaccount":"f",
    "allprojects":"f",
    "username":"XXXX.XXXXX",
    "active":"t",
    "groupid":"4",
    "notes":"",
    "lastlogin":
    "2010-09-24 15:21:37",
    "numlogins":"90",
    "clientid":null, <-- no ids here!
    "private":"f",
    "permids":[]
    }
    }

    Clientid is null!! How is possible? I got a lot of client associated to my person...Is this a bug?

    this is the response in my test enviroment with free account
    {
    "personid":"XXXXX",
    "status":"OK",
    "code":200,
    "person":
    {
    "id":"XXXX",
    "title":"",
    "firstname":"XXXXX",
    "lastname":"XXXXX",
    "primaryaccount":"f",
    "allprojects":"f",
    "username":"XXXX.XXXXX",
    "active":"t",
    "groupid":"4",
    "notes":"",
    "lastlogin":
    "2010-09-24 17:31:38",
    "numlogins":"90",
    "clientid":51116, <---now we got id!
    "private":"f",
    "permids":[]
    }
    }

    Token, header, and url to make request is right, because in test enviroment it works, so I need an help :(

    I hope you understand me, my english is very bad!

  2.  
    The fact that you are getting a valid response tells me that your token, header and url are correct. In addition, I've run an api test and was able to get the clientid in the response. So we'll have to take a closer look at your data to troubleshoot and resolve the issue. Could you please login to your Intervals account and click on the Bug Submission link? This will provide us with the information about your account that we need to help resolve this issue.
  3.  

    Ok, i have just submitted this issue in that form. I need to do something else?

    I hope you will help me because this project is for my thesis :)

    Thanks

Comments are closed.
For more Intervals help documentation, please visit help.myintervals.com