PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Friday, August 26, 2022

[FIXED] How can we change this information, when we create an envelope through PHP API?

 August 26, 2022     docusignapi, php     No comments   

Issue

enter image description here

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)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing