API Adding to Related List

API Adding to Related List

I have a PHP integration with Zoho that works fine.

However, under the Contacts module we have a related list called Check-ins. In the Zoho CRM Api Names its listed Check_Ins1. However if I query the API to get related lists I get this...

[sequence_number] => 4
[display_label] => Check Ins
[api_name] => Check_In
[module] => Check_Ins1
[action] => 
[href] => Contacts/{ENTITYID}/Check_In
[id] => 736992000005480328
[type] => custom_lookup
So for a start the API names are different.

I'm then doing a PHP Curl PUT. Using this endpoint and data...


// Prepare the data for the Check_Ins1 entry
$checkInData1 = [
"data" => [
[
"Name" => "Portal Submission",  // Mandatory field for Check-In Name
"Contact" => $zohoContactId,  // Reference to the Contact
"What_is_your_body_weight_today" => $measurement_weight,
"What_is_your_waist_measurement_today" => $measurement_waist,
"Side_Effects" => $side_effect_experienced,
"Other_if_Applicable" => $q5,
"Side_Effect_Experienced" => implode(",", $formatted_side_effects) // Multiselect field
]
]
];

Which gives me this error....

{"code":"INVALID_DATA","details":{},"message":"the module name given seems to be invalid","status":"error"}
Error updating Weekly Checkin: {"code":"INVALID_DATA","details":[],"message":"the module name given seems to be invalid","status":"error"}

Im slightly pulling my hair out now. No matter what I do, I get an error. If I change the endpoint to Check_Ins1 I get this error....

{"code":"INVALID_DATA","details":{},"message":"the relation name given seems to be invalid","status":"error"}
Error updating Weekly Checkin: {"code":"INVALID_DATA","details":[],"message":"the relation name given seems to be invalid","status":"error"}
Please help.

    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 コンテンツ




                              ご検討中の方