Box Sign enables you to create templates so you can automatically add the same fields and formatting to requests for signature. With templates, you don't need to repetitively add the same fields to each request every time you send a new document for signature.
Making and testing a template takes a few minutes, but when done it makes working with Box Sign easier and faster.
Calling the static getAll(BoxAPIConnection api)
will return an iterable that will page through all the Sign Templates.
The static
getAll(BoxAPIConnection api, int limit)
method offers limit
parameter. The limit
parameter specifies the maximum number of items to be returned in a single response.
Iterable<BoxSignTemplate.Info> signTemplates = BoxSignTemplate.getAll(api);
for (BoxSignTemplate.Info signTemplateInfo : signTemplates) {
// Do something with each `signTemplateInfo`.
}
Calling getInfo()
will return a BoxSignTemplate.Info
object
containing information about the Sign Template.
BoxSignTemplate signTemplate = new BoxSignTemplate(api, id);
BoxSignTemplate.Info signTemplateInfo = signTemplate.getInfo();