Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can multiple records of the same object be created in one request? #18

Open
gbrlmza opened this issue Feb 5, 2018 · 1 comment
Open

Comments

@gbrlmza
Copy link

gbrlmza commented Feb 5, 2018

Something like this?

<?php
/** @var \EventFarm\Restforce\RestforceInterface $restforce */
$restforce = (new DemoSalesforceApi())->getClient();
/** @var \Psr\Http\Message\ResponseInterface $responseInterface */
$responseInterface = $restforce->create('Account', [
    ['Name' => 'Foo Bar 1'],
    ['Name' => 'Foo Bar 2'],
]);
@gbrlmza gbrlmza changed the title Can multiple records of the same object be created on one request? Can multiple records of the same object be created in one request? Feb 5, 2018
@jasonraimondi
Copy link
Contributor

Unfortunately in the current version we are not supporting multiple create. If you want to contribute it would probably be pretty simple to get in here. I wouldn’t mind answering any questions you may have. I will be quicker with the responses too 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants