Forum Discussion

DylanGeorgeFiel's avatar
9 years ago

REST API V2 board.id results with underscores

Hello,

 

I'm running a query to return the board name for instance "Billing and Payments".

 

However, when I run the query using board.id it returns "billing_payments".

 

Is there a solution using a Lithium query or will I have to create a custom solution to parse these names?

 

Removing underscores and capitalising is no problem, losing the 'and' is though.

  • DylanGeorgeFiel - You are using board.id, so it is returning the board if and not the title, try using title and it should return the board title without underscores.
    • DylanGeorgeFiel's avatar
      DylanGeorgeFiel
      Helper

      Yep, 

       

      Thank's Varun. I cannot do a SELECT * FROM board so how can I know what properties are attached to board?

       

      I cannot find any reference on the website documentation.

      • VarunGrazitti's avatar
        VarunGrazitti
        Boss
        What was the original call that you were making? Can you post that?