簡體   English   中英

在模板列表中獲取Custom_fields

[英]GET Custom_fields in List of Templates DocuSign

我試圖在POSTMAN中使用GET調用來獲取模板列表並包括“自定義字段”,但是響應未返回custom_fields值,有什么想法嗎?

GET

https://demo.docusign.net/restapi/v2/accounts/{account_id}/templates?include=recipients,documents,custom_fields

響應

 {
        "templateId": "XXXXXXXXXXXXXXXXXXXXX",
        "name": "DEMO",
        "shared": "true",
        "password": "",
        "description": "",
        "lastModified": "2017-06-20T14:13:57.9270000Z",
        "pageCount": 2,
        "uri": "xxxxxxxxxxx",
        "folderName": "DEMO",
        "folderId": "617c1361-8576-4b62-930e-735442256a25",
        "folderUri": "xxxxxxxxx",
        "owner": {
            "userName": "XXXXXXXXXXXXXXX",
            "userId": "XXXXXXXXXXXXXXXXXX",
            "email": "XXXXXXXXX@XXXX.COM"
        },
        "documents": [
            {
                "documentId": "1",
                "uri": "xxxxxxxxxxxx",
                "name": "DS_DEMO.pdf",
                "order": "1",
                "pages": "1",
                "display": "inline",
                "includeInDownload": "true",
                "signerMustAcknowledge": "no_interaction",
                "templateLocked": "false",
                "templateRequired": "false",
                "documentGroup": "content"
            },
            {
                "documentId": "54582351",
                "uri": "xxxxxxxxxxxx",
                "name": "XXXXXXXXXXXXXX.png",
                "order": "2",
                "pages": "1",
                "display": "inline",
                "includeInDownload": "true",
                "signerMustAcknowledge": "no_interaction",
                "templateLocked": "false",
                "templateRequired": "false",
                "documentGroup": "content"
            }
        ],
        "emailSubject": "Please sign this DS Document",
        "emailBlurb": "Thank you for reaching and showing us your interest in how DocuSign works. Please, practice here.\n\n",
        "signingLocation": "Online",
        "authoritativeCopy": "false",
        "enforceSignerVisibility": "false",
        "enableWetSign": "false",
        "allowMarkup": "true",
        "allowReassign": "true",
        "recipients": {
            "signers": [
                {
                    "defaultRecipient": "false",
                    "signInEachLocation": "false",
                    "email": "",
                    "recipientId": "4",
                    "accessCode": "",
                    "requireIdLookup": "false",
                    "routingOrder": "2",
                    "note": "",
                    "roleName": "System Analyst",
                    "status": "created",
                    "deliveryMethod": "email",
                    "templateLocked": "false",
                    "templateRequired": "false",
                    "inheritEmailNotificationConfiguration": "false",
                    "documentVisibility": [
                        {
                            "documentId": "1",
                            "visible": "true"
                        },
                        {
                            "documentId": "54582351",
                            "visible": "true"
                        }
                    ]
                },
                {
                    "defaultRecipient": "false",
                    "signInEachLocation": "false",
                    "name": "DS Training",
                    "email": "",
                    "signingGroupId": "10749",
                    "signingGroupName": "DS Training",
                    "recipientId": "2",
                    "accessCode": "",
                    "requireIdLookup": "false",
                    "routingOrder": "1",
                    "note": "Please complete it as soon you can",
                    "roleName": "Sales Analyst",
                    "status": "created",
                    "deliveryMethod": "email",
                    "templateLocked": "false",
                    "templateRequired": "false",
                    "inheritEmailNotificationConfiguration": "false",
                    "documentVisibility": [
                        {
                            "documentId": "1",
                            "visible": "true"
                        },
                        {
                            "documentId": "54582351",
                            "visible": "true"
                        }
                    ]
                }
            ],
            "agents": [],
            "editors": [],
            "intermediaries": [],
            "carbonCopies": [
                {
                    "email": "",
                    "recipientId": "3",
                    "accessCode": "",
                    "requireIdLookup": "false",
                    "routingOrder": "3",
                    "note": "",
                    "roleName": "Manager",
                    "status": "created",
                    "templateLocked": "false",
                    "templateRequired": "false",
                    "inheritEmailNotificationConfiguration": "false",
                    "documentVisibility": [
                        {
                            "documentId": "1",
                            "visible": "true"
                        },
                        {
                            "documentId": "54582351",
                            "visible": "true"
                        }
                    ]
                }
            ],
            "certifiedDeliveries": [],
            "inPersonSigners": [],
            "recipientCount": "3"
        }
    },

參考:

模板:列表文檔

你是對的。 這是一個錯誤。 感謝您的報告。 我已經對其進行了驗證,並提交了DocuSign內部錯誤報告API-7048。

同時,解決方法是使用Templates:獲取 Templates:列表操作返回的每個模板

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM