l displayName is required.
l group's distinguishedName is required.
l minApprovalRequired is optional and defaults 1. Value cannot be greater than the number of
users in the group.
l automaticApproval is optional; if not present, defaults to false.If automaticApproval is true:
n automaticPeriodDuration (in days)is optional; if not present, defaults to 0. Valid value is
integer from 0 to 365.
n automaticApprovalDecision is required; valid value is APPROVED, or REJECTED.
Example request body:
<NamedGroupApprovalTemplate>
<displayName>Name Group Template 01</displayName>
<group>
<distinguishedName>
cn=ServiceConsumer,ou=ConsumerGroup,ou=CSAGroups
</distinguishedName>
</group>
<minApprovalRequired>0</minApprovalRequired>
<automaticApproval>true</automaticApproval>
<automaticApprovalDecision><automaticApprovalDecision>
<name>REJECTED</name>
</automaticApprovalDecision>
</NamedGroupApprovalTemplate>
In UserContextApprovalTemplate request body:
l displayName is required.
l automaticApproval is optional; if not present, defaults to false.If automaticApproval is set to
true:
n automaticPeriodDuration (in days)is optional; if not present, defaults to 0. Valid value is
integer from 0 to 365.
n automaticApprovalDecision is required; valid value is APPROVED, or REJECTED.
Example request body:
<UserContextApprovalTemplate>
<displayName>User ContextTemplate 01</displayName>
<automaticApproval>true</automaticApproval>
<automaticPeriodDuration>7</automaticPeriodDuration>
<automaticApprovalDecision>
<name>APPROVED</name>
</automaticApprovalDecision>
</UserContextApprovalTemplate>
In DelegatedApprovalTemplate request body:
l displayName is required.
l processDefinition is required, id is needed.
l automaticApproval is optional; if not present, defaults to false. If automaticApproval is set to
true:
APIReference
HP Cloud Service Automation (4.10) Page 108 of 150
Comentarios a estos manuales