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.stepLableStringYesText label of the step.assigneeTypeStringYesType of the assignee. Assignee can be:UserRoleQueueRelated UserassigneeIDIDYesID 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 falseResponse ParameterNameTypeDescriptionresultBooleanThe API returns a true value if the ad-hoc approval is created successfully ×