Closed alexander-durovich-swi closed 1 year ago
Some modifications have been made in the master branch.
As a developer, you can create and inherits one of the following class :
Override the method Handle
. This function returns a result of type GenericResult<T>
.
You can return custom error message like this :
return GenericResult<SCIMRepresentation>.Error(System.Net.HttpStatusCode.InternalServerError, "errorMessage", "scimType")
Hello,
Ok, I see, thank you very much!
Best Regards, Alex
Hello,
The current implementation of Internal[GET/DELETE/ADD/PATCH/UPDATE] methods in BaseApiController doesn't allow to return 403 status code. Is it possible to add such possibility, please? (Our provisioning service calls other internal services, and in some cases we should return 403 status code got from these internal services)
Is it possible to add the customizable possibility to return any status code?
Thank you in advance. Best Regards, Alex