Partner approval process by using REST API
The partner approval process is based on the value configured for the
doNotInvite
attribute.
The
doNotInvite
attribute is applicable only for PEM Portal
API. By default, the value is set to N or n.- If you set the value to Y or y, a registration invite is not sent to the partner, and the partner is automatically registered and approved.
- If you set the value to N or n, a registration invite (email) is sent to the partner from the Sponsor Administrator ID. In PEM Portal UI, the status of the partner is displayed as registration pending. After the partner registers, the partner gets automatically approved.
- If you do not provide the
doNotInvite
parameter in the REST API, by default, a registration invite is sent to the partner from the Sponsor Administrator ID.
Note: During the registration process, if the partner enters duplicate information, the
approval process is manual.
The following example explains the business use case:
When you run the Bulk Upload utility, all the records of the *.csv file are scanned and the
Create Partner REST API is called for creating partners. Based on the value set for the
doNotInvite
property, the partners are approved either automatically or manually.
If the *.csv file contains totally 50 records out of which for 30 records the value of
doNotInvite
is set to n and for 20 records the value is set
to y. In this scenario, a registration email is sent to 30 partners to
complete the registration process. After the partner registers, the partner gets automatically
approved. However, for the remaining 20 records, a registration email is not sent to the partners
and the partners are automatically approved and the partner details are created.