2013-07-16 38 views
0

我正在使用SOAP API並使用.NET集成了DocuSignAPI。DocuSignAPI爲收件人2添加註釋SOAP

我有以下代碼爲每個收件人添加個人筆記。

recipient1.note = "this is recipient 1"; 
    recipient2.note = "this is recipient 2"; 

的說明收件人1顯示了,但不是收件人2.

我在做什麼錯?請幫忙。

謝謝。

+0

您可能需要包含更多的代碼,或者更好地包含更多的代碼,或者更準確地發佈SOAP消息。 – mikebz

回答

0

它適用於我使用PHP代碼。這可能是一個案例問題,我爲我的兩個收件人中的每個收件人使用Note屬性的大寫字母。我將它們設置如下:

$rcp1 = new Recipient(); // First recipient to put in recipient array 
$rcp1->UserName = "John Doe"; 
$rcp1->Email = $_apiRecipient1Email; 
$rcp1->Type = RecipientTypeCode::Signer; 
$rcp1->ID = "1"; 
$rcp1->RoutingOrder = 1; 
$rcp1->RequireIDLookup = FALSE; 
$rcp1->Note = "Note One"; 

$rcp2 = new Recipient(); // Second recipient to put in recipient array 
$rcp2->UserName = "Joe Mama"; 
$rcp2->Email = $_apiRecipient2Email; 
$rcp2->Type = RecipientTypeCode::Signer; 
$rcp2->ID = "2"; 
$rcp2->RoutingOrder = 1; 
$rcp2->RequireIDLookup = FALSE; 
$rcp2->Note = "Note Two";