많은 서명자가 첨부 된 문서가 있으므로 API를 통해 CC 수신자로 서명하지 않은 사람들을 변환하고 싶습니다.서명 사용자를 API를 통해 CarbonCopy 사용자로 변경하는 방법은 무엇입니까?
내가 시도한 첫 번째 방법은 서명자를 제거한 다음 참조 수신자를 추가하는 것이 었습니다. CC 수신자를 추가 할 때 문서가 완료되어 수정할 수 없기 때문에이 기능이 작동하지 않습니다.
CC 수신자를 먼저 추가하면 서명자를 제거하면 동일한 수신자가 동일한 이메일 주소를 공유하므로 CC 수신자를 제거하는 효과가 있습니다.
방법 2는 작동하지만 API가 제거되는받는 사람 유형을 구분하지 않는 것 같습니다.
$recipients = new Recipients();
$recipients->setCarbonCopies($ccRecipientsAdd->toArray());
$envelopeApi->createRecipient($accountId, $envelopeId, $recipients);
$recipients = new Recipients();
$recipients->setSigners($signersToRemove->toArray());
$envelopeApi->deleteRecipients($accountId, $envelopeId, $recipients);
누구에게 아이디어가 있습니까?
위대한 분들께, 고맙습니다. – ArthurGuy
CC 수신자를 추가 한 후이를 적어 놓으십시오. 'recipientId' 필드의 형식이 무엇인지 알지 못하겠습니까? – ArthurGuy
이상적으로 recipientId는 정수입니다. –