Replies: 1 comment 1 reply
-
@FFasna For example, if your prefix is $record = new \AlexaCRM\Xrm\Entity('ldg_foobar', $row['ldg_foobarid']);
$record['ldg_notes'] = 'testing update';
$client->Update($record); HTH |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm updating an entity via WebAPI and the request went through and the value has been updated. But, I'm receiving this error
AlexaCRM\WebAPI\OData\Client::update(): Argument #2 ($key) must be of type string, null given, called in C:\Users*****\vendor\alexacrm\dynamics-webapi-toolkit\src\WebAPI\Client.php on line 511
I tried dd and checked the entity, the entity is retrieved correctly and the request was processed and updated in the CRM too.
Can anyone help me to fix the issue, please?
Beta Was this translation helpful? Give feedback.
All reactions