Getting all email and phomne numbers via API

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rmorgan
    Member
    • Feb 2019
    • 43

    Getting all email and phomne numbers via API

    I am using python and the API as described https://docs.espocrm.com/development/api-client-python/ I can upload records which can contain up to 2 email addresses and up to 5 phone numbers. When I read the record back using data = client.request('GET', 'Lead',params) I only get the primary email address and phone number. How can I get all email addresses and phone numbers?
  • yuri
    Member
    • Mar 2014
    • 8845

    #2
    You need to make a separate request to Lead/{id} endpoint. Phone numbers will be available in the phoneNumberData attribute.
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment

    Working...