COQL datetime filtering

COQL datetime filtering

Have module in Sandbox, which I need to fetch with datetime filtering. Using COQL, but having error and I sure did all wright but its not work. What did I wrong

  1. queryMap = Map();
    queryMap.put("select_query","select id,rate from Rates where Partner = " + Partner_ID + " AND Currency_ISO_Code = " + Currency + " AND Created Time = '" + Created_Time + "' ORDER BY Created_Time LIMIT 0,10");
    info "queryMap: " + queryMap;
    seacrchRates = invokeurl
    [
        url :"https://www.zohoapis.ca/crm/v3/coql"
        type :POST
        parameters:queryMap.toString()
        connection:"conn"
    ];
  2. ///////////////////////
  3. queryMap: {"select_query":"select id,rate from Rates where Partner = xxxxxxxxxxxxxxxxx AND Currency_ISO_Code = USD AND Created_Time <= '2024-10-18T12:00:00-04:00' ORDER BY Created_Time LIMIT 0,10"}
  4. ////////////////////////////////
  5. seacrchRates : {"code":"SYNTAX_ERROR","details":{"near":"where"},"message":"error occured while parsing the query","status":"error"}
In Analytics its work

    Zoho Desk Resources

    • Desk Community Learning Series


    • Digest


    • Functions


    • Meetups


    • Kbase


    • Resources


    • Glossary


    • Desk Marketplace


    • MVP Corner


    • Word of the Day


      Zoho CRM Plus Resources

        Zoho Books Resources


          Zoho Subscriptions Resources

            Zoho Projects Resources


              Zoho Sprints Resources


                Zoho Orchestly Resources


                  Zoho Creator Resources


                    Zoho WorkDrive Resources



                      Zoho Campaigns Resources

                        Zoho CRM Resources

                        • CRM Community Learning Series

                          CRM Community Learning Series


                        • Tips

                          Tips

                        • Functions

                          Functions

                        • Meetups

                          Meetups

                        • Kbase

                          Kbase

                        • Resources

                          Resources

                        • Digest

                          Digest

                        • CRM Marketplace

                          CRM Marketplace

                        • MVP Corner

                          MVP Corner




                          Zoho Writer Writer

                          Get Started. Write Away!

                          Writer is a powerful online word processor, designed for collaborative work.

                            Zoho CRM コンテンツ




                              ご検討中の方