Dealing with Custom Fields in Deluge

Dealing with Custom Fields in Deluge

Greetings

I'm trying to add expenses from my creator app to zoho books, in zoho books i have some custom fields for the expenses that i'd like to set when creating the entry. but i'm unable to get it to work. 
and it says i must include my custom fields in an array which i did like that (using the API Field Name of my custom field)

  1. dataMap.put("custom_fields":[{"cf_employee_name":"Test Name"}]);
I also tried this
  1. data.put("custom_fields",[{"customfield_id": "cf_employee_name",
  2.             "value": "Test Name"}]);

both ways don't work and i end up getting an empty value for the custom field, i think the value of the customfield_id should be numeric but i don't know where to get this exactly..

How can i achieve what i want?

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




                              ご検討中の方