Approvals Approvals for SOAP API Developers IWA Web Service Current: Creating Ad Hoc Approvals PDF Download PDF Download page Creating Ad Hoc Approvals. Current page All pages Creating Ad Hoc Approvals This API creates an ad hoc approval step. This API accepts Context Request ID and creates an approval step for it. APISignaturecreateAdhocApprovalwebService static Boolean createAdhocApproval(Id contextRequestId, String stepLabel, String assigneeType, Id assigneeId, String submissionComment, String relativeLocationToContext, List dependsOnContextRequestIdList, List dependsOnMeContextRequestIdList, Boolean sendEmail, Boolean notifyOnly)createAdhocApprovalRequest ParametersNameTypeRequired?DescriptioncontextRequestIdIDYesID of the context request in relation to which you want to create an approval step.stepLabelStringYesText label of the stepassigneeTypeStringYesType of the assignee. Assignee can be:UserRoleRelated UserQueueassigneeIDIDYesID of the assignee.submissionCommentStringYesComments for approval submission.relativeLocationToContextStringYesRelative location can be:BeforeAfterIn paralleldependsOnContextRequestIdListList<ID>YesList of request identifiers that the ad hoc approval depends on.dependsOnMeContextRequestIdListList<ID>YesList of request identifiers that depend on this ad hoc approval.sendEmailBooleanNoSet it as true to send an email request. The default value is true.notifyOnlyBooleanNoThe default value is false.Response ParameterNameTypeDescriptionresultBooleanThe API returns true when the ad hoc approval is created. ×