mctekk / zohocrm

Wrapper for interact with Zoho CRM API for php
MIT License
49 stars 55 forks source link

wrong XML container returned #19

Closed cornernote closed 7 years ago

cornernote commented 8 years ago
// create account XML
echo (new Zoho\CRM\Entities\Account())->serializeXml(array(
    'email' => 'test@test.com',
));
// output
// <Lead><Email>test@test.com</Email></Lead>

The XML should be wrapped in <Account> not <Lead>

kaioken commented 8 years ago

thanks will take a look today on this