使用与我拥有和共享的用户过滤器列出模板 [英] List template using user filter that are owned and shared with me

查看:63
本文介绍了使用与我拥有和共享的用户过滤器列出模板的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要获取我拥有并与我共享的模板的列表。当我使用user_filter = shared_with_me时,我从帐户中的每个管理员用户那里获得了所有模板列表。

I need to get the list of template that are owned by me and shared with me . When I used user_filter=shared_with_me , i get all the list of templates from everyone Admin User in my account.

如果我在docusign帐户中有3个管理员用户
UserA具有TemplateA设置
UserB具有TemplateB设置
UserC具有TemplateC设置

If i have 3 admin users in my docusign account UserA has TemplateA setup UserB has TemplateB setup UserC has TemplateC setup

如果UserC与UserA共享了模板C

If UserC shared TemplateC with UserA

是否可以将UserA的模板列表作为 TemplateA TemplateC

Is it possible to get the list of template for UserA as TemplateA and TemplateC.

基于user_filter = shared_with_me,UserA,如果获得TemplateA,TemplateB和TemplateC

Based on user_filter=shared_with_me ,UserA , if get TemplateA, TemplateB AND TemplateC

预先感谢

推荐答案

文档定义 user_filter 参数的有效值,如下所示:

The documentation defines the valid values for the user_filter parameter like this:


有效值为:

Valid values are:


  • owned_by_me >:仅显示用户拥有的模板。

  • owned_by_me: only shows templates the user owns.

shared_with_me :仅显示与用户共享的模板。

shared_with_me: only shows templates that are shared with the user.

all :显示与用户拥有或共享的所有模板。

all: shows all templates owned or shared with the user.

基于此,您应该能够通过使用查询字符串参数 user_filter = all 来实现您想要的目标。

Based on this, you should be able to achieve what you're trying to achieve by using the query string parameter user_filter=all.

GET / v2 / accounts / {accountId} / templates?user_filter = all

这篇关于使用与我拥有和共享的用户过滤器列出模板的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆