File tree 7 files changed +30
-24
lines changed
Eg03CreateNewClickwrapVersion
Eg05GetClickwrapResponses
7 files changed +30
-24
lines changed Original file line number Diff line number Diff line change 12
12
namespace DocuSign . CodeExamples . Click . Controllers
13
13
{
14
14
[ Area ( "Click" ) ]
15
- [ Route ( "[area]/Eg05 " ) ]
16
- public class Eg05CreateNewClickwrapVersionController : EgController
15
+ [ Route ( "[area]/Eg03 " ) ]
16
+ public class Eg03CreateNewClickwrapVersionController : EgController
17
17
{
18
- public Eg05CreateNewClickwrapVersionController (
18
+ public Eg03CreateNewClickwrapVersionController (
19
19
DSConfiguration dsConfig ,
20
20
IRequestItemsService requestItemsService )
21
21
: base ( dsConfig , requestItemsService )
22
22
{
23
23
}
24
24
25
- public override string EgName => "Eg05" ;
25
+ public override string EgName => "Eg03" ;
26
+
27
+ protected override void InitializeInternal ( )
28
+ {
29
+ ViewBag . ClickwrapId = RequestItemsService . ClickwrapId ;
30
+ ViewBag . AccountId = RequestItemsService . Session . AccountId ;
31
+ }
26
32
27
33
[ MustAuthenticate ]
28
34
[ Route ( "Create" ) ]
Original file line number Diff line number Diff line change 10
10
namespace DocuSign . CodeExamples . Click . Controllers
11
11
{
12
12
[ Area ( "Click" ) ]
13
- [ Route ( "[area]/Eg06 " ) ]
14
- public class Eg06RetrieveClickwrapsController : EgController
13
+ [ Route ( "[area]/Eg04 " ) ]
14
+ public class Eg04RetrieveClickwrapsController : EgController
15
15
{
16
- public Eg06RetrieveClickwrapsController
16
+ public Eg04RetrieveClickwrapsController
17
17
( DSConfiguration dsConfig ,
18
18
IRequestItemsService requestItemsService )
19
19
: base ( dsConfig , requestItemsService )
20
20
{
21
21
}
22
22
23
- public override string EgName => "Eg06 " ;
23
+ public override string EgName => "Eg04 " ;
24
24
protected override void InitializeInternal ( )
25
25
{
26
26
ViewBag . ClickwrapId = RequestItemsService . ClickwrapId ;
Original file line number Diff line number Diff line change 9
9
namespace DocuSign . CodeExamples . Click . Controllers
10
10
{
11
11
[ Area ( "Click" ) ]
12
- [ Route ( "[area]/Eg07 " ) ]
13
- public class Eg07GetClickwrapResponsesController : EgController
12
+ [ Route ( "[area]/Eg05 " ) ]
13
+ public class Eg05GetClickwrapResponsesController : EgController
14
14
{
15
- public Eg07GetClickwrapResponsesController (
15
+ public Eg05GetClickwrapResponsesController (
16
16
DSConfiguration dsConfig ,
17
17
IRequestItemsService requestItemsService )
18
18
: base ( dsConfig , requestItemsService )
19
19
{
20
20
}
21
21
22
- public override string EgName => "Eg07 " ;
22
+ public override string EgName => "Eg05 " ;
23
23
protected override void InitializeInternal ( )
24
24
{
25
25
ViewBag . ClickwrapId = RequestItemsService . ClickwrapId ;
Original file line number Diff line number Diff line change 1
- @model DocuSign .CodeExamples .Click .Controllers .Eg05CreateNewClickwrapVersionController
2
- <h4 id =" example05 " >5 . Clickwrap Versioning</h4 >
1
+ @model DocuSign .CodeExamples .Click .Controllers .Eg03CreateNewClickwrapVersionController
2
+ <h4 id =" example03 " >3 . Clickwrap Versioning</h4 >
3
3
<p >
4
4
This example shows how to create a new clickwrap version
5
5
</p >
8
8
<a target =' _blank' href =" https://developers.docusign.com/docs/click-api/reference/accounts/clickwraps/updateclickwrapversion/" >ClickWraps::updateClickwrapVersion</a >.
9
9
</p >
10
10
<p >
11
- View source file <a target =" _blank" href =" @ViewBag.source" >Eg05CreateNewClickwrapVersionController .cs</a > on GitHub.
11
+ View source file <a target =" _blank" href =" @ViewBag.source" >Eg03CreateNewClickwrapVersionController .cs</a > on GitHub.
12
12
</p >
13
13
14
14
@if (ViewBag .ClickwrapId != null )
Original file line number Diff line number Diff line change 1
- @model DocuSign .CodeExamples .Click .Controllers .Eg06RetrieveClickwrapsController
1
+ @model DocuSign .CodeExamples .Click .Controllers .Eg04RetrieveClickwrapsController
2
2
3
- <h4 id =" example06 " >6 . Retrieve Clickwraps</h4 >
3
+ <h4 id =" example04 " >4 . Retrieve Clickwraps</h4 >
4
4
<p >
5
5
This example shows how to get a list of clickwraps
6
6
</p >
9
9
<a target =' _blank' href =" https://developers.docusign.com/docs/click-api/reference/accounts/clickwraps/getclickwraps/" >ClickWraps::updateClickwrapVersion</a >.
10
10
</p >
11
11
<p >
12
- View source file <a target =" _blank" href =" @ViewBag.source" >Eg06RetrieveClickwrapsController .cs</a > on GitHub.
12
+ View source file <a target =" _blank" href =" @ViewBag.source" >Eg04RetrieveClickwrapsController .cs</a > on GitHub.
13
13
</p >
14
14
15
15
<form class =" eg" asp-action =" Retrieve" method =" post" data-busy =" form" >
Original file line number Diff line number Diff line change 1
- @model DocuSign .CodeExamples .Click .Controllers .Eg07GetClickwrapResponsesController
1
+ @model DocuSign .CodeExamples .Click .Controllers .Eg05GetClickwrapResponsesController
2
2
3
- <h4 id =" example07 " >7 . Get Clickwrap Responses</h4 >
3
+ <h4 id =" example05 " >5 . Get Clickwrap Responses</h4 >
4
4
<p >
5
5
This example shows how to get clickwrap responses
6
6
</p >
9
9
<a target =' _blank' href =" https://developers.docusign.com/docs/click-api/reference/accounts/clickwraps/getclickwrapagreements/" >ClickWraps::updateClickwrapVersion</a >.
10
10
</p >
11
11
<p >
12
- View source file <a target =" _blank" href =" @ViewBag.source" >Eg07GetClickwrapResponsesController .cs</a > on GitHub.
12
+ View source file <a target =" _blank" href =" @ViewBag.source" >Eg05GetClickwrapResponsesController .cs</a > on GitHub.
13
13
</p >
14
14
15
15
@if (ViewBag .ClickwrapId != null )
Original file line number Diff line number Diff line change 43
43
</p >
44
44
45
45
46
- <h4 id =" example03" >3. <a asp-action =" Get" asp-controller =" Eg05CreateNewClickwrapVersion " asp-area =" Click" >Clickwrap Versioning</a ></h4 >
46
+ <h4 id =" example03" >3. <a asp-action =" Get" asp-controller =" Eg03CreateNewClickwrapVersion " asp-area =" Click" >Clickwrap Versioning</a ></h4 >
47
47
<p >
48
48
This example shows how to create a new clickwrap version
49
49
</p >
52
52
<a target =' _blank' href =" https://developers.docusign.com/docs/click-api/reference/accounts/clickwraps/updateclickwrapversion/" >ClickWraps::updateClickwrapVersion</a >.
53
53
</p >
54
54
55
- <h4 id =" example04" >4. <a asp-action =" Get" asp-controller =" Eg06RetrieveClickwraps " asp-area =" Click" >Retrieve Clickwraps</a ></h4 >
55
+ <h4 id =" example04" >4. <a asp-action =" Get" asp-controller =" Eg04RetrieveClickwraps " asp-area =" Click" >Retrieve Clickwraps</a ></h4 >
56
56
<p >
57
57
This example shows how to get a list of clickwraps
58
58
</p >
61
61
<a target =' _blank' href =" https://developers.docusign.com/docs/click-api/reference/accounts/clickwraps/getclickwraps/" >ClickWraps::getClickwraps</a >.
62
62
</p >
63
63
64
- <h4 id =" example05" >5. <a asp-action =" Get" asp-controller =" Eg07GetClickwrapResponses " asp-area =" Click" >Get Clickwrap Responses</a ></h4 >
64
+ <h4 id =" example05" >5. <a asp-action =" Get" asp-controller =" Eg05GetClickwrapResponses " asp-area =" Click" >Get Clickwrap Responses</a ></h4 >
65
65
<p >
66
66
This example shows how to get clickwrap responses
67
67
</p >
You can’t perform that action at this time.
0 commit comments