Hello,
I wanted to make a simple test of creation of a quote via the API and I send the name of the quote for the moment. I work in php and I use the API client https://github.com/espocrm/documenta...-client-php.md below the code I made
Response :
I did the same test to create a lead and it works without problems and also to create an account. Something escapes me for creating quotes?
Note: I'm working on the demo cloud version.
I wanted to make a simple test of creation of a quote via the API and I send the name of the quote for the moment. I work in php and I use the API client https://github.com/espocrm/documenta...-client-php.md below the code I made
PHP Code:
include 'espocrm.php' ;
$client = new EspoApiClient('mycloudcrmurl');
$client->setApiKey('myapikey');
$response = $client->request('POST', 'Quote', [
'name'=> 'testt'
]);
var_dump( $response);
PHP Code:
PHP Fatal error:espocrm.php:138
Stack trace:
#0 testEspoAPI.php(11): EspoApiClient->request('POST', 'Quote', Array)
#1 {main}
thrown in espocrm.php on line 138
Note: I'm working on the demo cloud version.
Comment