You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For qualified supplier/manufacturer users, conditionally add a acceptTermsRequired flag to the PPR API GET /ppr/api/v1/user-profile response.
Check the token roles.
Create a query to verify the user has accepted the latest terms.
Inject a new acceptAgreementRequired boolean property set to true if the user has not accepted the latest service agreement version.
The new user profile property is absent if the user is not an MHR qualified supplier/manufacturer.
Example PPR API GET/mhr/api/v1/user-profile response:
{
"defaultDropDowns": true,
"defaultTableFilters": true,
"paymentConfirmationDialog": true,
"selectConfirmationDialog": true
}
The new property is present if the user is an MHR qualified supplier/manufacturer.
Example acceptance not required PPR API GET/mhr/api/v1/user-profile response:
{
"acceptAgreementRequired": false,
"defaultDropDowns": true,
"defaultTableFilters": true,
"paymentConfirmationDialog": true,
"selectConfirmationDialog": true
}
Example acceptance required PPR API GET/mhr/api/v1/user-profile response:
{
"acceptAgreementRequired": true,
"defaultDropDowns": true,
"defaultTableFilters": true,
"paymentConfirmationDialog": true,
"selectConfirmationDialog": true
}
The text was updated successfully, but these errors were encountered:
doug-lovett
changed the title
API - trigger UI to prompt acceptance of new terms version
PPR API - trigger UI to prompt acceptance of new terms version
Aug 8, 2023
doug-lovett
changed the title
PPR API - trigger UI to prompt acceptance of new terms version
PPR API - trigger UI to prompt acceptance of new service agreement terms version
Aug 14, 2023
For qualified supplier/manufacturer users, conditionally add a acceptTermsRequired flag to the PPR API GET /ppr/api/v1/user-profile response.
The new user profile property is absent if the user is not an MHR qualified supplier/manufacturer.
Example PPR API GET/mhr/api/v1/user-profile response:
{
"defaultDropDowns": true,
"defaultTableFilters": true,
"paymentConfirmationDialog": true,
"selectConfirmationDialog": true
}
The new property is present if the user is an MHR qualified supplier/manufacturer.
Example acceptance not required PPR API GET/mhr/api/v1/user-profile response:
{
"acceptAgreementRequired": false,
"defaultDropDowns": true,
"defaultTableFilters": true,
"paymentConfirmationDialog": true,
"selectConfirmationDialog": true
}
Example acceptance required PPR API GET/mhr/api/v1/user-profile response:
{
"acceptAgreementRequired": true,
"defaultDropDowns": true,
"defaultTableFilters": true,
"paymentConfirmationDialog": true,
"selectConfirmationDialog": true
}
The text was updated successfully, but these errors were encountered: