我们如何设置来自docusign rest api信封的docusign信封的提醒和到期设置?
JSONGenerator gen = JSON.createGenerator(true);
/start notifications
gen.writeFieldName('notifications');
gen.writeStartObject();
gen.writeStringField('useAccountDefaults', 'true');
//start reminders
gen.writeFieldName('reminders');
gen.writeStartObject();
gen.writeObjectField('reminderEnabled', 'true');
gen.writeObjectField('reminderDelay', '1');
gen.writeObjectField('reminderFrequency', '1');
gen.writeEndObject();
//end reminders
//start expiration
gen.writeFieldName('expirations');
gen.writeStartObject();
gen.writeObjectField('expireEnabled', 'true');
gen.writeObjectField('expireAfter', '7');
gen.writeObjectField('expireWarn', '1');
gen.writeEndObject();
//end expiration
gen.writeEndObject();
//end notifications
某些设置不起作用。
答案 0 :(得分:0)
REST API指南中有一个关于提醒和过期的部分。以下是JSON示例:
notification":{
"useAccountDefaults":"String content",
"reminders":{
"reminderEnabled":"String content",
"reminderDelay":"String content",
"reminderFrequency":"String content"
},
"expirations":{
"expirationEnabled":"String content",
"expirationAfter":"String content",
"expirationWarn":"String content"
}
}
https://www.docusign.com/p/RESTAPIGuide/RESTAPIGuide.htm#REST API参考/发送Envelope.htm?突出显示=提醒和过期