getPermissionsApi method
Get PermissionsApi instance, base route and serializer can be overridden by a given but be careful, by doing that all interceptors will not be executed
Implementation
PermissionsApi getPermissionsApi() {
return PermissionsApi(dio, serializers);
}