public static List<Composite> GetSubCascading(int compositeId)
{
List<Composite> compositeList = new List<Composite>();
List<Composite> matches = (from uf in ctx.Composite_Table
where uf.Id == compositeId
select new Composite(uf.Id, uf.Name, uf.ParentID)).ToList();
if (matches.Any())
{
compositeList.AddRange(TraverseSubs(matches));
}
return compositeList;
}
private static List<Composite> TraverseSubs(List<Composite> resultSet)
{
List<Composite> compList = new List<Composite>();
compList.AddRange(resultSet);
for (int i = 0; i < resultSet.Count; i++)
{
//Get all subcompList of each folder
List<Composite> children = (from uf in ctx.Composite_Table
where uf.ParentID == resultSet[i].Id
select new Composite(uf.Id, uf.Name, uf.ParentID)).ToList();
if (children.Any())
{
compList.AddRange(TraverseSubs(children));
}
}
return compList;
}
//All where ctx is your DataContext
Если вы установили enforceSignerVisibility
как true после включения DocVis в Admin, то для получения значения enforceSignerVisibility
необходимо передать параметр запроса advanced_update=true
в вызове API GET /envelopes
.
authoritativeCopy
устанавливается DocuSign. Вы не можете установить его через API.
После того, как вы захотите загрузить достоверную копию из DocuSign, конверт покажет authoritativeCopy
== false.
EnforceSignerVisibility
отличается. Это должно быть сначала включено на уровне учетной записи. См. Экран инструмента администратора Настройки отправки и настройки видимости документа. Вам необходимо установить флажок Allow sender to specify document visibility