Jim2 API Getdata Custom Endpoint

Back Top Previous Next
hmtoggle_arrow1Path: api/v1/custom/getdata

Example:

GET api/v1/custom/getdata?queryname=test3&qp1=1&qp2=2024-6-17

 

Response:

{

  "resultSets":[

    {

      "columns":[

         {"Name":"InvNo","Type":"int"},

         {"Name":"CardCode","Type":"varchar"},

         {"Name":"InvAmt","Type":"money"},

         {"Name":"InvDate","Type":"datetime"}

      ],

      "rows":[

         [2,"C.SIMPLE",135.3000,"\/Date(1730878800000)\/"]

       ]

    },

    {

      "columns":[

        {"Name":"JobNo","Type":"int"},

        {"Name":"CardCode","Type":"varchar"},

        {"Name":"DateIn","Type":"datetime"}

      ],

      "rows":[

        [73,"C.HASSHIP","\/Date(1732262990437)\/"],

        [74,"C.SIMPLE2","\/Date(1732262990510)\/"]

      ]

    }

  ]

}

 

Further information

Jim2 API Installation and Configuration

Jim2 API Postman Auth Example

Jim2 API After Restoring from a Backup