Skip to content

Commit c2e34e8

Browse files
committed
DEVDOCS-10554 - adding codeDepot markers
1 parent 26bb536 commit c2e34e8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/main/java/com/docusign/controller/eSignature/services/PermissionCreateService.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ public static PermissionProfile createNewProfile(
1616
) throws ApiException {
1717
// Step 3. Construct your request body
1818
// We're extending the AccountSettings class with AccountSettingsPatch to include the signingUIVersion which is missing in the swagger spec at this time.
19+
//ds-snippet-start:eSign24Step3
1920
Gson gson = new Gson();
2021
String signingUiVersion = "1";
2122
AccountRoleSettings settings = DsModelUtils.createDefaultRoleSettings();
@@ -24,8 +25,11 @@ public static PermissionProfile createNewProfile(
2425
PermissionProfile profile = new PermissionProfile()
2526
.permissionProfileName(permissionProfileName)
2627
.settings(newSettings);
28+
//ds-snippet-end:eSign24Step3
2729

2830
// Step 4. Call the eSignature REST API
31+
//ds-snippet-start:eSign24Step4
2932
return accountsApi.createPermissionProfile(accountId, profile);
33+
//ds-snippet-end:eSign24Step4
3034
}
3135
}

0 commit comments

Comments
 (0)