[API] Get Account endpoint

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jmh
    Junior Member
    • Aug 2024
    • 2

    [API] Get Account endpoint

    Hi to every body.

    I hope I'm in the right forum. If not, please apologize.

    The GET /Account/{id} does only returns starred email and phone number (where I should have a list of emails and a list of phone numbers)
    Furthermore, the PUT /Account/{id} does not take into account the email and phone fields.

    See attached screenshot : with 2 items both for emails and phone numbers in EspoCrm Screen

    See return json below

    {"id":"66c5f6c9b9453a4b0","name":"API Test updated","deleted":false,"website":null,"emailAddress":"first@domain.com","phoneNumber":"+3301010101 ","type":"Customer","industry":null,"sicCode": null ,"billingAddressStreet":null,"billingAddressCit y": "Lorient","billingAddressState":null,"billingA ddre ssCountry":null,"billingAddressPostalCode":null,"s hippingAddressStreet":null,"shippingAddressCity":n ull,"shippingAddressState":null,"shippingAddressCo untry":null,"shippingAddressPostalCode":null,"desc ription":null,"createdAt":"2024-08-21 14:16:41","modifiedAt":"2024-08-21 14:16:41","status":"Standard","contratPilotDate":n ull,"contractCustomerDate":null,"esReference":"T-1724249801608","emailAddressIsOptedOut":null,"emai lAddressIsInvalid":null,"phoneNumberIsOptedOut":nu ll,"phoneNumberIsInvalid":null,"emailAddressData" :[],"phoneNumberData":[],"campaignId":null,"campaignName":null,"created ByI d":"6697888b9ddd91d5d","createdByName":"energys oft _api","modifiedById":"6697888b9ddd91d5d","modified ByName":"energysoft_api","assignedUserId":null,"as signedUserName":null,"teamsIds":[],"teamsNames":{},"originalLeadId":null,"origina lLe adName":null,"isFollowed":false,"followersIds":[],"followersNames":{}}
Working...