Input Parameter Missing - Associate multiple teams to a project

Input Parameter Missing - Associate multiple teams to a project

Hi,

I am trying to assign multiple Teams to a project via the API.

Using the documented 'POST  /restapi/portal/[PORTALID]+/usergroups/associategroups/'  method, the error '{"error":{"code":6891,"message":"Given URL is wrong"}}' is returned.

Assuming the '+' in the URL is incorrect, removing the '+' returns the error '{"error":{"code":6831,"message":"Input Parameter Missing"}}'.

To rule own my own code errors, I have also used the PHP method documented here https://www.zoho.com/projects/help/rest-api/examples.html

My POST array looks like this:

     $request_parameters = array(
        'projid' => '155xxxxxxxxxx',
        'groupid' => array('135xxxxxxxxx','135xxxxxxxxx','135xxxxxxxxx')
      );

Any help or guidance would be greatly appreciated.

Kind regards,
Rob



      Zoho Developer Community








                                Zoho Desk Resources

                                • Desk Community Learning Series


                                • Digest


                                • Functions


                                • Meetups


                                • Kbase


                                • Resources


                                • Glossary


                                • Desk Marketplace


                                • MVP Corner


                                • Word of the Day



                                    Zoho Marketing Automation


                                            Manage your brands on social media



                                                  Zoho TeamInbox Resources

                                                    Zoho DataPrep Resources



                                                      Zoho CRM Plus Resources

                                                        Zoho Books Resources


                                                          Zoho Subscriptions Resources

                                                            Zoho Projects Resources


                                                              Zoho Sprints Resources


                                                                Qntrl 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







                                                                            Design. Discuss. Deliver.

                                                                            Create visually engaging stories with Zoho Show.

                                                                            Get Started Now