SAP Commissions Rest API allows 2 types of authentication i.e. Basic Authentication and JWT Token Authentication. Customer can choose any one type of authentication to make api calls from SAP Advanced workflow. This blog post will explain a sample of groovy script in SAP Advanced workflow to make api calls to SAP Commissions using basic authentication.
1) Create custom parameters in advanced workflow to Store commissions api endpoint url and credentials
Path: Set Up → DEVELOPMENT → Custom Parameters → Add New