Issue
On Evelope Dfinition creation, we tried:
$user_info = new \DocuSign\eSign\Model\UserInfo([
'account_id' => 'b9711345....2',
'email' => 'user@domin.com.br',
'user_id' => 'ae5...87',
'user_name' => 'Foo Bar',
]);
$envelope_definition->setSender($user_info);
but it has no effect
Solution
This information pertains to the sender account. When you authenticate to the API before making tha PHP API call to get an access token, you have to use some user's credentials. That user's information will be used when the envelope is sent.
user_info
is a read-only endpoint, you cannot update it using the API.
You can change the name of the user via this endpoint - Users: Update
The other thing you see is the company name, you need this endpoint to change it - Accounts: UpdateAccount
Answered By - Inbar Gazit Answer Checked By - Cary Denson (PHPFixing Admin)
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.