dsjgk330337 2015-12-03 07:51
浏览 45

{Stuck}通过Docusign php为模板填充数据

I am using SOAP API for DocuSign. It is demo account.

So, I have created my code based on sendatemplate.php and I use the templatereference class to create my FieldData and this is the result in array

Array ( [0] => TemplateReference Object ( [TemplateLocation] => Server 
[Template] => 2ade4fe1-9b7b-49eb-af2e-xxxxxxxxx [Document] => 
[RoleAssignments] => Array ( [0] => TemplateReferenceRoleAssignment Object ( 
[RoleName] => Signer1 [RecipientID] => 1 ) ) [FieldData] => 
TemplateReferenceFieldData Object ( [DataValues] => Array ( [0] => 
TemplateReferenceFieldDataDataValue Object ( [TabLabel] => Company [Value] 
=> Otto ) ) ) [AdditionalTabs] => [Sequence] => [TemplateAttachments] => ) )

I then use the RequestStatusResponse and this is my result:

RequestStatusResponse Object
(
    [RequestStatusResult] => EnvelopeStatus Object
        (
            [RecipientStatuses] => stdClass Object
                (
                    [RecipientStatus] => Array
                        (
                            [0] => RecipientStatus Object
                                (
                                    [Type] => Signer
                                    [Email] => xxxxxx@yahoo.com
                                    [UserName] => xxxxx
                                    [RoutingOrder] => 1
                                    [Sent] => 2015-12-02T22:56:01.317
                                    [Delivered] => 2015-12-02T22:56:13.567
                                    [Signed] => 
                                    [Declined] => 
                                    [DeclineReason] => 
                                    [Status] => Delivered
                                    [RecipientIPAddress] => xxxxxxxx
                                    [ClientUserId] => 1
                                    [AutoNavigation] => 
                                    [IDCheckInformation] => 
                                    [RecipientAuthenticationStatus] => 
                                    [CustomFields] => stdClass Object
                                        (
                                        )

                                    [TabStatuses] => stdClass Object
                                        (
                                            [TabStatus] => Array
                                                (
                                                    [0] => TabStatus Object
                                                        (
                                                            [TabType] => SignHere
                                                            [Status] => Active
                                                            [XPosition] => 1333
                                                            [YPosition] => 964
                                                            [Signed] => 
                                                            [TabLabel] => Signature 1
                                                            [TabName] => Signature
                                                            [TabValue] => 
                                                            [DocumentID] => 
                                                            [PageNumber] => 
                                                            [OriginalValue] => 
                                                            [ValidationPattern] => 
                                                            [RoleName] => 
                                                            [ListValues] => 
                                                            [ListSelectedValue] => 
                                                            [ScaleValue] => 
                                                            [CustomTabType] => 
                                                        )

                                                    [1] => TabStatus Object
                                                        (
                                                            [TabType] => Custom
                                                            [Status] => Active
                                                            [XPosition] => 989
                                                            [YPosition] => 916
                                                            [Signed] => 
                                                            [TabLabel] => Address
                                                            [TabName] => Address
                                                            [TabValue] => 
                                                            [DocumentID] => 
                                                            [PageNumber] => 
                                                            [OriginalValue] => 
                                                            [ValidationPattern] => 
                                                            [RoleName] => 
                                                            [ListValues] => 
                                                            [ListSelectedValue] => 
                                                            [ScaleValue] => 
                                                            [CustomTabType] => 
                                                        )

                                                    [2] => TabStatus Object
                                                        (
                                                            [TabType] => FullName
                                                            [Status] => Active
                                                            [XPosition] => 989
                                                            [YPosition] => 872
                                                            [Signed] => 
                                                            [TabLabel] => Name 1
                                                            [TabName] => Name
                                                            [TabValue] => 
                                                            [DocumentID] => 
                                                            [PageNumber] => 
                                                            [OriginalValue] => 
                                                            [ValidationPattern] => 
                                                            [RoleName] => 
                                                            [ListValues] => 
                                                            [ListSelectedValue] => 
                                                            [ScaleValue] => 
                                                            [CustomTabType] => 
                                                        )

                                                    [3] => TabStatus Object
                                                        (
                                                            [TabType] => Company
                                                            [Status] => Active
                                                            [XPosition] => 683
                                                            [YPosition] => 252
                                                            [Signed] => 
                                                            [TabLabel] => Company
                                                            [TabName] => Company
                                                            [TabValue] => 
                                                            [DocumentID] => 
                                                            [PageNumber] => 
                                                            [OriginalValue] => 
                                                            [ValidationPattern] => 
                                                            [RoleName] => 
                                                            [ListValues] => 
                                                            [ListSelectedValue] => 
                                                            [ScaleValue] => 
                                                            [CustomTabType] => 
                                                        )

                                                )

                                        )

                                    [RecipientAttachment] => 
                                    [AccountStatus] => 
                                    [EsignAgreementInformation] => 
                                    [FormData] => 
                                    [RecipientId] => 
                                )

                        )

                )

I don't see my Company values are populated.

Please help!!!

I am using PHP code to do this.

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥20 怎么用dlib库的算法识别小麦病虫害
    • ¥15 华为ensp模拟器中S5700交换机在配置过程中老是反复重启
    • ¥15 java写代码遇到问题,求帮助
    • ¥15 uniapp uview http 如何实现统一的请求异常信息提示?
    • ¥15 有了解d3和topogram.js库的吗?有偿请教
    • ¥100 任意维数的K均值聚类
    • ¥15 stamps做sbas-insar,时序沉降图怎么画
    • ¥15 买了个传感器,根据商家发的代码和步骤使用但是代码报错了不会改,有没有人可以看看
    • ¥15 关于#Java#的问题,如何解决?
    • ¥15 加热介质是液体,换热器壳侧导热系数和总的导热系数怎么算