While using a report as GET API Request getting some extra [] empty jsons

(2 posts) (2 voices)
  • Started by partha.bag@m-insure.in
  • Latest reply from myDBR Team

Tags:

No tags yet.

  1. partha.bag@m-insure.in, Member

    Hi All,
    We are using some reports as GET API request, we are getting extra [] body how do we get rid of this ??

    For Example :

    Suppose this is curl req for a report :

    curl --request GET -u"abcjs_dksfjklsjf:wyetwtytretweynbnzcvbn" -H "X-MYDBR-AUTH: 1" "https://a2.m-insure.in/mydbr/report.php?r=95&u1=2025-07-13&m=11&h=34733874hjgjfeytrefbsdfhsjgjhfs&export=json"

    And reposne is below :

    [[],[["2025-07-13","CALL",null,"1234565","MR. ABCD EFG"]]]

    I want to get rid of highlighted portion.
    Please help us out .

    Thanks,
    Partha

  2. myDBR Team, Key Master

    Most likely you have an empty resultset in the report.

    How does your report look like? What is the output if you do export=sql?
    --
    myDBR Team


Reply

You must log in to post.